sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sra...@apache.org
Subject git commit: SENTRY-119 - Reduce tarball size by excluding third party directory (Brock Noland via Gregory Chanan)
Date Mon, 31 Mar 2014 21:22:16 GMT
Repository: incubator-sentry
Updated Branches:
  refs/heads/branch-1.3.0 a66e6fcf1 -> d4c2b98dc


SENTRY-119 - Reduce tarball size by excluding third party directory (Brock Noland via Gregory
Chanan)


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

Branch: refs/heads/branch-1.3.0
Commit: d4c2b98dc015706741cd89c4d6db27d7e6f156bd
Parents: a66e6fc
Author: Gregory Chanan <gregchanan@gmail.com>
Authored: Thu Feb 20 16:27:44 2014 -0800
Committer: Sravya Tirukkovalur <sravya@clouera.com>
Committed: Mon Mar 31 14:21:55 2014 -0700

----------------------------------------------------------------------
 sentry-dist/pom.xml                   |  2 +-
 sentry-dist/src/main/assembly/src.xml | 91 ++++++------------------------
 2 files changed, 19 insertions(+), 74 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-sentry/blob/d4c2b98d/sentry-dist/pom.xml
----------------------------------------------------------------------
diff --git a/sentry-dist/pom.xml b/sentry-dist/pom.xml
index 2c0df0c..7f317d5 100644
--- a/sentry-dist/pom.xml
+++ b/sentry-dist/pom.xml
@@ -81,7 +81,7 @@ limitations under the License.
             </goals>
             <inherited>false</inherited>
             <configuration>
-              <finalName>sentry-${project.version}</finalName>
+              <finalName>apache-sentry-${project.version}</finalName>
               <descriptors>
                 <descriptor>src/main/assembly/src.xml</descriptor>
                 <descriptor>src/main/assembly/bin.xml</descriptor>

http://git-wip-us.apache.org/repos/asf/incubator-sentry/blob/d4c2b98d/sentry-dist/src/main/assembly/src.xml
----------------------------------------------------------------------
diff --git a/sentry-dist/src/main/assembly/src.xml b/sentry-dist/src/main/assembly/src.xml
index 323488b..fefe182 100644
--- a/sentry-dist/src/main/assembly/src.xml
+++ b/sentry-dist/src/main/assembly/src.xml
@@ -22,100 +22,45 @@
   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">
 
-  <id>dist</id>
+  <id>src</id>
 
   <formats>
     <format>tar.gz</format>
   </formats>
 
-  <baseDirectory>sentry-${project.version}</baseDirectory>
+  <baseDirectory>apache-sentry-${project.version}-src</baseDirectory>
 
-  <moduleSets>
-
-    <moduleSet>
-      <useAllReactorProjects>true</useAllReactorProjects>
-
-      <includes>
-        <include>org.apache.sentry:sentry-binding</include>
-        <include>org.apache.sentry:sentry-binding-hive</include>
-        <include>org.apache.sentry:sentry-binding-solr</include>
-        <include>org.apache.sentry:sentry-core</include>
-        <include>org.apache.sentry:sentry-core-common</include>
-        <include>org.apache.sentry:sentry-core-model-db</include>
-        <include>org.apache.sentry:sentry-core-model-search</include>
-        <include>org.apache.sentry:sentry-provider</include>
-        <include>org.apache.sentry:sentry-provider-common</include>
-        <include>org.apache.sentry:sentry-provider-file</include>
-        <include>org.apache.sentry:sentry-policy</include>
-        <include>org.apache.sentry:sentry-policy-common</include>
-        <include>org.apache.sentry:sentry-policy-db</include>
-        <include>org.apache.sentry:sentry-policy-search</include>
-        <include>org.apache.sentry:sentry-tests</include>
-        <include>org.apache.sentry:sentry-tests-hive</include>
-        <include>org.apache.sentry:sentry-dist</include>
-      </includes>
-
-      <binaries>
-        <unpack>false</unpack>
-        <outputDirectory>lib</outputDirectory>
-
-        <dependencySets>
-          <dependencySet>
-            <useProjectArtifact>false</useProjectArtifact>
-            <outputDirectory>lib</outputDirectory>
-          </dependencySet>
-        </dependencySets>
-      </binaries>
-
-      <sources>
-        <includeModuleDirectory>true</includeModuleDirectory>
-        <excludeSubModuleDirectories>false</excludeSubModuleDirectories>
-
-        <fileSets>
-          <fileSet>
-            <excludes>
-              <exclude>target/**</exclude>
-              <exclude>*/target/**</exclude>
-              <exclude>.classpath</exclude>
-              <exclude>*/.classpath</exclude>
-              <exclude>.project</exclude>
-              <exclude>*/.project</exclude>
-              <exclude>.settings/**</exclude>
-              <exclude>*/.settings/**</exclude>
-            </excludes>
-          </fileSet>
-        </fileSets>
-      </sources>
-
-    </moduleSet>
-
-  </moduleSets>
   <fileSets>
     <fileSet>
-      <directory>../</directory>
+      <directory>${project.parent.basedir}</directory>
 
       <excludes>
-        <exclude>sentry-binding/**</exclude>
-        <exclude>sentry-core/**</exclude>
-        <exclude>sentry-dist/**</exclude>
-        <exclude>sentry-provider/**</exclude>
-        <exclude>sentry-policy/**</exclude>
-        <exclude>sentry-test/**</exclude>
         <exclude>**/target/**</exclude>
         <exclude>**/.classpath</exclude>
         <exclude>**/.project</exclude>
         <exclude>**/.settings/**</exclude>
-        <exclude>lib/**</exclude>
+        <exclude>sentry-tests/sentry-tests-hive/thirdparty/**</exclude>
       </excludes>
 
       <includes>
-        <include>.gitignore</include>
         <include>bin/**</include>
+        <include>**/.gitignore</include>
         <include>conf/**</include>
         <include>pom.xml</include>
-        <include>LICENSE.txt</include>
-        <include>NOTICE</include>
+        <include>CHANGELOG*</include>
+        <include>DISCLAIMER*</include>
+        <include>LICENSE*</include>
+        <include>NOTICE*</include>
+        <include>README*</include>
+        <include>dev-support/**</include>
+        <include>sentry-binding/**</include>
+        <include>sentry-core/**</include>
+        <include>sentry-dist/**</include>
+        <include>sentry-provider/**</include>
+        <include>sentry-policy/**</include>
+        <include>sentry-tests/**</include>
       </includes>
+      <outputDirectory>/</outputDirectory>
     </fileSet>
   </fileSets>
 


Mime
View raw message