phoenix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeffr...@apache.org
Subject [26/50] git commit: PHOENIX-104: Remove source files from current phoenix-<version>.tar.gz to phoenix-<version>-source.tar.gz tar ball.
Date Mon, 10 Mar 2014 06:20:43 GMT
PHOENIX-104: Remove source files from current phoenix-<version>.tar.gz to phoenix-<version>-source.tar.gz
tar ball.


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

Branch: refs/heads/master
Commit: a4b4fbebe896e9aebd03c965dd562548f76f07c5
Parents: 6ddcbbe
Author: Jeffrey Zhong <jzhong@JZhongs-MacBook-Pro.local>
Authored: Tue Mar 4 11:03:22 2014 -0800
Committer: Jeffrey Zhong <jzhong@JZhongs-MacBook-Pro.local>
Committed: Tue Mar 4 11:03:22 2014 -0800

----------------------------------------------------------------------
 phoenix-assembly/pom.xml           |  16 +++++
 phoenix-assembly/src/build/all.xml |  38 +-----------
 phoenix-assembly/src/build/src.xml | 102 ++++++++++++++++++++++++++++++++
 3 files changed, 119 insertions(+), 37 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-phoenix/blob/a4b4fbeb/phoenix-assembly/pom.xml
----------------------------------------------------------------------
diff --git a/phoenix-assembly/pom.xml b/phoenix-assembly/pom.xml
index 9a89206..17df9c0 100644
--- a/phoenix-assembly/pom.xml
+++ b/phoenix-assembly/pom.xml
@@ -56,6 +56,22 @@
             </configuration>
           </execution>
           <execution>
+            <id>package-to-source-tar</id>
+            <phase>package</phase>
+            <goals>
+              <goal>single</goal>
+            </goals>
+            <configuration>
+            <finalName>phoenix-${project.version}-source</finalName>
+              <attach>false</attach>
+              <tarLongFileMode>gnu</tarLongFileMode>
+              <appendAssemblyId>false</appendAssemblyId>
+              <descriptors>
+                <descriptor>src/build/src.xml</descriptor>
+              </descriptors>
+            </configuration>
+          </execution>          
+          <execution>
             <id>client-minimal</id>
             <phase>package</phase>
             <goals>

http://git-wip-us.apache.org/repos/asf/incubator-phoenix/blob/a4b4fbeb/phoenix-assembly/src/build/all.xml
----------------------------------------------------------------------
diff --git a/phoenix-assembly/src/build/all.xml b/phoenix-assembly/src/build/all.xml
index 9974db6..e9e0dbb 100644
--- a/phoenix-assembly/src/build/all.xml
+++ b/phoenix-assembly/src/build/all.xml
@@ -13,55 +13,19 @@
       <!-- Enable access to all projects in the current multimodule build. Eclipse 
         says this is an error, but builds from the command line just fine. -->
       <useAllReactorProjects>true</useAllReactorProjects>
-       <!-- Include all the sources in the top directory -->
-      <sources>
-         <fileSets>
-          <fileSet>
-            <!-- Make sure this excludes is same as the phoenix-hadoop2-compat
-                 excludes below -->
-            <excludes>
-              <exclude>target/</exclude>
-              <exclude>test/</exclude>
-              <exclude>.classpath</exclude>
-              <exclude>.project</exclude>
-              <exclude>.settings/</exclude>
-            </excludes>
-          </fileSet>
-        </fileSets>
-      </sources>
     </moduleSet>
   </moduleSets>
 
   <fileSets>
-    <!--This one is weird.  When we assemble src, it'll be default profile which
-         at the moment is hadoop1.  But we should include the hadoop2 compat module
-         too so can build hadoop2 from src -->
-    <fileSet>
-      <directory>${project.basedir}/..</directory>
-      <fileMode>0644</fileMode>
-      <directoryMode>0755</directoryMode>
-      <includes>
-        <include>phoenix-*</include>
-        </includes>
-            <excludes>
-              <exclude>target/</exclude>
-              <exclude>test/</exclude>
-              <exclude>.classpath</exclude>
-              <exclude>.project</exclude>
-              <exclude>.settings/</exclude>
-            </excludes>
-    </fileSet>
+    <!-- Top level directories -->
     <fileSet>
       <!--Get misc project files -->
       <directory>${project.basedir}/..</directory>
       <outputDirectory>/</outputDirectory>
       <includes>
         <include>*.txt</include>
