-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
With PR #129 it is now possible to define Maven plugins that can be executed during the build of the master build.
However when this Maven plugin has different executions then all executions are executed.
Suggestion:
Introduces the configuration options retainExecutions.
The retainExecutions is a list of strings. Each string has the format <groupId>:<artifactId>:<excutionId>
All Executions that are not defined in this options are not executed during the master build.
Example:
<plugin>
<groupId>com.e-gineering</groupId>
<artifactId>gitflow-helper-maven-plugin</artifactId>
<configuration>
<retainExecutions>
<retainExecution>org.codehaus.mojo:flatten-maven-plugin:flatten-in-master</retainExecution>
</retainExecutions>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<executions>
<execution>
<id>flatten-in-master</id>
<goals>
<goal>flatten</goal>
</goals>
<phase>process-resources</phase>
</execution>
<id>flatten-other</id>
<goals>
<goal>flatten</goal>
</goals>
<phase>process-resources</phase>
</execution>
</executions>
</plugin>Metadata
Metadata
Assignees
Labels
No labels