Also build modules we depend on when finish the release
Motivation: We also need to compile the modules we depend on when finish up the release otherwise it may fail. Modifications: Add "-am" to the mvn args Result: Correctly also compile the modules we depend on
This commit is contained in:
parent
7192ab0f0a
commit
3706b73d92
@ -25,7 +25,7 @@ git checkout "$2"
|
||||
|
||||
export JAVA_HOME="$JAVA8_HOME"
|
||||
|
||||
./mvnw -Psonatype-oss-release -pl resolver-dns-native-macos,transport-native-unix-common,transport-native-kqueue clean package gpg:sign org.sonatype.plugins:nexus-staging-maven-plugin:deploy -DstagingRepositoryId="$1" -DnexusUrl=https://oss.sonatype.org -DserverId=sonatype-nexus-staging -DskipTests=true
|
||||
./mvnw -Psonatype-oss-release -am -pl resolver-dns-native-macos,transport-native-unix-common,transport-native-kqueue clean package gpg:sign org.sonatype.plugins:nexus-staging-maven-plugin:deploy -DstagingRepositoryId="$1" -DnexusUrl=https://oss.sonatype.org -DserverId=sonatype-nexus-staging -DskipTests=true
|
||||
|
||||
./mvnw -Psonatype-oss-release,full,uber-staging -pl all,tarball clean package gpg:sign org.sonatype.plugins:nexus-staging-maven-plugin:deploy -DstagingRepositoryId="$1" -DnexusUrl=https://oss.sonatype.org -DserverId=sonatype-nexus-staging -DskipTests=true
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user