Author: jvanzyl
Date: Mon Jun  4 14:14:42 2007
New Revision: 544267

URL: http://svn.apache.org/viewvc?view=rev&rev=544267
Log:
o adjusting 

Added:
    
maven/core-integration-testing/trunk/core-integration-tests/src/test/resources/MNG-2289/test.sh
   (with props)
Modified:
    
maven/core-integration-testing/trunk/core-integration-tests/src/test/resources/MNG-2289/notes.txt
    
maven/core-integration-testing/trunk/core-integration-tests/src/test/resources/MNG-2289/parent/pom.xml

Modified: 
maven/core-integration-testing/trunk/core-integration-tests/src/test/resources/MNG-2289/notes.txt
URL: 
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-integration-tests/src/test/resources/MNG-2289/notes.txt?view=diff&rev=544267&r1=544266&r2=544267
==============================================================================
--- 
maven/core-integration-testing/trunk/core-integration-tests/src/test/resources/MNG-2289/notes.txt
 (original)
+++ 
maven/core-integration-testing/trunk/core-integration-tests/src/test/resources/MNG-2289/notes.txt
 Mon Jun  4 14:14:42 2007
@@ -5,4 +5,5 @@
 5. Call again mvn deploy, but Maven will now use the temporary local repo for 
installation of the updated POM
 6. Go to the issue directory and call mvn eclipse:eclipse, the project is now 
dependent on junit-3.8 as defined in the dependencyManagement of the parent
 7. Restore your settings.xml
-8. Call mvn eclipse:eclipse again for the issue, the project is still 
dependent on junit-3.7 the available newer version of the snapshot parent is 
ignored
\ No newline at end of file
+8. Call mvn eclipse:eclipse again for the issue, the project is still 
dependent on junit-3.7 the available newer version of the snapshot parent is 
ignored
+

Modified: 
maven/core-integration-testing/trunk/core-integration-tests/src/test/resources/MNG-2289/parent/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-integration-tests/src/test/resources/MNG-2289/parent/pom.xml?view=diff&rev=544267&r1=544266&r2=544267
==============================================================================
--- 
maven/core-integration-testing/trunk/core-integration-tests/src/test/resources/MNG-2289/parent/pom.xml
 (original)
+++ 
maven/core-integration-testing/trunk/core-integration-tests/src/test/resources/MNG-2289/parent/pom.xml
 Mon Jun  4 14:14:42 2007
@@ -20,7 +20,7 @@
             <dependency>
                 <groupId>junit</groupId>
                 <artifactId>junit</artifactId>
-                <version>3.7</version>
+                <version>3.8</version>
             </dependency>
         </dependencies>
     </dependencyManagement>

Added: 
maven/core-integration-testing/trunk/core-integration-tests/src/test/resources/MNG-2289/test.sh
URL: 
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-integration-tests/src/test/resources/MNG-2289/test.sh?view=auto&rev=544267
==============================================================================
--- 
maven/core-integration-testing/trunk/core-integration-tests/src/test/resources/MNG-2289/test.sh
 (added)
+++ 
maven/core-integration-testing/trunk/core-integration-tests/src/test/resources/MNG-2289/test.sh
 Mon Jun  4 14:14:42 2007
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+# 1. Go to the parent directory and call mvn deploy
+# 2. Go to the issue directory and call mvn eclipse:eclipse, the project is 
now dependent on junit-3.7 as defined in the dependencyManagement of the parent
+# 3. Set your local repo in settings.xml to something else e.g. 
<localRepository>/temp/repo-m2-local</localRepository>
+# 4. Go to the parent directory and change the version of junit to 3.8
+# 5. Call again mvn deploy, but Maven will now use the temporary local repo 
for installation of the updated POM
+# 6. Go to the issue directory and call mvn eclipse:eclipse, the project is 
now dependent on junit-3.8 as defined in the dependencyManagement of the parent
+# 7. Restore your settings.xml
+# 8. Call mvn eclipse:eclipse again for the issue, the project is still 
dependent on junit-3.7 the available newer version of the snapshot parent is 
ignored
+
+
+dir=`pwd`
+
+mvn="mvn"
+repo="$HOME/maven-repo-local"
+
+rm -rf $repo/junit
+( cd parent ; cp pom-with-ju-3.7.xml pom.xml ; $mvn deploy )
+( cd issue; $mvn compile )
+( cd parent ; cp pom-with-ju-3.8.xml pom.xml ; $mvn deploy )
+mv $repo/junit $repo/junit-3.7
+( cd issue; $mvn compile )
+

Propchange: 
maven/core-integration-testing/trunk/core-integration-tests/src/test/resources/MNG-2289/test.sh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
maven/core-integration-testing/trunk/core-integration-tests/src/test/resources/MNG-2289/test.sh
------------------------------------------------------------------------------
    svn:executable = *

Propchange: 
maven/core-integration-testing/trunk/core-integration-tests/src/test/resources/MNG-2289/test.sh
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"


Reply via email to