Skip to content

Commit 02ebbf3

Browse files
committed
whoops, fix
1 parent 7c2bea0 commit 02ebbf3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/pl/project13/maven/git/GitCommitIdMojo.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public class GitCommitIdMojo extends AbstractMojo {
120120
* Specifies whether the execution in pom projects should be skipped.
121121
* Override this value to false if you want to force the plugin to run on 'pom' packaged projects.
122122
*
123-
* @parameter default-value="true"
123+
* @parameter parameter="git.skipPoms" default-value="true"
124124
*/
125125
@SuppressWarnings("UnusedDeclaration")
126126
private boolean skipPoms;
@@ -285,7 +285,7 @@ public void execute() throws MojoExecutionException {
285285
return;
286286
}
287287

288-
if (isPomProject(project)) {
288+
if (isPomProject(project) && skipPoms) {
289289
log("isPomProject is true and skipPoms is true, return");
290290
return;
291291
}

0 commit comments

Comments
 (0)