KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a maven plugin that should run in the compile phase, so in the project that consumes my plugin, I have to do something like this: <executions> <execution> <phase>compile</phase> <goals> <goal>my-goal</goal> </goals> </execution> </executions> What I need is to by default attach my-goal to the compile phase if the user has included my plugin already (ideally the above part wouldn't be necessary, just the plugin declaration). Is this possible?
Tags (comma-separated)
Save Edits
Cancel