Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0
-
Fix Version/s: 2.3
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
When the POM contains dependencies to snapshot versions of jars, and snapshot versions of those jars are downloaded from a remote repository, the name of the jar contained in the classpath added to the manifest, of the form artifactID-X.X-SNAPSHOT.jar, does not match the actual name of the jar downloaded, which contains version information of the form artifactID-X.X-YYYYMMDD.HHmmss-V.jar.
This does not affect snapshot versions which have been directly installed into a local repository and have no uploaded version within the remote repository, as these jars are named using the artifactID-X.X-SNAPSHOT.jar form.
Attachments
Issue Links
| This issue relates to: | ||||
| MDEPLOY-57 | <uniqueVersion>false</uniqueVersion> not honored inside <profile> |
|
|
|
| MASSEMBLY-67 | assembling dependent jars or snapshots uses timestamp formatted version instead of ${version} |
|
|
|
| This issue is related to: | ||||
| MASSEMBLY-211 | assembly plugin and jar plugin disagree about whether to use uniqueVersion snapshot names |
|
|
|
| MSHARED-36 | Maven Archiver creates incorrect Class-Path entry in Manifest for deployed snapshots |
|
|
|
| MSHARED-32 | Customization of jar-name pattern of classpath-entries inside MANIFEST.MF |
|
|
|
This issue really comes into play when using the assembly plugin as the assembly plugin bundles the jar in the artifactID-X.X-YYYYMMDD-HHmmss-V.jar form.