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

Custom plugin – mantis-maven-plugin

In order to deepen all the concepts described earlier, we will expose a real-world experience. We will build up a plugin for automating the publication process of our transportation project.

Referring to the problem introduced in the beginning of this chapter, we move forward to its implementation.

Custom plugin implementations

In order to resolve this automation problem, we implemented a plugin named mantis-maven-plugin. Whenever a build is performed, our plugin queries for the release version of project ID that is passed through configurations. Once it resolves the project, it gets all the resolved issues related to the project and marks them as released in that build version.

Our plugin performs all these operations ...

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