This plug-in builds an archive of the source code. It is based on the maven.compile.src.set property so every directory specified in this property is used to generate the source archive.
The generated source archive will be deployed at
For more information on the functionality provided by this plugin, please see the Goals document.
For more information on how to customise the functionality provided by this plugin, please see the properties document.
Similarly to the plugin plugin, the source plugin is able to download a source archive from the configured repository(ies). The following parameters might be set at runtime:
maven source:download -DartifactId=someArtifact -DgroupId=theGroup -Dversion=1.0.0-SNAPSHOT -DbackwardCompatible=true