eo.skip option for eo-maven-plugin
Let's introduce eo.skip option for our Maven plugin. So that it would be possible to do this in XML:
<configuation>
<skip>true</skip>
</configuration>
Also, from command line:
$ mvn -Deo.skip
@mximp should be pretty easy to implement, please help
@yegor256 what should it skip?
@mximp the execution of a mojo. Just return and that's it, if the flag is set.
@OlesiaSub please assist with this.
@mximp @yegor256 could you please give a more detailed explanation of the idea or maybe an example of what should happen? I didn't quite get it.
@OlesiaSub If you check pom.xml in eo-runtime module you will see eo-maven-plugin configuration.
It's required to be able to supply <skip/> option in configuration to suppress execution of plugin goals. Defaulted to false.
All plugin logic is in eo-maven-plugin module. Please check SafeMojo class which is common for all plugin goals.
I believe skip option check can be placed there.
@mximp thanks!
Just to clarify, should skip option suppress execution of all goals at once or should it be specific for particular goals?
@OlesiaSub Execution of all goals
@yegor256 all is done. The task can be closed.
@mximp @OlesiaSub thanks!