generated from Best-Quality-Engineering/ossrh-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d573f45
commit 991cb3e
Showing
3 changed files
with
5 additions
and
9 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
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
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 |
---|---|---|
@@ -1,10 +1,6 @@ | ||
#!/bin/bash -e | ||
|
||
# Setup maven settings-security.xml for nexus staging | ||
echo "Installing ~/.m2/settings-security.xml" | ||
printenv SETTINGS_SECURITY_XML > ~/.m2/settings-security.xml | ||
|
||
# Setup the code signing key; it will be used to publish snapshots and releases | ||
printenv CODE_SIGNING_KEY > /tmp/code-signing-key.asc | ||
gpg --batch --no-default-keyring --allow-secret-key-import --import /tmp/code-signing-key.asc | ||
rm /tmp/code-signing-key.asc | ||
echo "Installing ${HOME}/.m2/settings-security.xml" | ||
printenv SETTINGS_SECURITY_XML > "${HOME}/.m2/settings-security.xml" | ||
# -Dsettings.security=%path.to.maven.security% |