[ http://jira.codehaus.org/browse/MNG-3160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_106258 ]
Piotr Tabor commented on MNG-3160: ---------------------------------- This bug is caused by not released version of Maven Jar Plugin. The sufficient patch (Connected to MJAR-75) was applied, by Maven Jar Plugin has not been released. It will work with maven-jar-plugin-2.2(-snapshot). If it tests can depend on SNAPSHOT version of plugins to correct the problem you need to add: <pluginManagement> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>2.2-SNAPSHOT</version> </plugin> <pluginManagement> to core-integration-testing/core-integration-tests/src/test/resources/it0126-testJarDependency/pom.xml > IT 126 is failing on trunk and maven-2.0.x branch > ------------------------------------------------- > > Key: MNG-3160 > URL: http://jira.codehaus.org/browse/MNG-3160 > Project: Maven 2 > Issue Type: Bug > Components: integration tests > Affects Versions: 2.0.8, 2.1-alpha-1 > Reporter: Brett Porter > Priority: Blocker > Fix For: 2.0.x > > > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Failed to resolve artifact. > Missing: > ---------- > 1) org.apache.maven.its.it0126:model:test-jar:tests:1.0-SNAPSHOT > Try downloading the file manually from the project website. > Then, install it using the command: > mvn install:install-file -DgroupId=org.apache.maven.its.it0126 > -DartifactId=model \ > -Dversion=1.0-SNAPSHOT -Dclassifier=tests -Dpackaging=test-jar > -Dfile=/path/to/file > Alternatively, if you host your own repository you can deploy the file there: > mvn deploy:deploy-file -DgroupId=org.apache.maven.its.it0126 > -DartifactId=model \ > -Dversion=1.0-SNAPSHOT -Dclassifier=tests -Dpackaging=test-jar > -Dfile=/path/to/file \ > -Durl=[url] -DrepositoryId=[id] > Path to dependency: > 1) org.apache.maven.its.it0126:client:jar:1.0-SNAPSHOT > 2) org.apache.maven.its.it0126:model:test-jar:tests:1.0-SNAPSHOT > ---------- > 1 required artifact is missing. > for artifact: > org.apache.maven.its.it0126:client:jar:1.0-SNAPSHOT > from the specified remote repositories: > central (http://repo1.maven.org/maven2) -- 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