Hello, 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] [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 'http://wqadev/artifactory/repo/org/richfaces/framework/richfaces-impl/3.3.3.CR1/richfaces-impl-3.3.3. CR1.pom': bad module name: expected='richfaces-impl' found='${classifiedArtifactId}'; [ivy:resolve] :::::::::::::::::::::::::::::::::::::::::::::: [ivy:resolve] [ivy:resolve] :::: ERRORS [ivy:resolve] default: bad module name found in http://wqadev/artifactory/repo/org/richfaces/framework/richfaces-impl/3.3.3.CR1/richfaces-impl-3.3.3.CR1.pom: expected='richfaces-impl found='${classifiedArtifactId}' [ivy:resolve] 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: <profiles> <profile> <id>jsf2_0</id> ... <properties> ... <classifiedArtifactId>richfaces-impl-jsf2</classifiedArtifactId> </properties> </profile> <profile> ... </profile> </profiles> You can find this POM file at http://repository.jboss.com/maven2/org/richfaces/framework/richfaces-impl/3.3.3.CR1/richfaces-impl-3.3.3.CR1.pom 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: http://old.nabble.com/Can%27t-figure-out-how-to-retrieve-artifact-with-%3Cprofiles%3E-tp27917134p27917134.html Sent from the ivy-user mailing list archive at Nabble.com.
