Skip to content

Commit 75b95ed

Browse files
cpovirkCompile-Testing Team
authored and
Compile-Testing Team
committed
Name our release profile sonatype-oss-release instead of release.
This matches what we do for most of our other projects. (Compile-Testing seems to be the only project that uses a particular feature, `<releaseProfiles>`, so I'm kind of just guessing that I need to update the value there to match.) Motivation: I had trouble releasing 0.20 in part because I was trying to use `-P sonatype-oss-release`. I eventually succeeded by setting _both_ that _and_ `-P release`, but it would be nice not to need that next time. The specific problem appeared to be at least partially about getting an ancient "default" version of `maven-gpg-plugin` instead of the version specified inside the release profile. (And then I had an additional issue from possibly losing my `.m2/settings.xml` when I got a new machine....) Hopefully this new fix is correct, though I guess I'll have to carefully start but not finish a release to be sure. RELNOTES=n/a PiperOrigin-RevId: 492199969
1 parent ea22b1d commit 75b95ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
<artifactId>maven-release-plugin</artifactId>
116116
<version>2.5.3</version>
117117
<configuration>
118-
<releaseProfiles>release</releaseProfiles>
118+
<releaseProfiles>sonatype-oss-release</releaseProfiles>
119119
<goals>deploy</goals>
120120
</configuration>
121121
</plugin>
@@ -174,7 +174,7 @@
174174
</dependencies>
175175
</profile>
176176
<profile>
177-
<id>release</id>
177+
<id>sonatype-oss-release</id>
178178
<activation>
179179
<activeByDefault>false</activeByDefault>
180180
</activation>

0 commit comments

Comments
 (0)