-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When running `mvn gpg:sign-and-deploy-file ...` Maven uses the latest available version which is 3.2.0 (https://github.com/apache/maven-gpg-plugin/releases/tag/maven-gpg-plugin-3.2.0). Using 3.2.0 makes our tests fail, so we tentatively pin to 3.1.0 until we do further investigations. PiperOrigin-RevId: 614822141 Change-Id: Ia3daf42558289ac7bba4b1d146644a64a804edcc
- Loading branch information
1 parent
a15440d
commit e97ea04
Showing
2 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -110,8 +110,9 @@ parse_args() { | |
if [[ -z "${GIT_URL}" ]]; then | ||
usage | ||
fi | ||
# TODO(b/329143784): Move to 3.2.0 when possible. | ||
MAVEN_ARGS+=( | ||
"gpg:sign-and-deploy-file" | ||
"org.apache.maven.plugins:maven-gpg-plugin:3.1.0:sign-and-deploy-file" | ||
"-DrepositoryId=ossrh" | ||
"-Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/" | ||
"[email protected]" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -156,7 +156,8 @@ test_MavenDeployLibraryTest_ReleaseSucceeds() { | |
|
||
cat << EOF > expected_commands.txt | ||
bazel build tink.jar tink-src.jar tink-javadoc.jar | ||
mvn gpg:sign-and-deploy-file -DrepositoryId=ossrh \ | ||
mvn org.apache.maven.plugins:maven-gpg-plugin:3.1.0:sign-and-deploy-file \ | ||
-DrepositoryId=ossrh \ | ||
-Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ \ | ||
[email protected] \ | ||
--settings=${TEST_CASE_TMPDIR}/${RELATIVE_MVN_DIR_PATH}/settings.xml \ | ||
|