You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by lu...@apache.org on 2015/06/08 19:14:30 UTC

[15/50] [abbrv] incubator-kylin git commit: KYLIN 669 update pom for rc3

KYLIN 669 update pom for rc3


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

Branch: refs/heads/master
Commit: a36025f96daa60c2fbac53aadb057c217a22c7be
Parents: 3db83d8
Author: Luke Han <lu...@apache.org>
Authored: Tue Jun 2 11:21:53 2015 +0800
Committer: Luke Han <lu...@apache.org>
Committed: Tue Jun 2 18:15:41 2015 +0800

----------------------------------------------------------------------
 pom.xml | 50 +++++++++++++++++++++++++++++---------------------
 1 file changed, 29 insertions(+), 21 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/a36025f9/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 261ba58..e36601d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -40,6 +40,7 @@
         <javaVersion>1.7</javaVersion>
         <maven-model.version>3.1.1</maven-model.version>
         <maven-release.version>2.5.1</maven-release.version>
+        <maven-assembly.version>2.4</maven-assembly.version>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
 
@@ -517,6 +518,7 @@
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-release-plugin</artifactId>
                     <version>${maven-release.version}</version>
+
                 </plugin>
                 <plugin>
                     <groupId>org.jacoco</groupId>
@@ -535,6 +537,11 @@
                         </execution>
                     </executions>
                 </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-assembly-plugin</artifactId>
+                    <version>${maven-assembly.version}</version>
+                </plugin>
             </plugins>
         </pluginManagement>
     </build>
@@ -655,6 +662,27 @@
             <id>apache-release</id>
             <build>
                 <plugins>
+                    <!-- Override the parent assembly execution to customize the assembly
+              descriptor and final name. -->
+                    <plugin>
+                        <artifactId>maven-assembly-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>source-release-assembly</id>
+                                <phase>package</phase>
+                                <goals>
+                                    <goal>single</goal>
+                                </goals>
+                                <configuration>
+                                    <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
+                                    <appendAssemblyId>false</appendAssemblyId>
+                                    <descriptor>src/main/config/assemblies/source-assembly.xml</descriptor>
+                                    <finalName>apache-kylin-${project.version}-src</finalName>
+                                    <tarLongFileMode>gnu</tarLongFileMode>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
                     <plugin>
                         <groupId>org.apache.maven.plugins</groupId>
                         <artifactId>maven-surefire-plugin</artifactId>
@@ -785,27 +813,7 @@
                             <failOnError>false</failOnError>
                         </configuration>
                     </plugin>
-                     <!-- Override the parent assembly execution to customize the assembly
-               descriptor and final name. -->
-          <plugin>
-            <artifactId>maven-assembly-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>source-release-assembly</id>
-                <phase>package</phase>
-                <goals>
-                  <goal>single</goal>
-                </goals>
-                <configuration>
-                  <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
-                  <appendAssemblyId>false</appendAssemblyId>
-                  <descriptor>src/main/config/assemblies/source-assembly.xml</descriptor>
-                  <finalName>apache-kylin-${project.version}-src</finalName>
-                  <tarLongFileMode>gnu</tarLongFileMode>
-                </configuration>
-              </execution>
-            </executions>
-          </plugin>
+
                 </plugins>
             </build>
         </profile>