ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Larionov <>
Subject Can't figure out how to retrieve artifact with <profiles>
Date Tue, 16 Mar 2010 12:42:27 GMT


We are using Ivy in our development environment several months.

Today I decided to upgrade one of our third-parties (RichFaces) from
3.3.2.SR1 to 3.3.3.CR1.
Unfortunately, I received error message on ivy:resolve stage:

[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: WARNINGS
[ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]           ::          UNRESOLVED DEPENDENCIES         ::
[ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]           :: org.richfaces.framework#richfaces-impl;3.3.3.CR1:
java.text.ParseException: inconsistent module descriptor file found in
CR1.pom': bad module name: expected='richfaces-impl'
[ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :::: ERRORS
[ivy:resolve]           default: bad module name found in
expected='richfaces-impl found='${classifiedArtifactId}'

I decided to take a look into the richfaces-impl-3.3.3.CR1.pom file to check
what is wrong and found that the <artifactId> tag value in this file is
equal to '${classifiedArtifactId}' instead of 'richfaces-impl'.

And also I found that there is <profiles> section in the POM file which
define the classifiedArtifactId property:


You can find this POM file at

So, currently I have no idea how to retrieve this artifact with Ivy.
Looks like I need to set profile somehow, but I still unable to understand
how to do it even after reading Ivy reference manual.

Can anyone help me?
View this message in context:
Sent from the ivy-user mailing list archive at

View raw message