Skip to content

Commit 0bbc70b

Browse files
committed
build(pom): add figlet-maven-plugin for banner generation
1 parent 79fb155 commit 0bbc70b

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
@@ -113,6 +113,7 @@
113113
<dep.plugin.sortpom.version>4.0.0</dep.plugin.sortpom.version>
114114
<dep.plugin.cyclonedx.version>2.9.3</dep.plugin.cyclonedx.version>
115115
<dep.plugin.versions.version>2.21.0</dep.plugin.versions.version>
116+
<dep.plugin.figlet.version>1.0.0</dep.plugin.figlet.version>
116117

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

@@ -315,6 +316,26 @@
315316

316317
<plugins>
317318

319+
<plugin>
320+
<groupId>io.github.spannm</groupId>
321+
<artifactId>figlet-maven-plugin</artifactId>
322+
<version>${dep.plugin.figlet.version}</version>
323+
<executions>
324+
<execution>
325+
<goals>
326+
<goal>render</goal>
327+
</goals>
328+
</execution>
329+
</executions>
330+
<configuration>
331+
<content><![CDATA[
332+
<lineBreak/><lineBreak/>
333+
<figletFont name="slant">${project.name}</figletFont>
334+
<preserveWhitespace> v${project.version}</preserveWhitespace><lineBreak/>
335+
]]></content>
336+
</configuration>
337+
</plugin>
338+
318339
<plugin>
319340
<!-- central-publishing-maven-plugin is the official tool for publishing artifacts to the new Sonatype Central Portal -->
320341
<groupId>org.sonatype.central</groupId>

0 commit comments

Comments
 (0)