Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
3.0.0
-
None
-
None
Description
Currently dependency plugin in copy-dependencies goal has an useBaseVersion option that defaults to true to force it to us unique versions for snapshots.
This default behavior is different to default behavior of jar/archiver plugin where you have useUniqueVersions option that defaults to true
Similarly Assembly plugin also by default uses unique versions that you can override by outputFileNameMapping element.
To sum up, it should be more user friendly for all ASF Maven plugins to share the same default settings regarding unique/base versioning. Otherwise ASF plugins would not produce self compatible output by default.
*Example:* If you use jar plugin to create jar manifest with classpath and dependency plugin to provide those classpath dependencies classpath dependency names will not match the ones copied by the dependency plugin unless you explicitly disable useBaseVersions