You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@falcon.apache.org by sr...@apache.org on 2013/07/23 03:37:21 UTC

[2/8] git commit: FALCON-56 Update Falcon packing to include all source files. Contributed by Srikanth Sundarrajan

FALCON-56 Update Falcon packing to include all source files. Contributed by Srikanth Sundarrajan


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

Branch: refs/heads/master
Commit: 39eb956236f6e46b407299490eb720b154b7d506
Parents: caa0d26
Author: srikanth.sundarrajan <sr...@inmobi.com>
Authored: Mon Jul 22 19:06:21 2013 +0530
Committer: srikanth.sundarrajan <sr...@inmobi.com>
Committed: Mon Jul 22 19:06:21 2013 +0530

----------------------------------------------------------------------
 pom.xml                             |  1 +
 src/main/assemblies/package.xml     | 18 +--------------
 src/main/assemblies/src-package.xml | 38 ++++++++++++++++++++++++++++++++
 3 files changed, 40 insertions(+), 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/39eb9562/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 5776c30..0d4ff47 100644
--- a/pom.xml
+++ b/pom.xml
@@ -769,6 +769,7 @@
                 <configuration>
                     <descriptors>
                         <descriptor>src/main/assemblies/package.xml</descriptor>
+                        <descriptor>src/main/assemblies/src-package.xml</descriptor>
                     </descriptors>
                     <finalName>falcon-${project.version}</finalName>
                 </configuration>

http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/39eb9562/src/main/assemblies/package.xml
----------------------------------------------------------------------
diff --git a/src/main/assemblies/package.xml b/src/main/assemblies/package.xml
index fd600f2..b68692b 100644
--- a/src/main/assemblies/package.xml
+++ b/src/main/assemblies/package.xml
@@ -20,9 +20,9 @@
     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">
     <formats>
-        <format>dir</format>
         <format>tar.gz</format>
     </formats>
+    <id>bin</id>
     <fileSets>
         <fileSet>
             <directory>src/conf/</directory>
@@ -35,22 +35,6 @@
         </fileSet>
 
         <fileSet>
-            <directory>.</directory>
-            <outputDirectory>src</outputDirectory>
-            <includes>
-                <include>**/target/*sources.jar</include>
-            </includes>
-        </fileSet>
-
-        <fileSet>
-            <directory>.</directory>
-            <outputDirectory>docs</outputDirectory>
-            <includes>
-                <include>**/target/*javadoc.jar</include>
-            </includes>
-        </fileSet>
-
-        <fileSet>
             <directory>client/target/dependency</directory>
             <outputDirectory>client/lib</outputDirectory>
         </fileSet>

http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/39eb9562/src/main/assemblies/src-package.xml
----------------------------------------------------------------------
diff --git a/src/main/assemblies/src-package.xml b/src/main/assemblies/src-package.xml
new file mode 100644
index 0000000..bdcf464
--- /dev/null
+++ b/src/main/assemblies/src-package.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 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">
+    <formats>
+        <format>tar.gz</format>
+    </formats>
+    <id>sources</id>
+    <fileSets>
+        <fileSet>
+            <directory>.</directory>
+            <excludes>
+                <exclude>**/target/**</exclude>
+                <exclude>**/logs/**</exclude>
+                <exclude>**/activemq-data/**</exclude>
+                <exclude>**/.git/**</exclude>
+            </excludes>
+        </fileSet>
+    </fileSets>
+</assembly>
+