To bundle your project with a source JAR, execute the following command:
JavaDoc is generated and packaged adequately:
After executing the above commands, you will find the JARs in the target directory:
mvn javadoc:javadoc javadoc:jar
JavaDoc and source attachment does not have to be performed on each build. Using maven plugins with lifecycle hooks for this purpose will lead to slower builds and infrequent integrations.After
mvn install, the source and javadoc can be easily referenced by other projects.
Cloudy Jakarta EE and MicroProfile: Microservices, Clouds and Beyond Jakarta EE / MicroProfile airhacks workshops at MUC airport, Winter Edition
airhacks.fm the podcast:
Stay in touch: airhacks.news.