You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by si...@apache.org on 2009/02/06 16:38:08 UTC

svn commit: r741596 - in /maven/components/trunk/maven-project/src/test: java/org/apache/maven/project/builder/PomConstructionTest.java resources-project-builder/execution-configuration-join/ resources-project-builder/execution-configuration-join/pom.xml

Author: sisbell
Date: Fri Feb  6 15:38:08 2009
New Revision: 741596

URL: http://svn.apache.org/viewvc?rev=741596&view=rev
Log:
[MNG-3995] Config property lost

Added:
    maven/components/trunk/maven-project/src/test/resources-project-builder/execution-configuration-join/
    maven/components/trunk/maven-project/src/test/resources-project-builder/execution-configuration-join/pom.xml
Modified:
    maven/components/trunk/maven-project/src/test/java/org/apache/maven/project/builder/PomConstructionTest.java

Modified: maven/components/trunk/maven-project/src/test/java/org/apache/maven/project/builder/PomConstructionTest.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-project/src/test/java/org/apache/maven/project/builder/PomConstructionTest.java?rev=741596&r1=741595&r2=741596&view=diff
==============================================================================
--- maven/components/trunk/maven-project/src/test/java/org/apache/maven/project/builder/PomConstructionTest.java (original)
+++ maven/components/trunk/maven-project/src/test/java/org/apache/maven/project/builder/PomConstructionTest.java Fri Feb  6 15:38:08 2009
@@ -91,6 +91,15 @@
 
         };
     }
+
+    /*MNG-3995*/
+    public void testExecutionConfigurationJoin()
+       throws Exception
+    {
+        PomTestWrapper pom = buildPom( "execution-configuration-join" );
+        assertEquals( 2, ( (List<?>) pom.getValue( "build/plugins[1]/executions[1]/configuration[1]/fileset[1]" ) ).size() );
+    }
+
     /*MNG-3803*/
     public void testPluginConfigProperties()
        throws Exception

Added: maven/components/trunk/maven-project/src/test/resources-project-builder/execution-configuration-join/pom.xml
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-project/src/test/resources-project-builder/execution-configuration-join/pom.xml?rev=741596&view=auto
==============================================================================
--- maven/components/trunk/maven-project/src/test/resources-project-builder/execution-configuration-join/pom.xml (added)
+++ maven/components/trunk/maven-project/src/test/resources-project-builder/execution-configuration-join/pom.xml Fri Feb  6 15:38:08 2009
@@ -0,0 +1,35 @@
+<project>
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>org.sonatype.nexus</groupId>
+    <artifactId>nexus</artifactId>
+    <version>1.3.0-SNAPSHOT</version>
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.codehaus.modello</groupId>
+                <artifactId>modello-maven-plugin</artifactId>
+                <version>1.0-alpha-21</version>           
+            </plugin>
+        </plugins>
+        <pluginManagement>
+            <plugins>
+                <plugin>
+                    <groupId>org.codehaus.modello</groupId>
+                    <artifactId>modello-maven-plugin</artifactId>
+                    <version>1.0-alpha-21</version>
+                <executions>
+                    <execution>
+                        <configuration>
+                            <fileset dir="${basedir}">
+                                <include name="LICENSE.txt" />
+                                <include name="NOTICE.txt" />
+                            </fileset>
+                        </configuration>
+                    </execution>
+                </executions>
+                </plugin>
+            </plugins>
+        </pluginManagement>
+    </build>
+
+</project>
\ No newline at end of file