Hi, The Maven team is pleased to announce the release of the Maven Source Plugin, version 2.1.1
The Source Plugin creates a jar archive of the source files of the current project. http://maven.apache.org/plugins/maven-source-plugin/ You should specify the version in your project's plugin configuration: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>2.1.1</version> </plugin> Release Notes - Maven 2.x Souce Plugin - Version 2.1.1 ** Bugs fixed : * [MSOURCES-44] - If project doesn't contain sources (contains only test sources) source:jar will fail * [MSOURCES-47] - test-jar goal fails if no source files exist Enjoy, -The Maven team # Arnaud Héritier # Software Factory Manager # eXo Platform # http://www.exoplatform.com # http://blog.aheritier.net