File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,6 +44,13 @@ mvn clean deploy -B \
4444 -P release \
4545 -P release-non-google-oss-sonatype
4646
47+ echo " Finding nexus-staging"
48+ find . -name " nexus-staging"
49+
50+ echo " Done"
51+ echo " Finding staging"
52+ find . -name " staging"
53+ echo " Done"
4754
4855# The job triggered by Release Please (release-trigger) has this AUTORELEASE_PR
4956# environment variable. Fusion also lets us to specify this variable.
5259 echo " Releasing the staging repositories"
5360 mvn nexus-staging:release -B \
5461 -DperformRelease=true \
55- --settings=${MAVEN_SETTINGS_FILE}
62+ --settings=${MAVEN_SETTINGS_FILE} \
63+ --projects " ${includedMapsModule} " \
64+ -P release-non-google-oss-sonatype
5665else
5766 echo " AUTORELEASE_PR is not set. Not releasing."
5867fi
Original file line number Diff line number Diff line change 210210 </plugins >
211211 </build >
212212 </profile >
213+ <profile >
214+ <id >release-non-google-oss-sonatype</id >
215+ <build >
216+ <plugins >
217+ <plugin >
218+ <groupId >org.sonatype.plugins</groupId >
219+ <artifactId >nexus-staging-maven-plugin</artifactId >
220+ <configuration >
221+ <serverId >ossrh</serverId >
222+ <nexusUrl >https://oss.sonatype.org/</nexusUrl >
223+ </configuration >
224+ </plugin >
225+ </plugins >
226+ </build >
227+ </profile >
213228 </profiles >
214229</project >
You can’t perform that action at this time.
0 commit comments