Affects Version/s: 2.4
Fix Version/s: 3.0.0
The source:jar mojo explicitly prevents the Maven descriptor from being added to the produced -sources.jar file.
I could not find an explanation or technical reason why this is done.
Adding the maven descriptor to the source jar can help expose valuable information about the build that produced it.
- allow the archiver used to create the source jar to respect the plexus archiver configuration if it is configured to include the Maven descriptor.
- preserve the default behaviour of not including the Maven descriptor, for (unknown) backwards compatibility reasons only