Rip out maven-release-plugin configuration.
#515
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Rip out
maven-release-pluginconfiguration.As best I can tell, this configuration has never offered anything over what we get by default from
maven-deploy-plugin(or its modern replacement,central-publishing-maven-plugin).I wouldn't rule out that we've never actually used
maven-release-pluginat all for our releases: We may have been runningmvn deployinstead ofmvn release:prepare+mvn release:perform. (Certainly the script that we use for most of our projects usesmvn deploydirectly.)I looked into the
-DenableCiProfilebit, and as best I can tell, we've never defined a property by that name, nor is it a standard part of Maven. I do see one defined in thepom.xmlformaven-surefire-plugin, but our setting the flag would have no effect on our usage of Surefire; the setting there would matter only when building Surefire.Anyway, this configuration dates back to cl/30835352 (Caliper) and cl/51674256 (Compile-Testing). I can't fully rule out that it's doing something for some process that someone uses, but I'm highly comfortable removing it. We can always roll back if we somehow see trouble, and I don't expect any trouble in the first place.
RELNOTES=n/a