commonsrdf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wik...@apache.org
Subject [1/3] incubator-commonsrdf git commit: added source assembly configuration
Date Wed, 06 May 2015 10:23:39 GMT
Repository: incubator-commonsrdf
Updated Branches:
  refs/heads/master 51e7bdd65 -> 6e1cadc5a


added source assembly configuration


Project: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/commit/99990900
Tree: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/tree/99990900
Diff: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/diff/99990900

Branch: refs/heads/master
Commit: 99990900b37c191bad9675f6c12dbc56d0ab8d04
Parents: 51e7bdd
Author: Sergio Fernández <wikier@apache.org>
Authored: Wed May 6 11:45:06 2015 +0200
Committer: Sergio Fernández <wikier@apache.org>
Committed: Wed May 6 11:45:06 2015 +0200

----------------------------------------------------------------------
 assembly.xml | 38 ++++++++++++++++++++++++++++++++++++++
 pom.xml      | 20 +++++++++++++++++++-
 2 files changed, 57 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/99990900/assembly.xml
----------------------------------------------------------------------
diff --git a/assembly.xml b/assembly.xml
new file mode 100644
index 0000000..393e292
--- /dev/null
+++ b/assembly.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+   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>
+        <format>tar.gz</format>
+    </formats>
+    <fileSets>
+        <fileSet>
+            <directory>${project.basedir}</directory>
+            <outputDirectory></outputDirectory>
+            <excludes>
+                <exclude>**/target/**</exclude>
+                <exclude>**/.*/**</exclude>
+                <exclude>**/*.iml</exclude>
+                <exclude>**/*.ipr</exclude>
+                <exclude>**/*.iws</exclude>
+                <exclude>atlassian-ide-plugin.xml</exclude>
+            </excludes>
+        </fileSet>
+    </fileSets>
+</assembly>

http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/99990900/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 507091d..64ecdc9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -61,7 +61,6 @@
         <commons.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/commonsrdf/content/</commons.scmPubUrl>
         <commons.scmPubCheckoutDirectory>${project.build.directory}/site-content</commons.scmPubCheckoutDirectory>
         <commons.javadoc.java.link>http://docs.oracle.com/javase/8/docs/api/</commons.javadoc.java.link>
-        <assembly.skipAssembly>true</assembly.skipAssembly>
     </properties>
 
     <scm>
@@ -261,6 +260,25 @@
             </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>single</goal>
+                        </goals>
+                        <phase>package</phase>
+                        <configuration>
+                            <descriptors>
+                                <descriptor>assembly.xml</descriptor>
+                            </descriptors>
+                            <finalName>commons-rdf-${project.version}</finalName>
+                            <tarLongFileMode>gnu</tarLongFileMode>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-javadoc-plugin</artifactId>
                 <executions>
                     <execution>


Mime
View raw message