The Maven team is pleased to announce the release of the Maven Source
Plugin, version 2.0.1.
http://maven.apache.org/plugins/maven-source-plugin/
The Maven Source Plugin packages JARs from your Java source code, for
use inside IDEs.
You can run mvn -U to get the latest version of the plugin, or specify
the version in your project's plugin configuration:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.0.1</version>
</plugin>
Changes:
http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11147&styleName=Text&version=12492
* [MSOURCES-1] - No resources directory is present in the generated jar
* [MSOURCES-2] - Maven Sources Plugin should be able to distribute test
sources as well as main sources