You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jd...@apache.org on 2010/09/21 22:28:27 UTC
svn commit: r999605 - in
/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild:
./ child1/ child1/src/ child1/src/main/ child1/src/main/java/
child1/src/main/java/org/ child1/src/main/java/org/tes...
Author: jdcasey
Date: Tue Sep 21 20:28:26 2010
New Revision: 999605
URL: http://svn.apache.org/viewvc?rev=999605&view=rev
Log:
[MASSEMBLY-501] Adding integration test.
Added:
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child1/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child1/pom.xml (with props)
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child1/src/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child1/src/main/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child1/src/main/java/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child1/src/main/java/org/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child1/src/main/java/org/test/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child1/src/main/java/org/test/App.java (with props)
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child1/src/test/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child1/src/test/java/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child1/src/test/java/org/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child1/src/test/java/org/test/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child1/src/test/java/org/test/AppTest.java (with props)
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child2/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child2/pom.xml (with props)
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child2/src/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child2/src/main/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child2/src/main/java/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child2/src/main/java/org/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child2/src/main/java/org/test/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child2/src/main/java/org/test/App.java (with props)
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child2/src/test/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child2/src/test/java/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child2/src/test/java/org/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child2/src/test/java/org/test/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child2/src/test/java/org/test/AppTest.java (with props)
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child3/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child3/pom.xml (with props)
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child3/src/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child3/src/main/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child3/src/main/java/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child3/src/main/java/org/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child3/src/main/java/org/test/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child3/src/main/java/org/test/App.java (with props)
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child3/src/test/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child3/src/test/java/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child3/src/test/java/org/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child3/src/test/java/org/test/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child3/src/test/java/org/test/AppTest.java (with props)
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child4/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child4/pom.xml (with props)
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child4/src/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child4/src/assemble/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child4/src/assemble/bin.xml (with props)
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/goals.txt (with props)
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/pom.xml (with props)
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/verify.bsh (with props)
Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child1/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child1/pom.xml?rev=999605&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child1/pom.xml (added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child1/pom.xml Tue Sep 21 20:28:26 2010
@@ -0,0 +1,21 @@
+<?xml version="1.0"?><project>
+ <parent>
+ <artifactId>parent</artifactId>
+ <groupId>org.test</groupId>
+ <version>1.0</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.test</groupId>
+ <artifactId>child1</artifactId>
+ <name>Child 1</name>
+ <version>1.0</version>
+ <url>http://maven.apache.org</url>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+</project>
\ No newline at end of file
Propchange: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child1/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child1/src/main/java/org/test/App.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child1/src/main/java/org/test/App.java?rev=999605&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child1/src/main/java/org/test/App.java (added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child1/src/main/java/org/test/App.java Tue Sep 21 20:28:26 2010
@@ -0,0 +1,13 @@
+package org.test;
+
+/**
+ * Hello world!
+ *
+ */
+public class App
+{
+ public static void main( String[] args )
+ {
+ System.out.println( "Hello World!" );
+ }
+}
Propchange: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child1/src/main/java/org/test/App.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child1/src/test/java/org/test/AppTest.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child1/src/test/java/org/test/AppTest.java?rev=999605&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child1/src/test/java/org/test/AppTest.java (added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child1/src/test/java/org/test/AppTest.java Tue Sep 21 20:28:26 2010
@@ -0,0 +1,38 @@
+package org.test;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Unit test for simple App.
+ */
+public class AppTest
+ extends TestCase
+{
+ /**
+ * Create the test case
+ *
+ * @param testName name of the test case
+ */
+ public AppTest( String testName )
+ {
+ super( testName );
+ }
+
+ /**
+ * @return the suite of tests being tested
+ */
+ public static Test suite()
+ {
+ return new TestSuite( AppTest.class );
+ }
+
+ /**
+ * Rigourous Test :-)
+ */
+ public void testApp()
+ {
+ assertTrue( true );
+ }
+}
Propchange: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child1/src/test/java/org/test/AppTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child2/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child2/pom.xml?rev=999605&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child2/pom.xml (added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child2/pom.xml Tue Sep 21 20:28:26 2010
@@ -0,0 +1,21 @@
+<?xml version="1.0"?><project>
+ <parent>
+ <artifactId>parent</artifactId>
+ <groupId>org.test</groupId>
+ <version>1.0</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.test</groupId>
+ <artifactId>child2</artifactId>
+ <name>Child 2</name>
+ <version>1.0</version>
+ <url>http://maven.apache.org</url>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+</project>
\ No newline at end of file
Propchange: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child2/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child2/src/main/java/org/test/App.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child2/src/main/java/org/test/App.java?rev=999605&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child2/src/main/java/org/test/App.java (added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child2/src/main/java/org/test/App.java Tue Sep 21 20:28:26 2010
@@ -0,0 +1,13 @@
+package org.test;
+
+/**
+ * Hello world!
+ *
+ */
+public class App
+{
+ public static void main( String[] args )
+ {
+ System.out.println( "Hello World!" );
+ }
+}
Propchange: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child2/src/main/java/org/test/App.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child2/src/test/java/org/test/AppTest.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child2/src/test/java/org/test/AppTest.java?rev=999605&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child2/src/test/java/org/test/AppTest.java (added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child2/src/test/java/org/test/AppTest.java Tue Sep 21 20:28:26 2010
@@ -0,0 +1,38 @@
+package org.test;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Unit test for simple App.
+ */
+public class AppTest
+ extends TestCase
+{
+ /**
+ * Create the test case
+ *
+ * @param testName name of the test case
+ */
+ public AppTest( String testName )
+ {
+ super( testName );
+ }
+
+ /**
+ * @return the suite of tests being tested
+ */
+ public static Test suite()
+ {
+ return new TestSuite( AppTest.class );
+ }
+
+ /**
+ * Rigourous Test :-)
+ */
+ public void testApp()
+ {
+ assertTrue( true );
+ }
+}
Propchange: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child2/src/test/java/org/test/AppTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child3/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child3/pom.xml?rev=999605&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child3/pom.xml (added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child3/pom.xml Tue Sep 21 20:28:26 2010
@@ -0,0 +1,21 @@
+<?xml version="1.0"?><project>
+ <parent>
+ <artifactId>parent</artifactId>
+ <groupId>org.test</groupId>
+ <version>1.0</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.test</groupId>
+ <artifactId>child3</artifactId>
+ <name>Child 3</name>
+ <version>1.0</version>
+ <url>http://maven.apache.org</url>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+</project>
\ No newline at end of file
Propchange: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child3/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child3/src/main/java/org/test/App.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child3/src/main/java/org/test/App.java?rev=999605&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child3/src/main/java/org/test/App.java (added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child3/src/main/java/org/test/App.java Tue Sep 21 20:28:26 2010
@@ -0,0 +1,13 @@
+package org.test;
+
+/**
+ * Hello world!
+ *
+ */
+public class App
+{
+ public static void main( String[] args )
+ {
+ System.out.println( "Hello World!" );
+ }
+}
Propchange: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child3/src/main/java/org/test/App.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child3/src/test/java/org/test/AppTest.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child3/src/test/java/org/test/AppTest.java?rev=999605&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child3/src/test/java/org/test/AppTest.java (added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child3/src/test/java/org/test/AppTest.java Tue Sep 21 20:28:26 2010
@@ -0,0 +1,38 @@
+package org.test;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Unit test for simple App.
+ */
+public class AppTest
+ extends TestCase
+{
+ /**
+ * Create the test case
+ *
+ * @param testName name of the test case
+ */
+ public AppTest( String testName )
+ {
+ super( testName );
+ }
+
+ /**
+ * @return the suite of tests being tested
+ */
+ public static Test suite()
+ {
+ return new TestSuite( AppTest.class );
+ }
+
+ /**
+ * Rigourous Test :-)
+ */
+ public void testApp()
+ {
+ assertTrue( true );
+ }
+}
Propchange: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child3/src/test/java/org/test/AppTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child4/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child4/pom.xml?rev=999605&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child4/pom.xml (added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child4/pom.xml Tue Sep 21 20:28:26 2010
@@ -0,0 +1,54 @@
+<?xml version="1.0"?><project>
+ <parent>
+ <artifactId>parent</artifactId>
+ <groupId>org.test</groupId>
+ <version>1.0</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.test</groupId>
+ <artifactId>child4</artifactId>
+ <name>Child 4 - Assembler</name>
+ <version>1.0</version>
+
+ <!-- Used to ensure this child is sorted LAST.
+ NOT used by the assembly descriptor! -->
+ <dependencies>
+ <dependency>
+ <groupId>org.test</groupId>
+ <artifactId>child1</artifactId>
+ <version>1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.test</groupId>
+ <artifactId>child2</artifactId>
+ <version>1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.test</groupId>
+ <artifactId>child3</artifactId>
+ <version>1.0</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>assembly</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <descriptors>
+ <descriptor>src/assemble/bin.xml</descriptor>
+ </descriptors>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
\ No newline at end of file
Propchange: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child4/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child4/src/assemble/bin.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child4/src/assemble/bin.xml?rev=999605&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child4/src/assemble/bin.xml (added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child4/src/assemble/bin.xml Tue Sep 21 20:28:26 2010
@@ -0,0 +1,27 @@
+
+<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
+ <id>bin</id>
+ <formats>
+ <format>dir</format>
+ </formats>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <moduleSets>
+ <moduleSet>
+ <!-- This is the key to this configuration -->
+ <useAllReactorProjects>true</useAllReactorProjects>
+
+ <includes>
+ <include>org.test:child1</include>
+ <include>org.test:child3</include>
+ </includes>
+ <binaries>
+ <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
+ <outputDirectory>lib</outputDirectory>
+ <includeDependencies>true</includeDependencies>
+ <unpack>false</unpack>
+ </binaries>
+ </moduleSet>
+ </moduleSets>
+</assembly>
Propchange: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/child4/src/assemble/bin.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/goals.txt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/goals.txt?rev=999605&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/goals.txt (added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/goals.txt Tue Sep 21 20:28:26 2010
@@ -0,0 +1 @@
+clean package
Propchange: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/goals.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/pom.xml?rev=999605&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/pom.xml (added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/pom.xml Tue Sep 21 20:28:26 2010
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.maven.plugin.assembly.test</groupId>
+ <artifactId>it-project-parent</artifactId>
+ <version>1</version>
+ </parent>
+
+ <groupId>org.test</groupId>
+ <artifactId>parent</artifactId>
+ <packaging>pom</packaging>
+ <version>1.0</version>
+
+ <name>Parent</name>
+
+ <modules>
+ <module>child1</module>
+ <module>child2</module>
+ <module>child3</module>
+ <module>child4</module>
+ </modules>
+
+</project>
Propchange: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/verify.bsh
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/verify.bsh?rev=999605&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/verify.bsh (added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/verify.bsh Tue Sep 21 20:28:26 2010
@@ -0,0 +1,23 @@
+import java.io.*;
+
+boolean result = true;
+
+if ( !new File( basedir, "child4/target/child4-1.0-bin/lib/child1.jar" ).exists() )
+{
+ System.out.println( "Child-1 jar is NOT in output!" );
+ result = false;
+}
+
+if ( !new File( basedir, "child4/target/child4-1.0-bin/lib/child3.jar" ).exists() )
+{
+ System.out.println( "Child-3 jar is NOT in output!" );
+ result = false;
+}
+
+if ( new File( basedir, "child4/target/child4-1.0-bin/lib/child2.jar" ).exists() )
+{
+ System.out.println( "Child-2 jar SHOULD NOT BE in output!" );
+ result = false;
+}
+
+return result;
Propchange: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/module-allReactorProjectsUsedFromChild/verify.bsh
------------------------------------------------------------------------------
svn:eol-style = native