O'Reilly logo

Maven Build Customization by Giacomo Veneri, Riccardo Giomi, Umberto Antonio Cicero, Roberto Baldi, Lorenzo Anardu

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Developing a new plugin

For the development of a Java Maven plugin, we will use the same tool chain we presented in Chapter 1, Maven and Its Philosophy.

Using Eclipse's utility, we can create a new project with Maven archetype. So, we obtain a skeleton for the new Maven plugin project. This is a good starting point for our project. Perform the following steps:

  1. First of all, we will create a new Eclipse project as a new Maven project from the menu, as shown in the following screenshot:
    Developing a new plugin
  2. Then, we can choose the location for our project and click on Next:
  3. Now, we have to select the artifact type for our project. First, we choose Nexus Indexer, then we select ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required