Change By: Raphaël UNIQUE (14/Nov/14 4:18 PM)
Description: [~imod]

Job fails after Repository Connector Plugin upgrade (*0.8.2* -> *1.0.1*); please note that same artifact (with same artifact version) is resolved as expected with *0.8.2*.

Log:
{noformat}
   ...
   INFO: define repo: [Repository id=nexus-xxx, type=default, url="">   Resolving metadata com.xxx.soa:bam:1.0.5-SNAPSHOT/maven-metadata.xml from /tmp/repositoryconnector-repo (enhanced)
   Resolved metadata com.xxx.soa:bam:1.0.5-SNAPSHOT/maven-metadata.xml from /tmp/repositoryconnector-repo (enhanced)
   Resolving artifact com.xxx.soa:bam:pom:1.0.5-SNAPSHOT
   Resolving metadata com.xxx.soa:bam:1.0.5-SNAPSHOT/maven-metadata.xml from /tmp/repositoryconnector-repo (enhanced)
   Resolved metadata com.xxx.soa:bam:1.0.5-SNAPSHOT/maven-metadata.xml from /tmp/repositoryconnector-repo (enhanced)
   Downloading: http://nexus.xxx.com/nexus/content/groups/public/com/xxx/soa/bam/1.0.5-SNAPSHOT/bam-1.0.5-SNAPSHOT.pom
   
   class org.apache.maven.wagon.ResourceDoesNotExistException: Unable to locate resource in repository
   Resolved artifact com.xxx.soa:bam:pom:1.0.5-SNAPSHOT from null
   Missing artifact descriptor for com.xxx.soa:bam:war:1.0.5-SNAPSHOT
   Resolving artifact com.xxx.soa:bam:war:1.0.5-SNAPSHOT
   Resolving metadata com.xxx.soa:bam:1.0.5-SNAPSHOT/maven-metadata.xml from /tmp/repositoryconnector-repo (enhanced)
   Resolved metadata com.xxx.soa:bam:1.0.5-SNAPSHOT/maven-metadata.xml from /tmp/repositoryconnector-repo (enhanced)
   Downloading: http://nexus.xxx.com/nexus/content/groups/public/com/xxx/soa/bam/1.0.5-SNAPSHOT/bam-1.0.5-SNAPSHOT.war

   class org.apache.maven.wagon.ResourceDoesNotExistException: Unable to locate resource in repository
   Resolved artifact com.xxx.soa:bam:war:1.0.5-SNAPSHOT from null
   ...
{noformat}

the url used return a 404 error: http://nexus.xxx.com/nexus/content/groups/public/com/xxx/soa/bam/1.0.5-SNAPSHOT/bam-1.0.5-SNAPSHOT.pom

if i look at: http://nexus.xxx.com/nexus/content/groups/public/com/xxx/soa/bam/1.0.5-SNAPSHOT/maven-metadata.xml, i have:
{noformat}
<metadata modelVersion="1.1.0">
    <groupId>com.
stef xxx .soa</groupId>
    <artifactId>bam</artifactId>
    <version>1.0.5-SNAPSHOT</version>
    <versioning>
        <snapshot>
            <timestamp>20141112.110743</timestamp>
            <buildNumber>5</buildNumber>
        </snapshot>
        <lastUpdated>20141112110743</lastUpdated>
        <snapshotVersions>
            <snapshotVersion>
                <extension>war</extension>
                <value>1.0.5-20141112.110743-5</value>
                <updated>20141112110743</updated>
            </snapshotVersion>
            <snapshotVersion>
                <extension>pom</extension>
                <value>1.0.5-20141112.110743-5</value>
                <updated>20141112110743</updated>
            </snapshotVersion>
        </snapshotVersions>
    </versioning>
</metadata>
{noformat}

so, the url used to download the pom should be:
http://nexus.xxx.com/nexus/content/groups/public/com/xxx/soa/bam/1.0.5-SNAPSHOT/bam-1.0.5-20141112.110743-5.pom
instead of 
http://nexus.xxx.com/nexus/content/groups/public/com/xxx/soa/bam/1.0.5-SNAPSHOT/bam-1.0.5-SNAPSHOT.pom

that's the same for the war file
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to