Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.2.1
-
Fix Version/s: 2.6
-
Component/s: deploy:deploy
-
Labels:None
-
Environment:windows xp
-
Number of attachments :
Description
I have a module that deploys 2 artifacts,1 jar and 1 of them is custom type. The build number from the snapshot name is different for the 2 (in the repository). It get incremented every time an artifact is deployed. When I try to make a local build it searches for the highest build number, and tries to bring both the artifacts with the latest build number but only one of them has that number.
I found a workaround for this by <uniqueVersion>false</uniqueVersion> for the snapshotRepository.
An example POM or at least the relevant lines from the log output where Maven prints what it deploys would be helpful.