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 2020/01/06 03:11:49 UTC

[dubbo] branch master updated: add sources profile (#5582)

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

liujun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo.git


The following commit(s) were added to refs/heads/master by this push:
     new dfdc9a6  add sources profile (#5582)
dfdc9a6 is described below

commit dfdc9a6ee8329f6eecab90f6b0f77a2ae2db811d
Author: hengyunabc <he...@gmail.com>
AuthorDate: Mon Jan 6 11:11:39 2020 +0800

    add sources profile (#5582)
---
 pom.xml | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/pom.xml b/pom.xml
index a5c900a..1590bf4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -275,6 +275,25 @@
             </build>
         </profile>
         <profile>
+            <id>sources</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <artifactId>maven-source-plugin</artifactId>
+                        <version>${maven_source_version}</version>
+                        <executions>
+                            <execution>
+                                <id>attach-sources</id>
+                                <goals>
+                                    <goal>jar</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+        <profile>
             <id>release</id>
             <properties>
                 <log4j2_version>2.11.1</log4j2_version>