Author: krosenvold
Date: Thu Nov 13 16:23:11 2014
New Revision: 1639378
URL: http://svn.apache.org/r1639378
Log:
[MASEMBLY-317] Test project added
Added:
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/assembly.xml
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/child1/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/child1/pom.xml
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/child1/src/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/child1/src/main/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/child1/src/main/java/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/child1/src/main/java/com/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/child1/src/main/java/com/mycompany/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/child1/src/main/java/com/mycompany/app/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/child1/src/main/java/com/mycompany/app/App.java
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/child2/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/child2/pom.xml
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/child2/src/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/child2/src/main/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/child2/src/main/java/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/child2/src/main/java/com/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/child2/src/main/java/com/mycompany/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/child2/src/main/java/com/mycompany/app/
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/child2/src/main/java/com/mycompany/app/App2.java
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/pom.xml
Added:
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/assembly.xml
URL:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/assembly.xml?rev=1639378&view=auto
==============================================================================
---
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/assembly.xml
(added)
+++
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/assembly.xml
Thu Nov 13 16:23:11 2014
@@ -0,0 +1,43 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<assembly>
+ <id>bin</id>
+ <formats>
+ <format>dir</format>
+ </formats>
+ <moduleSets>
+ <moduleSet>
+ <binaries>
+ <outputDirectory>server/default</outputDirectory>
+ <!--
outputFileNameMapping>${module.artifactId}.${module.extension}</outputFileNameMapping
-->
+ <unpack>false</unpack>
+ <dependencySets>
+ <dependencySet>
+ <!--
outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping
-->
+ <useStrictFiltering>true</useStrictFiltering>
+ <includes>
+ <include>*:junit</include>
+ </includes>
+ </dependencySet>
+ </dependencySets>
+ </binaries>
+ </moduleSet>
+ </moduleSets>
+</assembly>
Added:
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/child1/pom.xml
URL:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/child1/pom.xml?rev=1639378&view=auto
==============================================================================
---
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/child1/pom.xml
(added)
+++
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/child1/pom.xml
Thu Nov 13 16:23:11 2014
@@ -0,0 +1,33 @@
+<?xml version="1.0"?><project>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>com.mycompany.app</groupId>
+ <artifactId>my-app-module1</artifactId>
+ <name>my-app-module1</name>
+ <version>1.0-SNAPSHOT</version>
+ <dependencies>
+ <!-- dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ </dependency -->
+ </dependencies>
+</project>
Added:
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/child1/src/main/java/com/mycompany/app/App.java
URL:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/child1/src/main/java/com/mycompany/app/App.java?rev=1639378&view=auto
==============================================================================
---
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/child1/src/main/java/com/mycompany/app/App.java
(added)
+++
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/child1/src/main/java/com/mycompany/app/App.java
Thu Nov 13 16:23:11 2014
@@ -0,0 +1,32 @@
+package com.mycompany.app;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+/**
+ * Hello world!
+ *
+ */
+public class App
+{
+ public static void main( String[] args )
+ {
+ System.out.println( "Hello World!" );
+ }
+}
Added:
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/child2/pom.xml
URL:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/child2/pom.xml?rev=1639378&view=auto
==============================================================================
---
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/child2/pom.xml
(added)
+++
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/child2/pom.xml
Thu Nov 13 16:23:11 2014
@@ -0,0 +1,34 @@
+<?xml version="1.0"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>com.mycompany.app</groupId>
+ <artifactId>my-app-module2</artifactId>
+ <name>my-app-module2</name>
+ <version>1.0-SNAPSHOT</version>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ </dependency>
+ </dependencies>
+</project>
Added:
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/child2/src/main/java/com/mycompany/app/App2.java
URL:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/child2/src/main/java/com/mycompany/app/App2.java?rev=1639378&view=auto
==============================================================================
---
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/child2/src/main/java/com/mycompany/app/App2.java
(added)
+++
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/child2/src/main/java/com/mycompany/app/App2.java
Thu Nov 13 16:23:11 2014
@@ -0,0 +1,32 @@
+package com.mycompany.app;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+/**
+ * Hello world!
+ *
+ */
+public class App2
+{
+ public static void main( String[] args )
+ {
+ System.out.println( "Hello World!" );
+ }
+}
Added:
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/pom.xml
URL:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/pom.xml?rev=1639378&view=auto
==============================================================================
---
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/pom.xml
(added)
+++
maven/plugins/trunk/maven-assembly-plugin/src/it/projects/multimodule/massembly-317/pom.xml
Thu Nov 13 16:23:11 2014
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<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>
+ <groupId>com.mycompany.app</groupId>
+ <artifactId>my-app</artifactId>
+ <packaging>pom</packaging>
+ <version>1.0-SNAPSHOT</version>
+ <name>my-app</name>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.mycompany.app</groupId>
+ <artifactId>my-app-module2</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ <modules>
+ <module>child1</module>
+ <module>child2</module>
+ </modules>
+ <build>
+ <plugins>
+ <plugin>
+ <inherited>false</inherited>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>${testVersion}</version>
+ <configuration>
+ <descriptors>
+ <descriptor>assembly.xml</descriptor>
+ </descriptors>
+ </configuration>
+ <executions>
+ <execution>
+ <id>make-assembly</id>
+ <phase>package</phase>
+ <goals>
+ <goal>attached</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>