Skip to content

Commit e89031a

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

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

pom.xml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@
122122
<dep.plugin.sortpom.version>4.0.0</dep.plugin.sortpom.version>
123123
<dep.plugin.cyclonedx.version>2.9.3</dep.plugin.cyclonedx.version>
124124
<dep.plugin.versions.version>2.21.0</dep.plugin.versions.version>
125+
<dep.plugin.figlet.version>1.0.0</dep.plugin.figlet.version>
125126

126127
<basepom.deploy.snapshot.url>https://central.sonatype.com/repository/maven-snapshots/</basepom.deploy.snapshot.url>
127128

@@ -332,6 +333,26 @@
332333

333334
<plugins>
334335

336+
<plugin>
337+
<groupId>io.github.spannm</groupId>
338+
<artifactId>figlet-maven-plugin</artifactId>
339+
<version>${dep.plugin.figlet.version}</version>
340+
<executions>
341+
<execution>
342+
<goals>
343+
<goal>render</goal>
344+
</goals>
345+
</execution>
346+
</executions>
347+
<configuration>
348+
<content><![CDATA[
349+
<lineBreak/><lineBreak/>
350+
<figletFont name="chunky">${project.name}</figletFont>
351+
<preserveWhitespace> v${project.version}</preserveWhitespace><lineBreak/>
352+
]]></content>
353+
</configuration>
354+
</plugin>
355+
335356
<plugin>
336357
<!-- central-publishing-maven-plugin is the official tool for publishing artifacts to the new Sonatype Central Portal -->
337358
<groupId>org.sonatype.central</groupId>

0 commit comments

Comments
 (0)