Author: jdcasey
Date: Sun Mar 18 12:21:49 2007
New Revision: 519676

URL: http://svn.apache.org/viewvc?view=rev&rev=519676
Log:
[MASSEMBLY-144] Added integration test to verify that this works in 
2.2-SNAPSHOT.

Added:
    
maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/
    
maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/TODO.txt
   (with props)
    
maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/goals.txt
   (with props)
    
maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/pom.xml
   (with props)
    
maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/src/
    
maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/src/assemble/
    
maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/src/assemble/bin.xml
   (with props)
    
maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/verify.bsh

Added: 
maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/TODO.txt
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/TODO.txt?view=auto&rev=519676
==============================================================================
--- 
maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/TODO.txt
 (added)
+++ 
maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/TODO.txt
 Sun Mar 18 12:21:49 2007
@@ -0,0 +1 @@
+Test

Propchange: 
maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/TODO.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/TODO.txt
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: 
maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/goals.txt
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/goals.txt?view=auto&rev=519676
==============================================================================
--- 
maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/goals.txt
 (added)
+++ 
maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/goals.txt
 Sun Mar 18 12:21:49 2007
@@ -0,0 +1 @@
+org.apache.maven.plugins:maven-assembly-plugin:testing:directory

Propchange: 
maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/goals.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/goals.txt
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: 
maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/pom.xml?view=auto&rev=519676
==============================================================================
--- 
maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/pom.xml
 (added)
+++ 
maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/pom.xml
 Sun Mar 18 12:21:49 2007
@@ -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>
+  <groupId>org.test</groupId>
+  <artifactId>parent</artifactId>
+  <version>1.0</version>
+  
+  <name>Parent</name>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-assembly-plugin</artifactId>
+        <!-- <version>testing</version> -->
+        <configuration>
+          <descriptors>
+            <descriptor>src/assemble/bin.xml</descriptor>
+          </descriptors>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Propchange: 
maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/pom.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: 
maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/src/assemble/bin.xml
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/src/assemble/bin.xml?view=auto&rev=519676
==============================================================================
--- 
maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/src/assemble/bin.xml
 (added)
+++ 
maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/src/assemble/bin.xml
 Sun Mar 18 12:21:49 2007
@@ -0,0 +1,14 @@
+
+<assembly>
+  <id>bug-example</id>
+  <formats>
+    <format>dir</format>
+  </formats>
+  <includeBaseDirectory>false</includeBaseDirectory>
+  <files>
+    <file>
+      <source>TODO.txt</source>
+      <outputDirectory>/</outputDirectory>
+    </file>
+  </files>
+</assembly>

Propchange: 
maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/src/assemble/bin.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/src/assemble/bin.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: 
maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/verify.bsh
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/verify.bsh?view=auto&rev=519676
==============================================================================
--- 
maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/verify.bsh
 (added)
+++ 
maven/plugins/trunk/maven-assembly-plugin/src/it/basic-features/file-copyIntoTopDir/verify.bsh
 Sun Mar 18 12:21:49 2007
@@ -0,0 +1,17 @@
+import java.io.*;
+import java.net.*;
+import java.util.jar.*;
+
+boolean result = true;
+
+try
+{
+    result = new File( basedir, "target/parent-1.0-bug-example.dir/TODO.txt" 
).exists();   
+}
+catch( IOException e )
+{
+    e.printStackTrace();
+    result = false;
+}
+
+return result;


Reply via email to