[ https://jira.codehaus.org/browse/MINVOKER-107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=289061#comment-289061 ]
Dawid Weiss edited comment on MINVOKER-107 at 1/22/12 4:38 AM: --------------------------------------------------------------- This issue is a bug and is repeatable for me. The invoker plugin installs shapshot versions of artefacts but this happens ONLY if running: {noformat}mvn clean deploy{noformat} and NOT if running: {noformat}mvn clean verify{noformat} So it is the deployment of artefacts that somehow renders -SNAPSHOT versions to concrete numbered revisions. Build logs from our Bamboo where this is apparent: Passing build (mvn clean verify): http://builds.carrot2.org/browse/RNDTEST-MASTER-JOB1-109/log Failing build (mvn clean deploy): http://builds.carrot2.org/browse/RNDTEST-MASTER-JOB1-108/log Passing build's invoker install section: {noformat} 22-Jan-2012 11:31:03 [INFO] --- maven-invoker-plugin:1.5:install (integration-test) @ junit4-maven-plugin-tests --- 22-Jan-2012 11:31:04 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/runner/pom.xml to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/randomizedtesting-runner/0.0.5-SNAPSHOT/randomizedtesting-runner-0.0.5-SNAPSHOT.pom 22-Jan-2012 11:31:04 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/runner/target/randomizedtesting-runner-0.0.5-SNAPSHOT.jar to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/randomizedtesting-runner/0.0.5-SNAPSHOT/randomizedtesting-runner-0.0.5-SNAPSHOT.jar 22-Jan-2012 11:31:04 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/pom.xml to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/randomizedtesting-parent/0.0.5-SNAPSHOT/randomizedtesting-parent-0.0.5-SNAPSHOT.pom 22-Jan-2012 11:31:04 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin/pom.xml to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/junit4-maven-plugin/0.0.5-SNAPSHOT/junit4-maven-plugin-0.0.5-SNAPSHOT.pom 22-Jan-2012 11:31:04 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin/target/junit4-maven-plugin-0.0.5-SNAPSHOT.jar to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/junit4-maven-plugin/0.0.5-SNAPSHOT/junit4-maven-plugin-0.0.5-SNAPSHOT.jar 22-Jan-2012 11:31:04 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-ant/ant-junit4/pom.xml to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/ant-junit4/0.0.5-SNAPSHOT/ant-junit4-0.0.5-SNAPSHOT.pom 22-Jan-2012 11:31:04 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-ant/ant-junit4/target/ant-junit4-0.0.5-SNAPSHOT.jar to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/ant-junit4/0.0.5-SNAPSHOT/ant-junit4-0.0.5-SNAPSHOT.jar 22-Jan-2012 11:31:04 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/pom.xml to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/junit4-maven-plugin-tests/0.0.5-SNAPSHOT/junit4-maven-plugin-tests-0.0.5-SNAPSHOT.pom 22-Jan-2012 11:31:04 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/junit4-maven-plugin-tests-0.0.5-SNAPSHOT.jar to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/junit4-maven-plugin-tests/0.0.5-SNAPSHOT/junit4-maven-plugin-tests-0.0.5-SNAPSHOT.jar {noformat} Failing build's invoker install section: {noformat} 22-Jan-2012 11:26:32 [INFO] --- maven-invoker-plugin:1.5:install (integration-test) @ junit4-maven-plugin-tests --- 22-Jan-2012 11:26:33 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/runner/pom.xml to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/randomizedtesting-runner/0.0.5-SNAPSHOT/randomizedtesting-runner-0.0.5-SNAPSHOT.pom 22-Jan-2012 11:26:33 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/runner/target/randomizedtesting-runner-0.0.5-SNAPSHOT.jar to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/randomizedtesting-runner/0.0.5-SNAPSHOT/randomizedtesting-runner-0.0.5-20120122.102516-54.jar 22-Jan-2012 11:26:33 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/runner/pom.xml to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/randomizedtesting-runner/0.0.5-SNAPSHOT/randomizedtesting-runner-0.0.5-20120122.102516-54.pom 22-Jan-2012 11:26:33 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/pom.xml to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/randomizedtesting-parent/0.0.5-SNAPSHOT/randomizedtesting-parent-0.0.5-20120122.102443-55.pom 22-Jan-2012 11:26:33 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin/pom.xml to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/junit4-maven-plugin/0.0.5-SNAPSHOT/junit4-maven-plugin-0.0.5-SNAPSHOT.pom 22-Jan-2012 11:26:33 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin/target/junit4-maven-plugin-0.0.5-SNAPSHOT.jar to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/junit4-maven-plugin/0.0.5-SNAPSHOT/junit4-maven-plugin-0.0.5-20120122.102625-6.jar 22-Jan-2012 11:26:33 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin/pom.xml to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/junit4-maven-plugin/0.0.5-SNAPSHOT/junit4-maven-plugin-0.0.5-20120122.102625-6.pom 22-Jan-2012 11:26:33 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-ant/ant-junit4/pom.xml to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/ant-junit4/0.0.5-SNAPSHOT/ant-junit4-0.0.5-SNAPSHOT.pom 22-Jan-2012 11:26:33 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-ant/ant-junit4/target/ant-junit4-0.0.5-SNAPSHOT.jar to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/ant-junit4/0.0.5-SNAPSHOT/ant-junit4-0.0.5-20120122.102614-54.jar 22-Jan-2012 11:26:33 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-ant/ant-junit4/pom.xml to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/ant-junit4/0.0.5-SNAPSHOT/ant-junit4-0.0.5-20120122.102614-54.pom 22-Jan-2012 11:26:33 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/pom.xml to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/junit4-maven-plugin-tests/0.0.5-SNAPSHOT/junit4-maven-plugin-tests-0.0.5-SNAPSHOT.pom 22-Jan-2012 11:26:33 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/junit4-maven-plugin-tests-0.0.5-SNAPSHOT.jar to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/junit4-maven-plugin-tests/0.0.5-SNAPSHOT/junit4-maven-plugin-tests-0.0.5-SNAPSHOT.jar {noformat} was (Author: dawid.weiss): This issue is a bug and is repeatable for me. The invoker plugin installs shapshot versions of artefacts but this happens ONLY if running: mvn clean deploy and NOT if running: mvn clean verify So it is the deployment of artefacts that somehow renders -SNAPSHOT versions to concrete numbered revisions. Build logs from our Bamboo where this is apparent: Passing build (mvn clean verify): http://builds.carrot2.org/browse/RNDTEST-MASTER-JOB1-109/log Failing build (mvn clean deploy): http://builds.carrot2.org/browse/RNDTEST-MASTER-JOB1-108/log Passing build's invoker install section: {noformat} 22-Jan-2012 11:31:03 [INFO] --- maven-invoker-plugin:1.5:install (integration-test) @ junit4-maven-plugin-tests --- 22-Jan-2012 11:31:04 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/runner/pom.xml to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/randomizedtesting-runner/0.0.5-SNAPSHOT/randomizedtesting-runner-0.0.5-SNAPSHOT.pom 22-Jan-2012 11:31:04 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/runner/target/randomizedtesting-runner-0.0.5-SNAPSHOT.jar to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/randomizedtesting-runner/0.0.5-SNAPSHOT/randomizedtesting-runner-0.0.5-SNAPSHOT.jar 22-Jan-2012 11:31:04 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/pom.xml to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/randomizedtesting-parent/0.0.5-SNAPSHOT/randomizedtesting-parent-0.0.5-SNAPSHOT.pom 22-Jan-2012 11:31:04 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin/pom.xml to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/junit4-maven-plugin/0.0.5-SNAPSHOT/junit4-maven-plugin-0.0.5-SNAPSHOT.pom 22-Jan-2012 11:31:04 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin/target/junit4-maven-plugin-0.0.5-SNAPSHOT.jar to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/junit4-maven-plugin/0.0.5-SNAPSHOT/junit4-maven-plugin-0.0.5-SNAPSHOT.jar 22-Jan-2012 11:31:04 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-ant/ant-junit4/pom.xml to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/ant-junit4/0.0.5-SNAPSHOT/ant-junit4-0.0.5-SNAPSHOT.pom 22-Jan-2012 11:31:04 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-ant/ant-junit4/target/ant-junit4-0.0.5-SNAPSHOT.jar to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/ant-junit4/0.0.5-SNAPSHOT/ant-junit4-0.0.5-SNAPSHOT.jar 22-Jan-2012 11:31:04 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/pom.xml to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/junit4-maven-plugin-tests/0.0.5-SNAPSHOT/junit4-maven-plugin-tests-0.0.5-SNAPSHOT.pom 22-Jan-2012 11:31:04 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/junit4-maven-plugin-tests-0.0.5-SNAPSHOT.jar to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/junit4-maven-plugin-tests/0.0.5-SNAPSHOT/junit4-maven-plugin-tests-0.0.5-SNAPSHOT.jar {noformat} Failing build's invoker install section: {noformat} 22-Jan-2012 11:26:32 [INFO] --- maven-invoker-plugin:1.5:install (integration-test) @ junit4-maven-plugin-tests --- 22-Jan-2012 11:26:33 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/runner/pom.xml to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/randomizedtesting-runner/0.0.5-SNAPSHOT/randomizedtesting-runner-0.0.5-SNAPSHOT.pom 22-Jan-2012 11:26:33 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/runner/target/randomizedtesting-runner-0.0.5-SNAPSHOT.jar to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/randomizedtesting-runner/0.0.5-SNAPSHOT/randomizedtesting-runner-0.0.5-20120122.102516-54.jar 22-Jan-2012 11:26:33 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/runner/pom.xml to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/randomizedtesting-runner/0.0.5-SNAPSHOT/randomizedtesting-runner-0.0.5-20120122.102516-54.pom 22-Jan-2012 11:26:33 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/pom.xml to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/randomizedtesting-parent/0.0.5-SNAPSHOT/randomizedtesting-parent-0.0.5-20120122.102443-55.pom 22-Jan-2012 11:26:33 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin/pom.xml to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/junit4-maven-plugin/0.0.5-SNAPSHOT/junit4-maven-plugin-0.0.5-SNAPSHOT.pom 22-Jan-2012 11:26:33 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin/target/junit4-maven-plugin-0.0.5-SNAPSHOT.jar to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/junit4-maven-plugin/0.0.5-SNAPSHOT/junit4-maven-plugin-0.0.5-20120122.102625-6.jar 22-Jan-2012 11:26:33 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin/pom.xml to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/junit4-maven-plugin/0.0.5-SNAPSHOT/junit4-maven-plugin-0.0.5-20120122.102625-6.pom 22-Jan-2012 11:26:33 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-ant/ant-junit4/pom.xml to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/ant-junit4/0.0.5-SNAPSHOT/ant-junit4-0.0.5-SNAPSHOT.pom 22-Jan-2012 11:26:33 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-ant/ant-junit4/target/ant-junit4-0.0.5-SNAPSHOT.jar to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/ant-junit4/0.0.5-SNAPSHOT/ant-junit4-0.0.5-20120122.102614-54.jar 22-Jan-2012 11:26:33 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-ant/ant-junit4/pom.xml to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/ant-junit4/0.0.5-SNAPSHOT/ant-junit4-0.0.5-20120122.102614-54.pom 22-Jan-2012 11:26:33 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/pom.xml to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/junit4-maven-plugin-tests/0.0.5-SNAPSHOT/junit4-maven-plugin-tests-0.0.5-SNAPSHOT.pom 22-Jan-2012 11:26:33 [INFO] Installing /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/junit4-maven-plugin-tests-0.0.5-SNAPSHOT.jar to /home/bamboo/bamboo3-work/xml-data/build-dir/RNDTEST-MASTER-JOB1/integration-maven/junit4-maven-plugin-tests/target/local-repo/com/carrotsearch/randomizedtesting/junit4-maven-plugin-tests/0.0.5-SNAPSHOT/junit4-maven-plugin-tests-0.0.5-SNAPSHOT.jar {noformat} > mvn deploy of SNAPSHOT failed with maven3 when invoker:run look for current > build dependency > -------------------------------------------------------------------------------------------- > > Key: MINVOKER-107 > URL: https://jira.codehaus.org/browse/MINVOKER-107 > Project: Maven 2.x Invoker Plugin > Issue Type: Bug > Affects Versions: 1.5 > Environment: Apache Maven 3.0 (r1004208; 2010-10-04 13:50:56+0200) > Java version: 1.6.0_22 > Java home: /usr/lib/jvm/java-6-sun-1.6.0.22/jre > Default locale: en_US, platform encoding: UTF-8 > OS name: "linux" version: "2.6.32-25-generic-pae" arch: "i386" Family: "unix" > Reporter: ludovic > Attachments: MINVOKER-107.diff > > > When I build > http://code.google.com/p/mycila/source/browse/mycila-testing/trunk?r=1448 on > revision 1448, the build failed. r1449 is a workaround. > the maven command is : mvn clean deploy > the build failed when running plugin invoker:run with maven3 BUT succeed with > maven2 > the failure is due of a missing artifact in the its local repository, the > searched version is a SNAPSHOT, the present version is a timestamped SNAPSHOT > the dependency com.mycila.testing:mycila-testing-api:jar:2.6-SNAPSHOT is not > found because the invoker:install copy the SNAPSHOT with the timestamp during > deploy. And then after during the test, the dependency could not be found. > The reason is because maven3 always deploy using a timestamped version. > @see > https://cwiki.apache.org/MAVEN/maven-3x-compatibility-notes.html#Maven3.xCompatibilityNotes-NonuniqueSnapshotDeployments > ! workaround > remove > <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath> > from the invoker configuration -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira