Hi,
in relationship with the Maven 3.1.1 vote

I have found an interessting thing:

* maven-dependency-plugin (trunk: r1521365):

Maven 3.0.5:
The following integration tests have been skipped:
[INFO] Building: purge-local-repository-reresolve/pom.xml
[INFO] ..SKIPPED
[INFO] Building: purge-local-repository-snapshots-only/pom.xml
[INFO] run script setup.bsh
[INFO] run script verify.bsh
[INFO] ..SUCCESS (2.6 s)
[INFO] Building: purge-local-repository-version-range/pom.xml
[INFO] ..SKIPPED

whereas in Maven 3.1 the following two integration tests fail:

[INFO] Building: purge-local-repository-reresolve/pom.xml
[INFO] ..FAILED (2.9 s)
[INFO] The build exited with code 1. See /Users/kama/workspace/maven-dependency-plugin/target/it/purge-local-repository-reresolve/build.log for details.
..
[INFO] Building: purge-local-repository-version-range/pom.xml
[INFO] ..FAILED (2.9 s)
[INFO] The build exited with code 1. See /Users/kama/workspace/maven-dependency-plugin/target/it/purge-local-repository-version-range/build.log for details.

and in Maven 3.1.1 the same two integration tests fail.

After taken a deeper look into that and the related issue (MNG-5366) and the invoker.properties give me the hint.

This means that currently the invoker.properties must be enhanced to skipp these two IT's based on the Maven version 3.1.1

I've attached patch to solve that temporarily for the current trunk.


Kind regards
Karl-Heinz Marbaise
--
SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl-Heinz Marbaise        ICQ#: 135949029
Hauptstrasse 177                         USt.IdNr: DE191347579
52146 Würselen                           http://www.soebes.de
Index: src/it/purge-local-repository-reresolve/invoker.properties
===================================================================
--- src/it/purge-local-repository-reresolve/invoker.properties  (revision 
1521366)
+++ src/it/purge-local-repository-reresolve/invoker.properties  (working copy)
@@ -1,3 +1,3 @@
 invoker.goals = 
${project.groupId}:${project.artifactId}:${project.version}:resolve 
${project.groupId}:${project.artifactId}:${project.version}:purge-local-repository
-# [MNG-5366] Does not work in Maven 3.0.4 due to the resolveAlways operation 
not correctly forcing a new download
-invoker.maven.version = !3.0.4,!3.0.5,!3.1.0
+# [MNG-5366] Does not work in Maven 3.0.4, 3.0.5, 3.1 and 3.1.1 due to the 
resolveAlways operation not correctly forcing a new download
+invoker.maven.version = !3.0.4,!3.0.5,!3.1.0,!3.1.1
Index: src/it/purge-local-repository-version-range/invoker.properties
===================================================================
--- src/it/purge-local-repository-version-range/invoker.properties      
(revision 1521366)
+++ src/it/purge-local-repository-version-range/invoker.properties      
(working copy)
@@ -1,3 +1,3 @@
 invoker.goals = 
${project.groupId}:${project.artifactId}:${project.version}:purge-local-repository
-# [MNG-5366] Does not work in Maven 3.0.4 due to the resolveAlways operation 
not correctly forcing a new download
-invoker.maven.version = !3.0.4,!3.0.5,!3.1.0
+# [MNG-5366] Does not work in Maven 3.0.4, 3.0.5, 3.1 and 3.1.1 due to the 
resolveAlways operation not correctly forcing a new download
+invoker.maven.version = !3.0.4,!3.0.5,!3.1.0,!3.1.1

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to