If I add the following to my Maven plugin configuration it still executes the
plugin goal.
Is there something I need to do in the Mojo code to obey the skip flag?

            <plugin>
                <groupId>com.my.maven.plugins</groupId>
                <artifactId>my-maven-plugin</artifactId>
                <version>1.0-SNAPSHOT</version>
                <configuration>
                    <skip>true</skip>
                </configuration>
                <executions>
                    <execution>
                        <id>some-goal</id>
                        <phase>pre-integration-test</phase>
                        <goals>
                            <goal>some-goal</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>



--
View this message in context: 
http://maven.40175.n5.nabble.com/How-can-I-get-my-Mojo-to-skip-tp5791779.html
Sent from the Maven Developers mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to