Author: bentmann
Date: Tue Feb 10 18:48:35 2009
New Revision: 743057

URL: http://svn.apache.org/viewvc?rev=743057&view=rev
Log:
o Strengthened IT as suggested by r601095

Modified:
    
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1412/pom.xml

Modified: 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1412/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1412/pom.xml?rev=743057&r1=743056&r2=743057&view=diff
==============================================================================
--- 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1412/pom.xml
 (original)
+++ 
maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-1412/pom.xml
 Tue Feb 10 18:48:35 2009
@@ -45,6 +45,7 @@
   </repositories>
 
   <dependencies>
+    <!-- model dependencies first, in the order given -->
     <dependency>
       <groupId>org.apache.maven.its.mng1412</groupId>
       <artifactId>a</artifactId>
@@ -60,13 +61,31 @@
       <artifactId>b</artifactId>
       <version>0.1</version>
     </dependency>
-    <dependency>
-      <groupId>org.apache.maven.its.mng1412</groupId>
-      <artifactId>d</artifactId>
-      <version>0.1</version>
-    </dependency>
   </dependencies>
 
+  <profiles>
+    <profile>
+      <id>mng-1412</id>
+      <activation>
+        <activeByDefault>true</activeByDefault>
+      </activation>
+      <!-- profile dependencies last, in the order given -->
+      <dependencies>
+        <dependency>
+          <!-- deliberately respecifying this dep to check merging behavior -->
+          <groupId>org.apache.maven.its.mng1412</groupId>
+          <artifactId>a</artifactId>
+          <version>0.1</version>
+        </dependency>
+        <dependency>
+          <groupId>org.apache.maven.its.mng1412</groupId>
+          <artifactId>d</artifactId>
+          <version>0.1</version>
+        </dependency>
+      </dependencies>
+    </profile>
+  </profiles>
+
   <build>
     <plugins>
       <plugin>


Reply via email to