Skip to content

Commit b7f7e7e

Browse files
committed
build(pom): add figlet-maven-plugin for banner generation
1 parent d77a94c commit b7f7e7e

1 file changed

Lines changed: 19 additions & 3 deletions

File tree

pom.xml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,6 @@
151151
<dep.plugin.surefire.version>3.5.6</dep.plugin.surefire.version>
152152
<dep.plugin.versions.version>2.21.0</dep.plugin.versions.version>
153153

154-
<sonar.coverage.jacoco.xmlReportPaths>${project.build.directory}/site/jacoco/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
155-
156154
<surefireArgLine /> <!-- placeholder; overridden by jacoco-prepare-agent -->
157155
</properties>
158156

@@ -248,6 +246,23 @@
248246

249247
<plugins>
250248

249+
<plugin>
250+
<groupId>io.github.spannm</groupId>
251+
<artifactId>figlet-maven-plugin</artifactId>
252+
<version>1.0.0-SNAPSHOT</version>
253+
<configuration>
254+
<content><![CDATA[
255+
<lineBreak/><lineBreak/><lineBreak/><lineBreak/>
256+
<figletFont name="chunky">${project.dist.name}</figletFont><lineBreak/>
257+
<figletFont name="graceful">${project.version}</figletFont><lineBreak/>
258+
<preserveWhitespace> built by ${user.name}
259+
260+
</preserveWhitespace>
261+
<lineBreak/>
262+
]]></content>
263+
</configuration>
264+
</plugin>
265+
251266
<plugin>
252267
<groupId>org.apache.maven.plugins</groupId>
253268
<artifactId>maven-compiler-plugin</artifactId>
@@ -544,7 +559,8 @@
544559
org.apache.maven.plugins:maven-deploy-plugin,
545560
org.apache.maven.plugins:maven-install-plugin,
546561
org.apache.maven.plugins:maven-resources-plugin,
547-
org.apache.maven.plugins:maven-site-plugin
562+
org.apache.maven.plugins:maven-site-plugin,
563+
io.github.spannm:figlet-maven-plugin
548564
</unCheckedPluginList>
549565
</requirePluginVersions>
550566
</rules>

0 commit comments

Comments
 (0)