ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Benson (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (IVY-1036) latest.integration isn't resolved against a maven snapshot repository
Date Mon, 15 Oct 2012 20:39:03 GMT

    [ https://issues.apache.org/jira/browse/IVY-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13476376#comment-13476376
] 

Matt Benson edited comment on IVY-1036 at 10/15/12 8:37 PM:
------------------------------------------------------------

What happens is that the timestamp reading stuff is never triggered for {{latest.integration}}.
 Since Maven 3 only allows deploying snapshots with timestamps this is quite important for
interoperability (i.e. the {{uniqueVersion false}} approach will not work for artifacts deployed
thus).
                
      was (Author: mbenson):
    What happens is that the timestamp reading stuff is never triggered for latest.integration
(or any other version when reading the POM so far as I can tell).  Since Maven 3 only allows
deploying snapshots with timestamps this is quite important for interoperability.
                  
> latest.integration isn't resolved against a maven snapshot repository
> ---------------------------------------------------------------------
>
>                 Key: IVY-1036
>                 URL: https://issues.apache.org/jira/browse/IVY-1036
>             Project: Ivy
>          Issue Type: New Feature
>    Affects Versions: 2.0
>            Reporter: Carlo de Wolf
>              Labels: patch
>         Attachments: MavenSnapshotResolver.java
>
>
> When latest.integration is the requested revision the ibiblio resolver doesn't go through
the snapshots. So in effect you'll always end up with the latest.release.
> Given the following ivysettings:
> {code:title=ivysettings.xml}
> <ivysettings>
>    <settings defaultResolver="snapshots.jboss.org"/>
>    <resolvers>
>       <ibiblio name="snapshots.jboss.org" m2compatible="true" usepoms="true" root="http://snapshots.jboss.org/maven2"/>
>    </resolvers>
> </ivysettings>
> {code}
> Ivy won't go through the unique snapshot versions:
> {noformat}
> 	listing revisions from maven-metadata: http://snapshots.jboss.org/maven2/org/jboss/ejb3/jboss-ejb3-cache/maven-metadata.xml
> 	found revs: [0.13.1-SNAPSHOT, 1.0.1-SNAPSHOT]
> HTTP response status: 404 url=http://snapshots.jboss.org/maven2/org/jboss/ejb3/jboss-ejb3-cache/0.13.1-SNAPSHOT/jboss-ejb3-cache-0.13.1-SNAPSHOT.pom
> CLIENT ERROR: Not Found url=http://snapshots.jboss.org/maven2/org/jboss/ejb3/jboss-ejb3-cache/0.13.1-SNAPSHOT/jboss-ejb3-cache-0.13.1-SNAPSHOT.pom
> HTTP response status: 404 url=http://snapshots.jboss.org/maven2/org/jboss/ejb3/jboss-ejb3-cache/1.0.1-SNAPSHOT/jboss-ejb3-cache-1.0.1-SNAPSHOT.pom
> CLIENT ERROR: Not Found url=http://snapshots.jboss.org/maven2/org/jboss/ejb3/jboss-ejb3-cache/1.0.1-SNAPSHOT/jboss-ejb3-cache-1.0.1-SNAPSHOT.pom
> {noformat}
> With the maven-snapshot-resolver it will:
> {code:title=ivysettings.xml}
> <ivysettings>
>    <typedef name="maven-snapshot-resolver" classname="org.jboss.ejb3.ivy.plugins.resolver.MavenSnapshotResolver"/>
>    <settings defaultResolver="snapshots.jboss.org"/>
>    <resolvers>
>       <maven-snapshot-resolver name="snapshots.jboss.org" m2compatible="true" usepoms="true"
root="http://snapshots.jboss.org/maven2"/>
>    </resolvers>
> </ivysettings>
> {code}
> {noformat}
> 	listing revisions from maven-metadata: http://snapshots.jboss.org/maven2/org/jboss/ejb3/jboss-ejb3-cache/maven-metadata.xml
> 	found revs: [0.13.1-SNAPSHOT, 1.0.1-SNAPSHOT]
> 	snapshots.jboss.org: found md file for org.jboss.ejb3#jboss-ejb3-cache;latest.integration
> 		=> http://snapshots.jboss.org/maven2/org/jboss/ejb3/jboss-ejb3-cache//1.0.1-SNAPSHOT/jboss-ejb3-cache-1.0.1-20090303.040911-22.pom
(1.0.1-20090303.040911-22)
> {noformat}

--
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

Mime
View raw message