Generate source code Jar for Maven 2 based project

Some case, you need to generate source code from your project which is maven 2 based.

Please have a look to maven-source plugin by adding a short code below into your pom.xml


By default it will generate jar named as: ${project.artifactId}-${project.version}-source.jar

Published by osify

Find us via: Twitter, Facebook

Join the Conversation

1 Comment

Leave a comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.