ok this seems pretty clear. ivy doesn't appear to be considering the packaging type of the maven2 dependency ... in this case, it's WAR, but ivy is clearly finding the POM, but looking for a JAR dependency instead ... ???
[ivy:install] tried https://portal.dev.java.net/nonav/repository/com/sun/portal/rssportlet/1.1/rssportlet-1.1.pom [ivy:install] portal-maven2: found md file for [ com.sun.portal | rssportlet | 1.1 ] [ivy:install] => https://portal.dev.java.net/nonav/repository/com/sun/portal/rssportlet/1.1/rssportlet-1.1.pom (1.1) [ivy:install] portal-maven2: downloading https://portal.dev.java.net/nonav/repository/com/sun/portal/rssportlet/1.1/rssportlet-1.1.pom [ivy:install] portal-maven2: downloading https://portal.dev.java.net/nonav/repository/com/sun/portal/rssportlet/1.1/rssportlet-1.1.pom.sha1 [ivy:install] sha1 OK for https://portal.dev.java.net/nonav/repository/com/sun/portal/rssportlet/1.1/rssportlet-1.1.pom [ivy:install] found [ com.sun.portal | rssportlet | 1.1 ] in portal-maven2 [ivy:install] :: downloading artifacts to cache :: [ivy:install] tried https://portal.dev.java.net/nonav/repository/com/sun/portal/rssportlet/1.1/rssportlet-1.1.jar [ivy:install] CLIENT ERROR: Not Found url=https://portal.dev.java.net/nonav/repository/com/sun/portal/rssportlet/1.1/rssportlet-1.1.jar [ivy:install] WARN: [NOT FOUND ] [ com.sun.portal | rssportlet | 1.1 ]/rssportlet.jar[jar] [ivy:install] WARN: ==== portal-maven2: tried [ivy:install] WARN: https://portal.dev.java.net/nonav/repository/com/sun/portal/rssportlet/1.1/rssportlet-1.1.jar [ivy:install] :: installing in private :: [ivy:install] installing [ com.sun.portal | rssportlet | 1.1 ] [ivy:install] missing artifact [ com.sun.portal | rssportlet | 1.1 ]/rssportlet.jar[jar]: [ivy:install] /home/jtb/src/ps.Portal_7_2_OSS_branch/dependencies/../dependencies/cache/com.sun.portal/rssportlet/jars/rssportlet-1.1.jar file does not exist [ivy:install] published ivy to ../dependencies/private-repository/com.sun.portal/rssportlet/ivys/ivy-1.1.xml [ivy:install] :: install resolution report :: --------------------------------------------------------------------- | | modules || artifacts | | conf | number| search|dwnlded|evicted|| number|dwnlded| --------------------------------------------------------------------- | default | 1 | 1 | 0 | 0 || 1 | 0 | --------------------------------------------------------------------- [ivy:install] WARN: :::::::::::::::::::::::::::::::::::::::::::::: [ivy:install] WARN: :: FAILED DOWNLOADS :: [ivy:install] WARN: :: ^ see resolution messages for details ^ :: [ivy:install] WARN: :::::::::::::::::::::::::::::::::::::::::::::: [ivy:install] WARN: :: [ com.sun.portal | rssportlet | 1.1 ]/rssportlet.jar[jar] ----- Original Message ---- From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: [email protected] Sent: Friday, May 11, 2007 1:11:25 PM Subject: Re: resolving maven snapshot versions okay i see the first problem. the artifact in the maven repo is a WAR file, but ivy is looking for a JAR file, [ivy:install] tried https://portal.dev.java.net/nonav/repository/com/sun/portal/rssportlet/1.1-SNAPSHOT/rssportlet-1.1-SNAPSHOT.jar [ivy:install] CLIENT ERROR: Not Found url=https://portal.dev.java.net/nonav/repository/com/sun/portal/rssportlet/1.1-SNAPSHOT/rssportlet-1.1-SNAPSHOT.jar the pattern i am using in my resolver is ... https://portal.dev.java.net/nonav/repository/[organisation]/[module]/[revision]/[artifact]-[revision].[ext] using a url resolve, with m2compat set to true. ??? ----- Original Message ---- From: jeff <[EMAIL PROTECTED]> To: ivy users <[email protected]> Sent: Friday, May 11, 2007 11:37:23 AM Subject: resolving maven snapshot versions i am trying to resolve a dependency that is installed as a maven2 snapshot version (1.1-SNAPSHOT). by default, that doesn't seem to work. i imagine this has something to do w/ specifying a matcher on the ivy:install task, but it isn't obvious what i need to do here. i suppose it also might have to do w/ the pattern used on the resolver ... ? ??? thanks. ____________________________________________________________________________________Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC ____________________________________________________________________________________Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase. http://farechase.yahoo.com/ ____________________________________________________________________________________Give spam the boot. Take control with tough spam protection in the all-new Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_html.html
