This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking.git
The following commit(s) were added to refs/heads/master by this push:
new 65c503b Release fix (#2566)
65c503b is described below
commit 65c503b6743ef448d0c6531b48a2e88636f3b44b
Author: 吴晟 Wu Sheng <[email protected]>
AuthorDate: Tue Apr 30 18:01:39 2019 +0800
Release fix (#2566)
* Introduce new profile in release
* Fix a missing change.
* Fix wrong profile name.
---
docs/en/guides/How-to-release.md | 6 ++--
pom.xml | 65 +++++++++++++++++++++++++---------------
2 files changed, 44 insertions(+), 27 deletions(-)
diff --git a/docs/en/guides/How-to-release.md b/docs/en/guides/How-to-release.md
index aa99c5f..c8d0006 100644
--- a/docs/en/guides/How-to-release.md
+++ b/docs/en/guides/How-to-release.md
@@ -40,13 +40,13 @@ Apache maven staging repository check list.
## Test your settings
This step is only for test, if your env is set right, don't need to check
every time.
```
-./mvnw clean install -Papache-release (this will build artifacts, sources and
sign)
+./mvnw clean install -Pall (this will build artifacts, sources and sign)
```
## Prepare the release
```
./mvnw release:clean
-./mvnw release:prepare -DautoVersionSubmodules=true
+./mvnw release:prepare -DautoVersionSubmodules=true -Pall
```
- Set version number as x.y.z, and tag as **v**x.y.z (version tag must start
with **v**, you will find the purpose in next step.)
@@ -56,7 +56,7 @@ but just failure. Run `gpg --sign xxx` to any file could
remember the password f
## Stage the release
```
-./mvnw release:perform -DskipTests
+./mvnw release:perform -DskipTests -Pall
```
- The release will automatically be inserted into a temporary staging
repository for you.
diff --git a/pom.xml b/pom.xml
index 35096f2..96bd7c7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -113,6 +113,47 @@
<module>apm-dist</module>
</modules>
</profile>
+ <profile>
+ <id>all</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <modules>
+ <module>apm-sniffer</module>
+ <module>apm-application-toolkit</module>
+ <module>oap-server</module>
+ <module>apm-webapp</module>
+ <module>apm-dist</module>
+ </modules>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>${exec-maven-plugin.version}</version>
+ <executions>
+ <execution>
+ <id>git submodule update</id>
+ <phase>initialize</phase>
+ <inherited>false</inherited>
+ <configuration>
+ <executable>git</executable>
+ <arguments>
+ <argument>submodule</argument>
+ <argument>update</argument>
+ <argument>--init</argument>
+ <argument>--recursive</argument>
+ </arguments>
+ </configuration>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
<properties>
@@ -252,30 +293,6 @@
</pluginManagement>
<plugins>
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <version>${exec-maven-plugin.version}</version>
- <executions>
- <execution>
- <id>git submodule update</id>
- <phase>initialize</phase>
- <inherited>false</inherited>
- <configuration>
- <executable>git</executable>
- <arguments>
- <argument>submodule</argument>
- <argument>update</argument>
- <argument>--init</argument>
- <argument>--recursive</argument>
- </arguments>
- </configuration>
- <goals>
- <goal>exec</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${maven-enforcer-plugin.version}</version>
<executions>