maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdca...@apache.org
Subject svn commit: r689260 - in /maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285: ./ massembly-285-assembly/ massembly-285-assembly/${local.repo.path}/ massembly-285-assembly/src/ massembly-285-assembly/src/main/ massembly-285-ass...
Date Tue, 26 Aug 2008 22:07:03 GMT
Author: jdcasey
Date: Tue Aug 26 15:07:02 2008
New Revision: 689260

URL: http://svn.apache.org/viewvc?rev=689260&view=rev
Log:
Adding IT for MASSEMBLY-285

Added:
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/goals.txt
  (with props)
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/${local.repo.path}/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/goals.txt
  (with props)
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/pom.xml
  (with props)
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/src/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/src/main/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/src/main/assembly/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/src/main/assembly/bin.xml
  (with props)
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/src/main/java/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/src/main/java/tests/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/src/main/java/tests/App.java
  (with props)
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/verify.bsh
  (with props)
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod1/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod1/pom.xml
  (with props)
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod1/src/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod1/src/main/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod1/src/main/java/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod1/src/main/java/tests/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod1/src/main/java/tests/App.java
  (with props)
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod1/src/test/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod1/src/test/java/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod1/src/test/java/tests/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod1/src/test/java/tests/AppTest.java
  (with props)
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod2/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod2/pom.xml
  (with props)
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod2/src/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod2/src/main/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod2/src/main/java/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod2/src/main/java/tests/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod2/src/main/java/tests/App.java
  (with props)
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod2/src/test/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod2/src/test/java/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod2/src/test/java/tests/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod2/src/test/java/tests/AppTest.java
  (with props)
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/pom.xml 
 (with props)
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/verify.bsh
  (with props)

Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/goals.txt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/goals.txt?rev=689260&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/goals.txt
(added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/goals.txt
Tue Aug 26 15:07:02 2008
@@ -0,0 +1 @@
+install

Propchange: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/goals.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/goals.txt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/goals.txt?rev=689260&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/goals.txt
(added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/goals.txt
Tue Aug 26 15:07:02 2008
@@ -0,0 +1,3 @@
+# Specify the goals to be run here, one per line. Lines beginning with a hash '#' will be
ignored.
+clean
+package

Propchange: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/goals.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/pom.xml?rev=689260&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/pom.xml
(added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/pom.xml
Tue Aug 26 15:07:02 2008
@@ -0,0 +1,47 @@
+<?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>massembly-285</artifactId>
+    <version>1</version>
+  </parent>
+  
+  <artifactId>massembly-285-assembly</artifactId>
+  <packaging>jar</packaging>
+  
+  <dependencies>
+    <dependency>
+      <groupId>${pom.groupId}</groupId>
+      <artifactId>${pom.parent.artifactId}-mod1</artifactId>
+      <version>1</version>
+    </dependency>
+    <dependency>
+      <groupId>${pom.groupId}</groupId>
+      <artifactId>${pom.parent.artifactId}-mod2</artifactId>
+      <version>1</version>
+    </dependency>
+  </dependencies>
+  
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-assembly-plugin</artifactId>
+        <configuration>
+          <descriptors>
+            <descriptor>src/main/assembly/bin.xml</descriptor>
+          </descriptors>
+        </configuration>
+        <executions>
+          <execution>
+            <id>single-assembly</id>
+            <phase>package</phase>
+            <goals>
+              <goal>single</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Propchange: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/src/main/assembly/bin.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/src/main/assembly/bin.xml?rev=689260&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/src/main/assembly/bin.xml
(added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/src/main/assembly/bin.xml
Tue Aug 26 15:07:02 2008
@@ -0,0 +1,14 @@
+<assembly>
+  <id>bin</id>
+  <formats>
+    <format>jar</format>
+  </formats>
+  <includeBaseDirectory>false</includeBaseDirectory>
+  <dependencySets>
+    <dependencySet>
+      <outputDirectory>/</outputDirectory>
+      <useProjectArtifact>false</useProjectArtifact>
+      <unpack>true</unpack>
+    </dependencySet>
+  </dependencySets>
+</assembly>

Propchange: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/src/main/assembly/bin.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/src/main/java/tests/App.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/src/main/java/tests/App.java?rev=689260&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/src/main/java/tests/App.java
(added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/src/main/java/tests/App.java
Tue Aug 26 15:07:02 2008
@@ -0,0 +1,13 @@
+package tests;
+
+/**
+ * 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/bugs/massembly-285/massembly-285-assembly/src/main/java/tests/App.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/verify.bsh
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/verify.bsh?rev=689260&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/verify.bsh
(added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/verify.bsh
Tue Aug 26 15:07:02 2008
@@ -0,0 +1,7 @@
+import java.io.File;
+
+/*
+ This is where you verify the results of the assembly build. You may need to check the existence
of a file,
+ or even peek within a jar file to determine whether the assembly did the right thing.
+ */
+return new File( basedir, "target/${artifactId}-${version}-bin.dir/lib/junit.jar" ).exists();

Propchange: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-assembly/verify.bsh
------------------------------------------------------------------------------
    svn:eol-style = native

Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod1/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod1/pom.xml?rev=689260&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod1/pom.xml
(added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod1/pom.xml
Tue Aug 26 15:07:02 2008
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?><project>
+  <parent>
+    <artifactId>massembly-285</artifactId>
+    <groupId>org.apache.maven.plugin.assembly.test</groupId>
+    <version>1</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>massembly-285-mod1</artifactId>
+
+  <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/bugs/massembly-285/massembly-285-mod1/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod1/src/main/java/tests/App.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod1/src/main/java/tests/App.java?rev=689260&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod1/src/main/java/tests/App.java
(added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod1/src/main/java/tests/App.java
Tue Aug 26 15:07:02 2008
@@ -0,0 +1,13 @@
+package tests;
+
+/**
+ * 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/bugs/massembly-285/massembly-285-mod1/src/main/java/tests/App.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod1/src/test/java/tests/AppTest.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod1/src/test/java/tests/AppTest.java?rev=689260&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod1/src/test/java/tests/AppTest.java
(added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod1/src/test/java/tests/AppTest.java
Tue Aug 26 15:07:02 2008
@@ -0,0 +1,38 @@
+package tests;
+
+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/bugs/massembly-285/massembly-285-mod1/src/test/java/tests/AppTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod2/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod2/pom.xml?rev=689260&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod2/pom.xml
(added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod2/pom.xml
Tue Aug 26 15:07:02 2008
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?><project>
+  <parent>
+    <artifactId>massembly-285</artifactId>
+    <groupId>org.apache.maven.plugin.assembly.test</groupId>
+    <version>1</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>massembly-285-mod2</artifactId>
+
+  <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/bugs/massembly-285/massembly-285-mod2/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod2/src/main/java/tests/App.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod2/src/main/java/tests/App.java?rev=689260&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod2/src/main/java/tests/App.java
(added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod2/src/main/java/tests/App.java
Tue Aug 26 15:07:02 2008
@@ -0,0 +1,13 @@
+package tests;
+
+/**
+ * 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/bugs/massembly-285/massembly-285-mod2/src/main/java/tests/App.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod2/src/test/java/tests/AppTest.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod2/src/test/java/tests/AppTest.java?rev=689260&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod2/src/test/java/tests/AppTest.java
(added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/massembly-285-mod2/src/test/java/tests/AppTest.java
Tue Aug 26 15:07:02 2008
@@ -0,0 +1,38 @@
+package tests;
+
+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/bugs/massembly-285/massembly-285-mod2/src/test/java/tests/AppTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/pom.xml?rev=689260&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/pom.xml (added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/pom.xml Tue
Aug 26 15:07:02 2008
@@ -0,0 +1,18 @@
+<?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>
+  
+  <artifactId>massembly-285</artifactId>
+  <packaging>pom</packaging>
+  
+  <modules>
+    <module>massembly-285-mod1</module>
+    <module>massembly-285-mod2</module>
+    <module>massembly-285-assembly</module>
+  </modules>
+</project>
\ No newline at end of file

Propchange: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/verify.bsh
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/verify.bsh?rev=689260&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/verify.bsh
(added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/verify.bsh
Tue Aug 26 15:07:02 2008
@@ -0,0 +1,26 @@
+import java.io.*;
+import java.util.*;
+import java.util.jar.*;
+
+File f = new File( basedir, "massembly-285-assembly/target/massembly-285-assembly-1-bin.jar"
);
+JarFile jf = new JarFile( f );
+
+String testPath = "tests/App.class";
+
+int count = 0;
+
+Enumeration e = jf.entries();
+while( e.hasMoreElements() )
+{
+	if ( testPath.equals( String.valueOf( e.nextElement() ) ) )
+	{
+		count++;
+	}
+}
+
+if ( count != 1 )
+{
+	System.out.println( "ERROR! Test path: " + testPath + " was found " + count + " times (should
have been 1)." );
+}
+
+return count == 1;
\ No newline at end of file

Propchange: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-285/verify.bsh
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message