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 2021/11/25 06:20:19 UTC
[dubbo] 33/45: improve:构建时,添加源码包
This is an automated email from the ASF dual-hosted git repository.
liujun pushed a commit to branch release/3.0.14-rpccontext-bugfix
in repository https://gitbox.apache.org/repos/asf/dubbo.git
commit 9d4e27994864dc05c07a7ebc29b51501ece81b54
Author: 未宇 <li...@alibaba-inc.com>
AuthorDate: Thu Jan 7 15:25:31 2021 +0800
improve:构建时,添加源码包
---
dubbo-all/pom.xml | 1 +
pom.xml | 13 +++++++++++++
2 files changed, 14 insertions(+)
diff --git a/dubbo-all/pom.xml b/dubbo-all/pom.xml
index 5c2936e..8f69cda 100644
--- a/dubbo-all/pom.xml
+++ b/dubbo-all/pom.xml
@@ -29,6 +29,7 @@
<description>The all in one project of dubbo</description>
<properties>
<skip_maven_deploy>false</skip_maven_deploy>
+ <maven.source.skip>true</maven.source.skip>
</properties>
<dependencies>
<dependency>
diff --git a/pom.xml b/pom.xml
index 592881f..9fad51a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -444,6 +444,19 @@
</resources>
<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>
+
+ <plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven_jar_version}</version>
<configuration>