Chapter 6. Release and Distribute

Until now, we have dealt with the artifacts on which your project does depend on. In this chapter, we will broaden the horizon and see your project as a released and depended on one.

We will review miscellaneous tips, tools, how-tos, and best practices. These might not always be 100 percent-Maven focused, however, that will improve your productivity and efficiency.

Best practices before release

Here are some pieces of advice, which are quite obvious, however, people tend to ignore them:

  • Firstly, clean the POM, regularly. Frequency depends on your context, but cleanup should be performed at least once per release. The cleanup should deal with conflicts of dependencies, removal of unused JARs, version upgrade, and so ...

Get Apache Maven Dependency Management now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.