Reputation: 21275
I'm using this maven plugin:
<groupId>de.saumya.mojo</groupId>
<artifactId>gem-maven-plugin</artifactId>
I want to be able to pass in a parameter to skip the execution of the specified goal. (e.g. mvm install -skipGemPlugin=true
)
How do I do that?
Upvotes: 2
Views: 4827
Reputation: 1
If you call "bin" to your assembly.xml and in pom.xml put
<descriptorRefs>
<descriptorRef>bin</descriptorRef>
</descriptorRefs>
the plugin use a default assembly definition named "bin" and it annoys you!
SOLUTION: Remove bin and curses its creators
Upvotes: 0
Reputation: 21275
I ended up creating a separate profile to run tomcat and skips the goal execution:
<profile>
<id>foo</id>
<build>
<plugins>
<plugin>
<groupId>de.saumya.mojo</groupId>
<artifactId>gem-maven-plugin</artifactId>
<executions>
<execution>
<id>compassProcessSource</id>
<phase>none</phase>
</execution>
</executions>
...
Upvotes: 4