You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kr...@apache.org on 2014/12/05 16:19:22 UTC

svn commit: r1643324 - in /maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-739: ./ pom.xml src/ src/main/ src/main/assembly/ src/main/assembly/assembly.xml src/main/scripts/ src/main/scripts/test.txt

Author: krosenvold
Date: Fri Dec  5 15:19:22 2014
New Revision: 1643324

URL: http://svn.apache.org/r1643324
Log:
[MASSEMBLY-739] Added testcase project

Added:
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-739/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-739/pom.xml
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-739/src/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-739/src/main/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-739/src/main/assembly/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-739/src/main/assembly/assembly.xml
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-739/src/main/scripts/
    maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-739/src/main/scripts/test.txt

Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-739/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-739/pom.xml?rev=1643324&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-739/pom.xml (added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-739/pom.xml Fri Dec  5 15:19:22 2014
@@ -0,0 +1,72 @@
+<!--
+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>
+    <packaging>jar</packaging>
+
+    <groupId>localhost</groupId>
+    <artifactId>assembly-739-bug</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+
+    <parent>
+        <groupId>org.apache.maven.plugin.assembly.test</groupId>
+        <artifactId>it-project-parent</artifactId>
+        <version>1</version>
+    </parent>
+
+    <properties>
+        <project.build.sourceEncoding>iso8859-1</project.build.sourceEncoding>
+        <project.reporting.outputEncoding>iso8859-1</project.reporting.outputEncoding>
+    </properties>
+
+    <build>
+        <plugins>
+            <plugin>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <!-- ACHTUNG: 2.5 - 2.5.2 is buggy: packed directories are write protected (mode 000) -->
+                <!-- Version 2.4 works and creates directories with mode 755 -->
+                <executions>
+                    <execution>
+                        <id>generate-assembly</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>attached</goal>
+                        </goals>
+                        <configuration>
+                            <descriptors>
+                                <descriptor>src/main/assembly/assembly.xml</descriptor>
+                            </descriptors>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+
+         </plugins>
+    </build>
+
+    <dependencies>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>4.5</version>
+            <scope>test</scope>
+        </dependency>
+    </dependencies>
+</project>

Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-739/src/main/assembly/assembly.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-739/src/main/assembly/assembly.xml?rev=1643324&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-739/src/main/assembly/assembly.xml (added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-739/src/main/assembly/assembly.xml Fri Dec  5 15:19:22 2014
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+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 xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
+          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+          xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
+    <id>conapp</id>
+    <formats>
+        <format>zip</format>
+    </formats>
+    <dependencySets>
+        <dependencySet>
+            <outputDirectory>lib</outputDirectory>
+        </dependencySet>
+    </dependencySets>
+    <fileSets>
+        <fileSet>
+            <outputDirectory>/bin</outputDirectory>
+            <directory>${basedir}/src/main/scripts</directory>
+        </fileSet>
+    </fileSets>
+</assembly>

Added: maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-739/src/main/scripts/test.txt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-739/src/main/scripts/test.txt?rev=1643324&view=auto
==============================================================================
--- maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-739/src/main/scripts/test.txt (added)
+++ maven/plugins/trunk/maven-assembly-plugin/src/it/projects/bugs/massembly-739/src/main/scripts/test.txt Fri Dec  5 15:19:22 2014
@@ -0,0 +1 @@
+An empty text file.
\ No newline at end of file