You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-commits@incubator.apache.org by "Xavier Hanin (JIRA)" <ji...@apache.org> on 2007/05/12 10:39:15 UTC
[jira] Resolved: (IVY-500) packaging data not parsed in maven 2 pom
[ https://issues.apache.org/jira/browse/IVY-500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xavier Hanin resolved IVY-500.
------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0-alpha-2
I've applied your patch and added a unit test, which now passes successfully.
Thanks a lot for your contribution!
> packaging data not parsed in maven 2 pom
> ----------------------------------------
>
> Key: IVY-500
> URL: https://issues.apache.org/jira/browse/IVY-500
> Project: Ivy
> Issue Type: Bug
> Affects Versions: 2.0.0-alpha-1
> Environment: jdk 1.5
> Reporter: Jeffrey Blatttman
> Priority: Blocker
> Fix For: 2.0.0-alpha-2
>
> Attachments: ivy-500.patch
>
>
> ivy doesn't resolve non-JAR dependencies. for example, a maven2 repo contains a WAR. when specified as a dependency, ivy clearly shows that it grabs the POM from the repo, but then attempts to download a JAR file, despite the fact that the downloaded POM calls out a <packaging>war</packaging> element. feel free to inspect the POM and artifacts referenced in the log below.
> [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 ::
> >
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.