Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.2.0.2
-
Fix Version/s: 1.4.0
-
Component/s: None
-
Labels:None
-
Environment:Solaris 10
Description
(This may be related to NEXUS-1332 as it is on an artifact affected by it)
(Artifact names changed to protect the innocent)
groupId: group.id
artifactId: artifactID.$
version: 14.0.0-SNAPSHOT
Artifact was deployed with target=main, so we are looking at directory group/id/artifactID.main/14.0.0-SNAPSHOT
The most recent build in this directory is:
artifactID.main-14.0.0-20090106.195709-143.zip
maven-metadata.xml generated by Rebuild Maven Metadata within this directory reads:
<metadata>
<groupId>group.id</groupId>
<artifactId>artifactID.${target}
</artifactId> (I believe this should read artifactID.main instead, see NEXUS-1332)
<version>14.0.0-SNAPSHOT</version>
<versioning>
<snapshot>
<timestamp>6.195709</timestamp> (should read 20090106.195709)
<buildNumber>143</buildNumber>
</snapshot>
<lastUpdated>20090107162705</lastUpdated> (this matches when I last ran Rebuild Maven Metadata in GMT)
</versioning>
</metadata>
This causes the Maven client to go looking for http://mynexusURL/groups/mygroupname/group/id/artifactID.main/14.0.0-SNAPSHOT/artifactID.main-14.0.0-6.195709-143.zip which doesn't exist (6. should be 20090106. instead) and fail.