Custom Maven Plugin: Override default build lifecycle
source link: https://carlosvin.github.io/langs/en/posts/creating-custom-maven-plugin-default/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Custom Maven Plugin: Override default build lifecycle
How to create a custom Maven plugin which overrides default build lifecycle
I have created another example to demonstrate how to override default Maven build lifecycle. Default build lifecycle is used to construct your software project, for example, it is executed when you run mvn install
in a jar
type project.
You can find source code example at https://github.com/carlosvin/lifecycle-maven-plugin.
I’ve also created an archetype so you can easily play with the example. |
Create an example project
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK