File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/pl/project13/maven/git Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments