We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c2bea0 commit 02ebbf3Copy full SHA for 02ebbf3
1 file changed
src/main/java/pl/project13/maven/git/GitCommitIdMojo.java
@@ -120,7 +120,7 @@ public class GitCommitIdMojo extends AbstractMojo {
120
* Specifies whether the execution in pom projects should be skipped.
121
* Override this value to false if you want to force the plugin to run on 'pom' packaged projects.
122
*
123
- * @parameter default-value="true"
+ * @parameter parameter="git.skipPoms" default-value="true"
124
*/
125
@SuppressWarnings("UnusedDeclaration")
126
private boolean skipPoms;
@@ -285,7 +285,7 @@ public void execute() throws MojoExecutionException {
285
return;
286
}
287
288
- if (isPomProject(project)) {
+ if (isPomProject(project) && skipPoms) {
289
log("isPomProject is true and skipPoms is true, return");
290
291
0 commit comments