[ http://jira.codehaus.org/browse/MNG-3856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160122#action_160122 ]
Benjamin Bentmann commented on MNG-3856: ---------------------------------------- I don't see Maven 2.x interpolating {{${maven.version}}} unless explicitly provided by the user/POM, so why should Maven 3.x by providing any default value? > Fix interpolation to correctly treat all interpolated variables > --------------------------------------------------------------- > > Key: MNG-3856 > URL: http://jira.codehaus.org/browse/MNG-3856 > Project: Maven 2 > Issue Type: Bug > Reporter: Oleg Gusakov > Assignee: Shane Isbell > Fix For: 3.0-alpha-2 > > > There are several dependencies that have non-replaced variables, coming from > maven-mercury implementation: > {code} > ======> org.apache.maven.plugins:maven-changelog-plugin:2.1::jar > org.apache.maven.mercury.metadata.MetadataTreeException: did not find > non-optional artifact for > org.apache.maven.scm:maven-scm-api:${maven-scm.version}::jar <== > org.apache.maven.plugins:maven-changelog-plugin:2.1::jar > > ======> org.apache.maven.plugins:maven-dependency-plugin:2.0::jar > org.apache.maven.mercury.metadata.MetadataTreeException: did not find > non-optional artifact for > org.apache.maven:maven-artifact:${maven.version}::jar <== > org.apache.maven.plugins:maven-dependency-plugin:2.0::jar > > ======> org.apache.maven.plugins:maven-deploy-plugin:2.4::jar > > ======> org.apache.maven.plugins:maven-ear-plugin:2.3.1::jar > org.apache.maven.mercury.metadata.MetadataTreeException: did not find > non-optional artifact for ${pom.groupId}:wagon-http-shared:1.0-beta-2::jar > <== org.apache.maven.wagon:wagon-http-lightweight:1.0-beta-2::jar <== > org.apache.maven:maven-core:2.0.6::jar <== > org.apache.maven.plugins:maven-deploy-plugin:2.4::jar > > ======> org.apache.maven.plugins:maven-javadoc-plugin:2.4::jar > org.apache.maven.mercury.metadata.MetadataTreeException: did not find > non-optional artifact for > org.apache.maven.doxia:doxia-sink-api:${doxiaVersion}::jar <== > org.apache.maven.plugins:maven-javadoc-plugin:2.4::jar > > > ======> org.apache.maven.plugins:maven-plugin-plugin:2.4.3::jar > org.apache.maven.mercury.metadata.MetadataTreeException: did not find > non-optional artifact for > org.apache.maven.doxia:doxia-sink-api:${doxiaVersion}::jar <== > org.apache.maven.plugins:maven-plugin-plugin:2.4.3::jar > > ======> org.apache.maven.plugins:maven-remote-resources-plugin:1.0::jar > org.apache.maven.mercury.metadata.MetadataTreeException: did not find > non-optional artifact for ${pom.groupId}:wagon-http-shared:1.0-beta-2::jar > <== org.apache.maven.wagon:wagon-http-lightweight:1.0-beta-2::jar <== > org.apache.maven:maven-core:2.0.5::jar <== > org.apache.maven.plugins:maven-remote-resources-plugin:1.0::jar > > > ======> org.apache.maven.plugins:maven-surefire-plugin:2.4.3::jar > org.apache.maven.mercury.metadata.MetadataTreeException: did not find > non-optional artifact for ${pom.groupId}:wagon-http-shared:1.0-beta-2::jar > <== org.apache.maven.wagon:wagon-http-lightweight:1.0-beta-2::jar <== > org.apache.maven:maven-core:2.0.6::jar <== > org.apache.maven.plugins:maven-surefire-plugin:2.4.3::jar > {code} -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira