pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r908953 - in /pdfbox/trunk: pom.xml src/assembly/ src/assembly/src.xml
Date Thu, 11 Feb 2010 13:07:56 GMT
Author: jukka
Date: Thu Feb 11 13:07:53 2010
New Revision: 908953

URL: http://svn.apache.org/viewvc?rev=908953&view=rev
Log:
PDFBOX-545: Switch PDFBox build to Maven

Add a source release assembly.

Added:
    pdfbox/trunk/src/assembly/
    pdfbox/trunk/src/assembly/src.xml   (with props)
Modified:
    pdfbox/trunk/pom.xml

Modified: pdfbox/trunk/pom.xml
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pom.xml?rev=908953&r1=908952&r2=908953&view=diff
==============================================================================
--- pdfbox/trunk/pom.xml (original)
+++ pdfbox/trunk/pom.xml Thu Feb 11 13:07:53 2010
@@ -196,5 +196,31 @@
     </plugins>
   </build>
 
+  <profiles>
+    <profile>
+      <id>apache-release</id>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-assembly-plugin</artifactId>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>single</goal>
+                </goals>
+                <phase>package</phase>
+                <configuration>
+                  <descriptors>
+                    <descriptor>src/assembly/src.xml</descriptor>
+                  </descriptors>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+
 </project>
 

Added: pdfbox/trunk/src/assembly/src.xml
URL: http://svn.apache.org/viewvc/pdfbox/trunk/src/assembly/src.xml?rev=908953&view=auto
==============================================================================
--- pdfbox/trunk/src/assembly/src.xml (added)
+++ pdfbox/trunk/src/assembly/src.xml Thu Feb 11 13:07:53 2010
@@ -0,0 +1,36 @@
+<!--
+ 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>zip</format>
+  </formats>
+  <fileSets>
+    <fileSet>
+      <directory>${project.basedir}</directory>
+      <outputDirectory></outputDirectory>
+      <excludes>
+        <exclude>bin/**</exclude>
+        <exclude>download/**</exclude>
+        <exclude>external/**</exclude>
+        <exclude>target/**</exclude>
+        <exclude>tools/**</exclude>
+        <exclude>.*/**</exclude>
+      </excludes>
+    </fileSet>
+  </fileSets>
+</assembly>

Propchange: pdfbox/trunk/src/assembly/src.xml
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message