File tree 8 files changed +14
-25
lines changed
spring-cloud-gcp-dependencies
spring-cloud-gcp-starters/spring-cloud-gcp-starter-config
8 files changed +14
-25
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ jobs:
117
117
./mvnw \
118
118
--batch-mode \
119
119
--no-transfer-progress \
120
- -Drelease =true \
120
+ -DperformRelease =true \
121
121
-DskipTests \
122
122
-Dgpg.skip \
123
123
-Dcheckstyle.skip \
Original file line number Diff line number Diff line change @@ -38,6 +38,6 @@ create_settings_xml_file $MAVEN_SETTINGS_FILE
38
38
--batch-mode \
39
39
--settings ${MAVEN_SETTINGS_FILE} \
40
40
-DstagingRepositoryId=${STAGING_REPOSITORY_ID} \
41
- -Drelease =true
41
+ -DperformRelease =true
42
42
43
43
popd
Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ create_settings_xml_file $MAVEN_SETTINGS_FILE
38
38
--batch-mode \
39
39
--settings ${MAVEN_SETTINGS_FILE} \
40
40
-DstagingRepositoryId=${STAGING_REPOSITORY_ID} \
41
- -Drelease=true \
42
- --activate-profiles skip-unreleased-modules
41
+ -DperformRelease=true \
43
42
44
43
popd
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ PROJECT_VERSION=$(grep "^spring-cloud-gcp:" "./versions.txt" | cut -d: -f3)
16
16
python3 -m pip install --require-hashes -r .kokoro/requirements.txt
17
17
18
18
# Build the javadocs
19
- mvn clean javadoc:aggregate -Drelease =true
19
+ mvn clean javadoc:aggregate -DperformRelease =true
20
20
21
21
# Move into generated docs directory
22
22
pushd target/reports/apidocs/
Original file line number Diff line number Diff line change @@ -43,17 +43,15 @@ export MAVEN_OPTS="--add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.
43
43
-Dgpg.executable=gpg \
44
44
-Dgpg.passphrase=${GPG_PASSPHRASE} \
45
45
-Dgpg.homedir=${GPG_HOMEDIR} \
46
- -Drelease=true \
47
- --activate-profiles skip-unreleased-modules
46
+ -DperformRelease=true \
48
47
49
48
# promote release
50
49
if [[ -n " ${AUTORELEASE_PR} " ]]
51
50
then
52
51
./mvnw nexus-staging:release \
53
52
--batch-mode \
54
53
--settings ${MAVEN_SETTINGS_FILE} \
55
- -Drelease=true \
56
- --activate-profiles skip-unreleased-modules
54
+ -DperformRelease=true \
57
55
fi
58
56
59
57
popd
Original file line number Diff line number Diff line change 448
448
<id >default</id >
449
449
<activation >
450
450
<property >
451
- <name >!release </name >
451
+ <name >!performRelease </name >
452
452
</property >
453
453
</activation >
454
454
<modules >
703
703
<id >release</id >
704
704
<activation >
705
705
<property >
706
- <name >release </name >
706
+ <name >performRelease </name >
707
707
</property >
708
708
</activation >
709
709
<modules >
815
815
</excludePackageNames >
816
816
</configuration >
817
817
</plugin >
818
- <plugin >
819
- <groupId >org.apache.maven.plugins</groupId >
820
- <artifactId >maven-source-plugin</artifactId >
821
- <executions >
822
- <execution >
823
- <id >attach-sources</id >
824
- <goals >
825
- <goal >jar</goal >
826
- </goals >
827
- <phase >package</phase >
828
- </execution >
829
- </executions >
830
- </plugin >
831
818
<plugin >
832
819
<groupId >org.codehaus.mojo</groupId >
833
820
<artifactId >flatten-maven-plugin</artifactId >
Original file line number Diff line number Diff line change 318
318
<id >release</id >
319
319
<activation >
320
320
<property >
321
- <name >release </name >
321
+ <name >performRelease </name >
322
322
</property >
323
323
</activation >
324
324
<build >
Original file line number Diff line number Diff line change 36
36
<!-- skip for GA releases to Maven Central -->
37
37
<profile >
38
38
<id >skip-unreleased-modules</id >
39
+ <activation >
40
+ <property >
41
+ <name >performRelease</name >
42
+ </property >
43
+ </activation >
39
44
<build >
40
45
<plugins >
41
46
<plugin >
You can’t perform that action at this time.
0 commit comments