You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by li...@apache.org on 2018/05/14 15:26:54 UTC

[incubator-dubbo] branch 2.6.2-release updated: Add assembly plugin

This is an automated email from the ASF dual-hosted git repository.

liujun pushed a commit to branch 2.6.2-release
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo.git


The following commit(s) were added to refs/heads/2.6.2-release by this push:
     new 938e52d  Add assembly plugin
938e52d is described below

commit 938e52dad95af1286961374a1ae27c502b9a92f1
Author: ken.lj <ke...@gmail.com>
AuthorDate: Mon May 14 23:14:15 2018 +0800

    Add assembly plugin
---
 pom.xml | 49 +++++++++++++++++++++++++++----------------------
 1 file changed, 27 insertions(+), 22 deletions(-)

diff --git a/pom.xml b/pom.xml
index f8ce7ed..f008d46 100644
--- a/pom.xml
+++ b/pom.xml
@@ -530,6 +530,33 @@
                     <goals>deploy</goals>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <dependencies>
+                    <dependency>
+                        <groupId>org.apache.apache.resources</groupId>
+                        <artifactId>apache-source-release-assembly-descriptor</artifactId>
+                        <version>1.0.6</version>
+                    </dependency>
+                </dependencies>
+                <executions>
+                    <execution>
+                        <id>source-release-assembly</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>single</goal>
+                        </goals>
+                        <configuration>
+                            <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
+                            <descriptorRefs>
+                                <descriptorRef>source-release</descriptorRef>
+                            </descriptorRefs>
+                            <tarLongFileMode>gnu</tarLongFileMode>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
 
         <pluginManagement>
@@ -553,33 +580,11 @@
                     <artifactId>maven-paxexam-plugin</artifactId>
                     <version>1.2.4</version>
                 </plugin>
-                <!--<plugin>-->
-                <!--<artifactId>maven-jar-plugin</artifactId>-->
-                <!--<version>3.0.2</version>-->
-                <!--<executions>-->
-                <!--<execution>-->
-                <!--<id>default-jar</id>-->
-                <!--<configuration>-->
-                <!--<archive>-->
-                <!--<manifest>-->
-                <!--<addDefaultImplementationEntries>true</addDefaultImplementationEntries>-->
-                <!--</manifest>-->
-                <!--<index>true</index>-->
-                <!--<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>-->
-                <!--</archive>-->
-                <!--</configuration>-->
-                <!--</execution>-->
-                <!--</executions>-->
-                <!--</plugin>-->
                 <plugin>
                     <artifactId>maven-dependency-plugin</artifactId>
                     <version>2.10</version>
                 </plugin>
                 <plugin>
-                    <artifactId>maven-assembly-plugin</artifactId>
-                    <version>2.6</version>
-                </plugin>
-                <plugin>
                     <!-- Do NOT upgrade -->
                     <artifactId>maven-jxr-plugin</artifactId>
                     <version>2.2</version>

-- 
To stop receiving notification emails like this one, please contact
liujun@apache.org.