directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r1070293 - in /directory/shared/trunk/distribution: pom.xml src/main/assembly/bin.xml src/main/assembly/src.xml src/main/release/NOTICE
Date Sun, 13 Feb 2011 20:40:12 GMT
Author: seelmann
Date: Sun Feb 13 20:40:12 2011
New Revision: 1070293

URL: http://svn.apache.org/viewvc?rev=1070293&view=rev
Log:
Generate source distribution

Added:
    directory/shared/trunk/distribution/src/main/assembly/src.xml
Modified:
    directory/shared/trunk/distribution/pom.xml
    directory/shared/trunk/distribution/src/main/assembly/bin.xml
    directory/shared/trunk/distribution/src/main/release/NOTICE

Modified: directory/shared/trunk/distribution/pom.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/distribution/pom.xml?rev=1070293&r1=1070292&r2=1070293&view=diff
==============================================================================
--- directory/shared/trunk/distribution/pom.xml (original)
+++ directory/shared/trunk/distribution/pom.xml Sun Feb 13 20:40:12 2011
@@ -66,8 +66,10 @@
           <execution>
             <phase>package</phase>
             <configuration>
+              <tarLongFileMode>gnu</tarLongFileMode>
               <descriptors>
                 <descriptor>src/main/assembly/bin.xml</descriptor>
+                <descriptor>src/main/assembly/src.xml</descriptor>
               </descriptors>
             </configuration>
             <goals>
@@ -76,6 +78,23 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.geronimo.genesis.plugins</groupId>
+        <artifactId>tools-maven-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>verify-legal-files</id>
+            <phase>verify</phase>
+            <goals>
+              <goal>verify-legal-files</goal>
+            </goals>
+            <configuration>
+              <!-- avoid false positive, as we add a '-bin' or '-src' to the base directory
-->
+              <strict>false</strict>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
 </project>

Modified: directory/shared/trunk/distribution/src/main/assembly/bin.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/distribution/src/main/assembly/bin.xml?rev=1070293&r1=1070292&r2=1070293&view=diff
==============================================================================
--- directory/shared/trunk/distribution/src/main/assembly/bin.xml (original)
+++ directory/shared/trunk/distribution/src/main/assembly/bin.xml Sun Feb 13 20:40:12 2011
@@ -22,6 +22,7 @@
         <format>zip</format>
         <format>tar.gz</format>
     </formats>
+    <baseDirectory>${project.build.finalName}-bin</baseDirectory>
     <fileSets>
         <fileSet>
             <directory>src/main/release</directory>

Added: directory/shared/trunk/distribution/src/main/assembly/src.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/distribution/src/main/assembly/src.xml?rev=1070293&view=auto
==============================================================================
--- directory/shared/trunk/distribution/src/main/assembly/src.xml (added)
+++ directory/shared/trunk/distribution/src/main/assembly/src.xml Sun Feb 13 20:40:12 2011
@@ -0,0 +1,48 @@
+<?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.
+-->
+<!-- $Rev:  $ $Date:  $ -->
+<assembly xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/assembly-1.1.0-SNAPSHOT.xsd">
+    <id>src</id>
+    <formats>
+        <format>zip</format>
+        <format>tar.gz</format>
+    </formats>
+    <baseDirectory>${project.build.finalName}-src</baseDirectory>
+    <fileSets>
+        <fileSet>
+            <directory>${project.basedir}/..</directory>
+            <outputDirectory>/</outputDirectory>
+            <useDefaultExcludes>true</useDefaultExcludes>
+            <excludes>
+                <exclude>/</exclude>
+                <exclude>LICENSE</exclude>
+                <exclude>NOTICE</exclude>
+                <exclude>**/.*/**</exclude>
+                <exclude>**/*.log</exclude>
+                <exclude>**/${project.build.directory}/**</exclude>
+            </excludes>
+        </fileSet>
+        <fileSet>
+            <directory>src/main/release</directory>
+            <outputDirectory>/</outputDirectory>
+            <includes>
+                <include>**</include>
+            </includes>
+        </fileSet>
+    </fileSets>
+</assembly>

Modified: directory/shared/trunk/distribution/src/main/release/NOTICE
URL: http://svn.apache.org/viewvc/directory/shared/trunk/distribution/src/main/release/NOTICE?rev=1070293&r1=1070292&r2=1070293&view=diff
==============================================================================
--- directory/shared/trunk/distribution/src/main/release/NOTICE (original)
+++ directory/shared/trunk/distribution/src/main/release/NOTICE Sun Feb 13 20:40:12 2011
@@ -5,5 +5,6 @@ This product includes software developed
 The Apache Software Foundation (http://www.apache.org/).
 
 Additional copyright notices and license terms applicable are
-present in the licenses directory of this distribution.
+present in the distribution/src/main/release/licenses or
+licenses directory.
 



Mime
View raw message