diff --git a/docs/en/guides/How-to-release.md b/docs/en/guides/How-to-release.md index aa99c5f81..c8d0006d4 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 35096f25a..96bd7c7ac 100644 --- a/pom.xml +++ b/pom.xml @@ -113,6 +113,47 @@ apm-dist + + all + + false + + + apm-sniffer + apm-application-toolkit + oap-server + apm-webapp + apm-dist + + + + + org.codehaus.mojo + exec-maven-plugin + ${exec-maven-plugin.version} + + + git submodule update + initialize + false + + git + + submodule + update + --init + --recursive + + + + exec + + + + + + + @@ -251,30 +292,6 @@ - - org.codehaus.mojo - exec-maven-plugin - ${exec-maven-plugin.version} - - - git submodule update - initialize - false - - git - - submodule - update - --init - --recursive - - - - exec - - - - maven-enforcer-plugin ${maven-enforcer-plugin.version}