You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by eb...@apache.org on 2013/03/20 15:35:52 UTC

svn commit: r1458855 - in /commons/sandbox/openpgp/trunk: pom.xml src/main/assembly/ src/main/assembly/bin.xml src/main/assembly/src.xml

Author: ebourg
Date: Wed Mar 20 14:35:52 2013
New Revision: 1458855

URL: http://svn.apache.org/r1458855
Log:
Generate binary and sources packages

Added:
    commons/sandbox/openpgp/trunk/src/main/assembly/
    commons/sandbox/openpgp/trunk/src/main/assembly/bin.xml   (with props)
    commons/sandbox/openpgp/trunk/src/main/assembly/src.xml   (with props)
Modified:
    commons/sandbox/openpgp/trunk/pom.xml

Modified: commons/sandbox/openpgp/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/openpgp/trunk/pom.xml?rev=1458855&r1=1458854&r2=1458855&view=diff
==============================================================================
--- commons/sandbox/openpgp/trunk/pom.xml (original)
+++ commons/sandbox/openpgp/trunk/pom.xml Wed Mar 20 14:35:52 2013
@@ -39,6 +39,19 @@
         <filtering>true</filtering>
       </resource>
     </resources>
+    <plugins>
+      <plugin>
+        <!-- create the source and binary assemblies -->
+        <artifactId>maven-assembly-plugin</artifactId>
+        <configuration>
+          <descriptors>
+            <descriptor>src/main/assembly/bin.xml</descriptor>
+            <descriptor>src/main/assembly/src.xml</descriptor>
+          </descriptors>
+          <tarLongFileMode>gnu</tarLongFileMode>
+        </configuration>
+      </plugin>
+    </plugins>
   </build>
 
   <developers>
@@ -78,7 +91,10 @@
     <maven.compile.target>1.5</maven.compile.target>
     <commons.componentid>openpgp</commons.componentid>
     <commons.jira.componentid>12311187</commons.jira.componentid>
-  </properties>
+    <!-- configuration bits for cutting a release candidate -->
+    <commons.release.version>${project.version}</commons.release.version>
+    <commons.rc.version>RC1</commons.rc.version>
+  </properties> 
 
 </project>
 

Added: commons/sandbox/openpgp/trunk/src/main/assembly/bin.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/openpgp/trunk/src/main/assembly/bin.xml?rev=1458855&view=auto
==============================================================================
--- commons/sandbox/openpgp/trunk/src/main/assembly/bin.xml (added)
+++ commons/sandbox/openpgp/trunk/src/main/assembly/bin.xml Wed Mar 20 14:35:52 2013
@@ -0,0 +1,45 @@
+<!--
+ 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>
+    <id>bin</id>
+    <formats>
+        <format>tar.gz</format>
+        <format>zip</format>
+    </formats>
+    <includeSiteDirectory>false</includeSiteDirectory>
+    <fileSets>
+        <fileSet>
+            <includes>
+                <include>LICENSE.txt</include>
+                <include>NOTICE.txt</include>
+                <include>README.txt</include>
+                <include>RELEASE-NOTES.txt</include>
+            </includes>
+        </fileSet>
+        <fileSet>
+            <directory>target</directory>
+            <outputDirectory></outputDirectory>
+            <includes>
+                <include>*.jar</include>
+            </includes>
+        </fileSet>
+        <fileSet>
+            <directory>target/site/apidocs</directory>
+            <outputDirectory>apidocs</outputDirectory>
+        </fileSet>
+    </fileSets>
+</assembly>

Propchange: commons/sandbox/openpgp/trunk/src/main/assembly/bin.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: commons/sandbox/openpgp/trunk/src/main/assembly/bin.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Added: commons/sandbox/openpgp/trunk/src/main/assembly/src.xml
URL: http://svn.apache.org/viewvc/commons/sandbox/openpgp/trunk/src/main/assembly/src.xml?rev=1458855&view=auto
==============================================================================
--- commons/sandbox/openpgp/trunk/src/main/assembly/src.xml (added)
+++ commons/sandbox/openpgp/trunk/src/main/assembly/src.xml Wed Mar 20 14:35:52 2013
@@ -0,0 +1,42 @@
+<!--
+ 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>
+    <id>src</id>
+    <formats>
+        <format>tar.gz</format>
+        <format>zip</format>
+    </formats>
+    <baseDirectory>${artifactId}-${commons.release.version}-src</baseDirectory>
+    <fileSets>
+        <fileSet>
+            <includes>
+                <include>build.xml</include>
+                <include>LICENSE.txt</include>
+                <include>NOTICE.txt</include>
+                <include>README.txt</include>
+                <include>RELEASE-NOTES.txt</include>
+                <include>pom.xml</include>
+                <include>STATUS</include>
+                <include>findbugs-exclude-filter.xml</include>
+                <include>pmd-ruleset.xml</include>
+            </includes>
+        </fileSet>
+        <fileSet>
+            <directory>src</directory>
+        </fileSet>
+    </fileSets>
+</assembly>

Propchange: commons/sandbox/openpgp/trunk/src/main/assembly/src.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: commons/sandbox/openpgp/trunk/src/main/assembly/src.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL