Skip to content

Commit 0ea998b

Browse files
author
Henning Schmiedehausen
committed
Add a help mojo.
This adds an additional goal to the plugin: help mvn pl.project13.maven:git-commit-id-plugin:2.1.8-SNAPSHOT:help displays an overview of the plugin and its function. mvn -Ddetail=true -Dgoal=revision pl.project13.maven:git-commit-id-plugin:2.1.8-SNAPSHOT:help displays detailed help for the revision goal.
1 parent 0f3aeef commit 0ea998b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,22 @@
232232
</configuration>
233233
</plugin>
234234

235+
<plugin>
236+
<artifactId>maven-plugin-plugin</artifactId>
237+
<version>3.2</version>
238+
<executions>
239+
<execution>
240+
<id>generated-helpmojo</id>
241+
<goals>
242+
<goal>helpmojo</goal>
243+
</goals>
244+
<configuration>
245+
<goalPrefix>git-commit-id</goalPrefix>
246+
<helpPackageName>pl.project13.maven</helpPackageName>
247+
</configuration>
248+
</execution>
249+
</executions>
250+
</plugin>
235251
</plugins>
236252
</build>
237253

0 commit comments

Comments
 (0)