Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.5.1
-
None
-
Patch
Description
It should be possible to copy dependencies with their baseVersion.
Currently the version used for snapshots is the resolvedVersion (timestamped version) org.apache.maven.artifact.DefaultArtifact.setResolvedVersion(String) which may be the timestamped snapshot version.
When calling copy-dependencies I expect snapshots to have the snapshot version org.apache.maven.artifact.DefaultArtifact.getBaseVersion().
The attached patch introduces a new parameter 'useBaseVersion' which, if selected, sets the base version in the copied artifact's names.
Attachments
Attachments
Issue Links
- relates to
-
MDEP-384 build-classpath should be able to use the artifact's baseVersion
- Closed