-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace s4u/maven-settings-action with simple ci/mvnsettings.xml file
- action was unable to set server with only id and passphrase ("servers must contain id, and username or configuration")
- Loading branch information
eschleb
committed
Oct 2, 2024
1 parent
5e2bb14
commit 9951958
Showing
3 changed files
with
37 additions
and
42 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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<settings xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 | ||
http://maven.apache.org/xsd/settings-1.0.0.xsd"> | ||
<servers> | ||
<!-- Magnolia Repositories --> | ||
<server> | ||
<id>magnolia.enterprise.group</id> | ||
<username>${env.MAGNOLIA_REPO_USER}</username> | ||
<password>${env.MAGNOLIA_REPO_PASSWORD}</password> | ||
</server> | ||
<server> | ||
<id>central</id> | ||
<username>${env.MAVEN_USERNAME}</username> | ||
<password>${env.MAVEN_PASSWORD}</password> | ||
</server> | ||
<server> | ||
<!-- https://maven.apache.org/plugins/maven-gpg-plugin/usage.html#configure-passphrase-in-settings-xml --> | ||
<id>gpg.passphrase</id> | ||
<passphrase>${env.MAVEN_GPG_PASSPHRASE}</passphrase> | ||
</server> | ||
</servers> | ||
</settings> |