-        <include>*.md</include>
-        <include>pom.xml</include>
       </includes>
     </fileSet>
-    <!-- Top level directories -->
     <fileSet>
       <directory>${project.basedir}/../bin</directory>
       <outputDirectory>bin</outputDirectory>

http://git-wip-us.apache.org/repos/asf/incubator-phoenix/blob/a4b4fbeb/phoenix-assembly/src/build/src.xml
----------------------------------------------------------------------
diff --git a/phoenix-assembly/src/build/src.xml b/phoenix-assembly/src/build/src.xml
new file mode 100644
index 0000000..ad8277f
--- /dev/null
+++ b/phoenix-assembly/src/build/src.xml
@@ -0,0 +1,102 @@
+<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0
http://maven.apache.org/xsd/assembly-1.1.0.xsd">
+  <!--This 'all' id is not appended to the produced bundle because we do this: http://maven.apache.org/plugins/maven-assembly-plugin/faq.html#required-classifiers
-->
+  <id>src</id>
+  <formats>
+    <format>tar.gz</format>
+  </formats>
+  <includeBaseDirectory>true</includeBaseDirectory>
+  
+  <moduleSets>
+    <moduleSet>
+      <!-- Enable access to all projects in the current multimodule build. Eclipse 
+        says this is an error, but builds from the command line just fine. -->
+      <useAllReactorProjects>true</useAllReactorProjects>
+       <!-- Include all the sources in the top directory -->
+      <sources>
+         <fileSets>
+          <fileSet>
+            <!-- Make sure this excludes is same as the phoenix-hadoop2-compat
+                 excludes below -->
+            <excludes>
+              <exclude>target/</exclude>
+              <exclude>test/</exclude>
+              <exclude>.classpath</exclude>
+              <exclude>.project</exclude>
+              <exclude>.settings/</exclude>
+            </excludes>
+          </fileSet>
+        </fileSets>
+      </sources>
+    </moduleSet>
+  </moduleSets>
+
+  <fileSets>
+    <!--This one is weird.  When we assemble src, it'll be default profile which
+         at the moment is hadoop1.  But we should include the hadoop2 compat module
+         too so can build hadoop2 from src -->
+    <fileSet>
+      <directory>${project.basedir}/..</directory>
+      <fileMode>0644</fileMode>
+      <directoryMode>0755</directoryMode>
+      <includes>
+        <include>phoenix-*</include>
+        </includes>
+            <excludes>
+              <exclude>target/</exclude>
+              <exclude>test/</exclude>
+              <exclude>.classpath</exclude>
+              <exclude>.project</exclude>
+              <exclude>.settings/</exclude>
+            </excludes>
+    </fileSet>
+    <fileSet>
+      <!--Get misc project files -->
+      <directory>${project.basedir}/..</directory>
+      <outputDirectory>/</outputDirectory>
+      <includes>
+        <include>*.txt</include>
+        <include>*.md</include>
+        <include>pom.xml</include>
+      </includes>
+    </fileSet>
+    <!-- Top level directories -->
+    <fileSet>
+      <directory>${project.basedir}/../bin</directory>
+      <outputDirectory>bin</outputDirectory>
+      <fileMode>0755</fileMode>
+      <directoryMode>0755</directoryMode>
+      <includes>
+        <include>*.py</include>
+        <include>*.sh</include>
+      </includes>
+    </fileSet>
+    <fileSet>
+      <directory>${project.basedir}/../bin</directory>
+      <outputDirectory>bin</outputDirectory>
+      <fileMode>0644</fileMode>
+      <directoryMode>0755</directoryMode>
+      <excludes>
+        <exclude>*.py/</exclude>
+        <exclude>*.sh/</exclude>
+      </excludes>
+    </fileSet>
+    <fileSet>
+      <directory>${project.basedir}/../dev</directory>
+      <fileMode>0644</fileMode>
+      <directoryMode>0755</directoryMode>
+    </fileSet>
+    <fileSet>
+      <directory>${project.basedir}/../docs</directory>
+      <fileMode>0644</fileMode>
+      <directoryMode>0755</directoryMode>
+    </fileSet>
+      <fileSet>
+      <directory>${project.basedir}/../examples</directory>
+      <fileMode>0644</fileMode>
+      <directoryMode>0755</directoryMode>
+    </fileSet>
+  </fileSets>
+
+</assembly>


Mime
View raw message