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/24 18:10:19 UTC

svn commit: r1000937 - in /maven/plugins/trunk/maven-assembly-plugin/src/it/projects/basic-features/this & that: ./ pom.xml src/ src/main/ src/main/assembly/ src/main/assembly/src.xml verify.bsh

Author: jdcasey
Date: Fri Sep 24 16:10:19 2010
New Revision: 1000937

URL: http://svn.apache.org/viewvc?rev=1000937&view=rev
Log:
[MASSEMBLY-378] Verify that basedir with ampersand in name doesn't cause problems

Added:
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/basic-features/this & that/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/basic-features/this & that/pom.xml
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/basic-features/this & that/src/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/basic-features/this & that/src/main/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/basic-features/this & that/src/main/assembly/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/basic-features/this & that/src/main/assembly/src.xml
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/basic-features/this & that/verify.bsh

Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/basic-features/this & that/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/basic-features/this%20%26%20that/pom.xml?rev=1000937&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/basic-features/this & that/pom.xml (added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/basic-features/this & that/pom.xml Fri Sep 24 16:10:19 2010
@@ -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>it-project-parent</artifactId>
+    <version>1</version>
+  </parent>
+  
+  <groupId>test</groupId>
+  <artifactId>parent</artifactId>
+  <version>1</version>
+  
+  <name>Test</name>
+
+  <build>
+    <!-- <pluginManagement>
+      <plugins>
+        <plugin>
+          <artifactId>maven-assembly-plugin</artifactId>
+          <version>2.2-beta-6-SNAPSHOT</version>
+        </plugin>
+      </plugins>
+    </pluginManagement> -->
+    
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-assembly-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>assembly</id>
+            <phase>package</phase>
+            <goals>
+              <goal>single</goal>
+            </goals>
+            <configuration>
+              <descriptors>
+                <descriptor>src/main/assembly/src.xml</descriptor>
+              </descriptors>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/basic-features/this & that/src/main/assembly/src.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/basic-features/this%20%26%20that/src/main/assembly/src.xml?rev=1000937&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/basic-features/this & that/src/main/assembly/src.xml (added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/basic-features/this & that/src/main/assembly/src.xml Fri Sep 24 16:10:19 2010
@@ -0,0 +1,15 @@
+<assembly>
+  <id>src</id>
+  <formats>
+    <format>dir</format>
+  </formats>
+  <includeBaseDirectory>false</includeBaseDirectory>
+  <fileSets>
+    <fileSet>
+      <directory>${project.basedir}</directory>
+      <excludes>
+        <exclude>target/**</exclude>
+      </excludes>
+    </fileSet>
+  </fileSets>
+</assembly>
\ No newline at end of file

Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/basic-features/this & that/verify.bsh
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/basic-features/this%20%26%20that/verify.bsh?rev=1000937&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/basic-features/this & that/verify.bsh (added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/basic-features/this & that/verify.bsh Fri Sep 24 16:10:19 2010
@@ -0,0 +1 @@
+return new java.io.File( basedir, "target/parent-1-src/src/main/assembly/src.xml" ).exists();
\ No newline at end of file