You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2012/03/13 12:25:33 UTC
svn commit: r1300079 - in
/maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included:
./ one/ one/src/ one/src/main/ one/src/main/java/ one/src/main/java/org/
one/src/main/java/org/apache/ one/src/main/java/org/apache/maven/ one/src/...
Author: olamy
Date: Tue Mar 13 11:25:32 2012
New Revision: 1300079
URL: http://svn.apache.org/viewvc?rev=1300079&view=rev
Log:
add an it to try reproduce MSHADE-75 but cannot !
Added:
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/invoker.properties (with props)
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/pom.xml (with props)
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/main/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/main/java/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/main/java/org/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/main/java/org/apache/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/main/java/org/apache/maven/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/main/java/org/apache/maven/plugins/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/main/java/org/apache/maven/plugins/shade/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/main/java/org/apache/maven/plugins/shade/its/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/main/java/org/apache/maven/plugins/shade/its/one/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/main/java/org/apache/maven/plugins/shade/its/one/App.java (with props)
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/main/java/org/apache/maven/plugins/shade/its/one/AppOne.java (with props)
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/test/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/test/java/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/test/java/org/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/test/java/org/apache/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/test/java/org/apache/maven/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/test/java/org/apache/maven/plugins/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/test/java/org/apache/maven/plugins/shade/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/test/java/org/apache/maven/plugins/shade/its/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/test/java/org/apache/maven/plugins/shade/its/one/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/test/java/org/apache/maven/plugins/shade/its/one/AppTest.java (with props)
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/pom.xml (with props)
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/pom.xml (with props)
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/src/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/src/main/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/src/main/java/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/src/main/java/org/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/src/main/java/org/apache/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/src/main/java/org/apache/maven/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/src/main/java/org/apache/maven/plugins/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/src/main/java/org/apache/maven/plugins/shade/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/src/main/java/org/apache/maven/plugins/shade/its/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/src/main/java/org/apache/maven/plugins/shade/its/two/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/src/main/java/org/apache/maven/plugins/shade/its/two/App.java (with props)
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/src/test/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/src/test/java/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/src/test/java/org/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/src/test/java/org/apache/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/src/test/java/org/apache/maven/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/src/test/java/org/apache/maven/plugins/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/src/test/java/org/apache/maven/plugins/shade/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/src/test/java/org/apache/maven/plugins/shade/its/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/src/test/java/org/apache/maven/plugins/shade/its/two/
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/src/test/java/org/apache/maven/plugins/shade/its/two/AppTest.java (with props)
maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/verify.bsh (with props)
Added: maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/invoker.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/invoker.properties?rev=1300079&view=auto
==============================================================================
--- maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/invoker.properties (added)
+++ maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/invoker.properties Tue Mar 13 11:25:32 2012
@@ -0,0 +1 @@
+invoker.goals=clean package
Propchange: maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/invoker.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/invoker.properties
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/pom.xml?rev=1300079&view=auto
==============================================================================
--- maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/pom.xml (added)
+++ maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/pom.xml Tue Mar 13 11:25:32 2012
@@ -0,0 +1,23 @@
+<?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/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.maven.its.shade.pp</groupId>
+ <artifactId>reactors-included</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>one</artifactId>
+
+ <name>one</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+
+</project>
Propchange: maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/pom.xml
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/main/java/org/apache/maven/plugins/shade/its/one/App.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/main/java/org/apache/maven/plugins/shade/its/one/App.java?rev=1300079&view=auto
==============================================================================
--- maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/main/java/org/apache/maven/plugins/shade/its/one/App.java (added)
+++ maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/main/java/org/apache/maven/plugins/shade/its/one/App.java Tue Mar 13 11:25:32 2012
@@ -0,0 +1,13 @@
+package org.apache.maven.plugins.shade.its.one;
+
+/**
+ * Hello world!
+ *
+ */
+public class App
+{
+ public static void main( String[] args )
+ {
+ System.out.println( "Hello World!" );
+ }
+}
Propchange: maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/main/java/org/apache/maven/plugins/shade/its/one/App.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/main/java/org/apache/maven/plugins/shade/its/one/App.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/main/java/org/apache/maven/plugins/shade/its/one/AppOne.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/main/java/org/apache/maven/plugins/shade/its/one/AppOne.java?rev=1300079&view=auto
==============================================================================
--- maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/main/java/org/apache/maven/plugins/shade/its/one/AppOne.java (added)
+++ maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/main/java/org/apache/maven/plugins/shade/its/one/AppOne.java Tue Mar 13 11:25:32 2012
@@ -0,0 +1,13 @@
+package org.apache.maven.plugins.shade.its.one;
+
+/**
+ * Hello world!
+ *
+ */
+public class AppOne
+{
+ public static void main( String[] args )
+ {
+ System.out.println( "Hello World!" );
+ }
+}
Propchange: maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/main/java/org/apache/maven/plugins/shade/its/one/AppOne.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/main/java/org/apache/maven/plugins/shade/its/one/AppOne.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/test/java/org/apache/maven/plugins/shade/its/one/AppTest.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/test/java/org/apache/maven/plugins/shade/its/one/AppTest.java?rev=1300079&view=auto
==============================================================================
--- maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/test/java/org/apache/maven/plugins/shade/its/one/AppTest.java (added)
+++ maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/test/java/org/apache/maven/plugins/shade/its/one/AppTest.java Tue Mar 13 11:25:32 2012
@@ -0,0 +1,38 @@
+package org.apache.maven.plugins.shade.its.one;
+
+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-shade-plugin/src/it/project-with-reactors-included/one/src/test/java/org/apache/maven/plugins/shade/its/one/AppTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/one/src/test/java/org/apache/maven/plugins/shade/its/one/AppTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/pom.xml?rev=1300079&view=auto
==============================================================================
--- maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/pom.xml (added)
+++ maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/pom.xml Tue Mar 13 11:25:32 2012
@@ -0,0 +1,71 @@
+<?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>
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>org.apache.maven.its.shade.pp</groupId>
+ <artifactId>reactors-included</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+
+
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+
+
+ <name>MSHADE-75</name>
+ <description/>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.10</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven.its.shade.pp</groupId>
+ <artifactId>one</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <modules>
+ <module>one</module>
+ <module>two</module>
+ </modules>
+
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+</project>
\ No newline at end of file
Propchange: maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/pom.xml
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/pom.xml?rev=1300079&view=auto
==============================================================================
--- maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/pom.xml (added)
+++ maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/pom.xml Tue Mar 13 11:25:32 2012
@@ -0,0 +1,52 @@
+<?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/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.maven.its.shade.pp</groupId>
+ <artifactId>reactors-included</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>two</artifactId>
+
+ <name>two</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.maven.its.shade.pp</groupId>
+ <artifactId>one</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <version>@project.version@</version>
+ <executions>
+ <execution>
+ <id>attach-shade</id>
+ <phase>package</phase>
+ <goals>
+ <goal>shade</goal>
+ </goals>
+ <configuration>
+ <shadedArtifactAttached>false</shadedArtifactAttached>
+ <artifactSet>
+ <includes>
+ <include>org.apache.maven.its.shade.pp:one</include>
+ </includes>
+ </artifactSet>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Propchange: maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/pom.xml
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/src/main/java/org/apache/maven/plugins/shade/its/two/App.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/src/main/java/org/apache/maven/plugins/shade/its/two/App.java?rev=1300079&view=auto
==============================================================================
--- maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/src/main/java/org/apache/maven/plugins/shade/its/two/App.java (added)
+++ maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/src/main/java/org/apache/maven/plugins/shade/its/two/App.java Tue Mar 13 11:25:32 2012
@@ -0,0 +1,13 @@
+package org.apache.maven.plugins.shade.its.two;
+
+/**
+ * Hello world!
+ *
+ */
+public class App
+{
+ public static void main( String[] args )
+ {
+ System.out.println( "Hello World!" );
+ }
+}
Propchange: maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/src/main/java/org/apache/maven/plugins/shade/its/two/App.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/src/main/java/org/apache/maven/plugins/shade/its/two/App.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/src/test/java/org/apache/maven/plugins/shade/its/two/AppTest.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/src/test/java/org/apache/maven/plugins/shade/its/two/AppTest.java?rev=1300079&view=auto
==============================================================================
--- maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/src/test/java/org/apache/maven/plugins/shade/its/two/AppTest.java (added)
+++ maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/src/test/java/org/apache/maven/plugins/shade/its/two/AppTest.java Tue Mar 13 11:25:32 2012
@@ -0,0 +1,38 @@
+package org.apache.maven.plugins.shade.its.two;
+
+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-shade-plugin/src/it/project-with-reactors-included/two/src/test/java/org/apache/maven/plugins/shade/its/two/AppTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/two/src/test/java/org/apache/maven/plugins/shade/its/two/AppTest.java
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Added: maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/verify.bsh
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/verify.bsh?rev=1300079&view=auto
==============================================================================
--- maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/verify.bsh (added)
+++ maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/verify.bsh Tue Mar 13 11:25:32 2012
@@ -0,0 +1,26 @@
+
+
+import java.io.*;
+import java.util.jar.*;
+
+String[] wanted =
+{
+ "org/apache/maven/plugins/shade/its/one/AppOne.class",
+ "org/apache/maven/plugins/shade/its/one/App.class",
+ "org/apache/maven/plugins/shade/its/two/App.class"
+};
+
+
+JarFile jarFile = new JarFile( new File( basedir, "two/target/two-1.0-SNAPSHOT.jar" ) );
+
+for ( String path : wanted )
+{
+ if ( jarFile.getEntry( path ) == null )
+ {
+ throw new IllegalStateException( "wanted path is missing: " + path );
+ }
+}
+
+
+
+jarFile.close();
\ No newline at end of file
Propchange: maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/verify.bsh
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/plugins/trunk/maven-shade-plugin/src/it/project-with-reactors-included/verify.bsh
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision