5

Custom Maven Plugin: Override default build lifecycle

 2 years ago
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.
neoserver,ios ssh client

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

Generate the project using archetype

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK