ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matignon, Patrice" <patrice.matig...@sap.com>
Subject RE: Ivy problem with substituting version from pom in url
Date Fri, 16 Jan 2015 18:04:24 GMT
It would appear that the parent pom for JBoss 6.1.0.Final, can't be located. You should inspect
that pom and try to see why the parent can't be located.
[ivy:resolve] io problem while parsing ivy file:
http://ap-serv-j:8081/nexus/content/groups/public/org/drools/drools-multiproject/6.1.0.Final/drools-multiproject-6.1.0.Final.pom
(java.io.IOException: Impossible to load parent for
file:/home/tschmidt/.ivy2/cache/org.drools/drools-multiproject/ivy-6.1.0.Final.xml.original.
Parent=org.kie#kie-parent-with-dependencies;6.1.0.Final)
[ivy:resolve] io problem while parsing ivy file:
http://ap-serv-j:8081/nexus/content/groups/public/org/drools/drools-core/6.1.0.Final/drools-core-6.1.0.Final.pom
(java.io.IOException: Impossible to load parent for
file:/home/tschmidt/.ivy2/cache/org.drools/drools-core/ivy-6.1.0.Final.xml.original.
Parent=org.drools#drools-multiproject;6.1.0.Final)

So the problem is not so much with locating JBoss than its parent pom.
More specifically, there seems to be a missing property:
[ivy:resolve]
http://ap-serv-j:8081/nexus/content/groups/public/org/kie/kie-bom/${kie.version}/kie-bom-${kie.version}.pom
[ivy:resolve]   -- artifact org.kie#kie-bom;${kie.version}!kie-bom.jar:
[ivy:resolve]
http://ap-serv-j:8081/nexus/content/groups/public/org/kie/kie-bom/${kie.version}/kie-bom-${kie.version}.jar

Normally you wouldn't expect published pom's to have property placeholders unless the property
value is also provided in the pom. Not sure why that is not the case here, but it's possibly
a publishing error.
Maybe you could try setting that property if you know the value and can alter the published
pom's in your repo.

- P.

-----Original Message-----
From: Travis Schmidt [mailto:] 
Sent: Friday, January 16, 2015 10:48 AM
To: dev@ant.apache.org
Subject: Ivy problem with substituting version from pom in url

I am running into this issue and I am not sure if it is a problem in Ivy or
an issue in the projects pom in Maven repo

[ivy:resolve] io problem while parsing ivy file:
http://ap-serv-j:8081/nexus/content/groups/public/org/kie/kie-parent-with-dependencies/6.1.0.Final/kie-parent-with-dependencies-6.1.0.Final.pom
(java.io.IOException: Impossible to import module for
file:/home/tschmidt/.ivy2/cache/org.kie/kie-parent-with-dependencies/ivy-6.1.0.Final.xml.original.
Import=org.kie#kie-bom;${kie.version})
[ivy:resolve] io problem while parsing ivy file:
http://ap-serv-j:8081/nexus/content/groups/public/org/drools/drools-multiproject/6.1.0.Final/drools-multiproject-6.1.0.Final.pom
(java.io.IOException: Impossible to load parent for
file:/home/tschmidt/.ivy2/cache/org.drools/drools-multiproject/ivy-6.1.0.Final.xml.original.
Parent=org.kie#kie-parent-with-dependencies;6.1.0.Final)
[ivy:resolve] io problem while parsing ivy file:
http://ap-serv-j:8081/nexus/content/groups/public/org/drools/drools-core/6.1.0.Final/drools-core-6.1.0.Final.pom
(java.io.IOException: Impossible to load parent for
file:/home/tschmidt/.ivy2/cache/org.drools/drools-core/ivy-6.1.0.Final.xml.original.
Parent=org.drools#drools-multiproject;6.1.0.Final)
[ivy:resolve] module not found: org.drools#drools-core;6.1.0.Final
[ivy:resolve] ==== nexus: tried
[ivy:resolve]
http://ap-serv-j:8081/nexus/content/groups/public/org/kie/kie-bom/${kie.version}/kie-bom-${kie.version}.pom
[ivy:resolve]   -- artifact org.kie#kie-bom;${kie.version}!kie-bom.jar:
[ivy:resolve]
http://ap-serv-j:8081/nexus/content/groups/public/org/kie/kie-bom/${kie.version}/kie-bom-${kie.version}.jar
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] ::          UNRESOLVED DEPENDENCIES         ::
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: org.drools#drools-core;6.1.0.Final: not found
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::

Any guidance is appreciated

Travis
Mime
View raw message