diff options
Diffstat (limited to '.mvn/settings-read-github-packages.xml')
-rw-r--r-- | .mvn/settings-read-github-packages.xml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.mvn/settings-read-github-packages.xml b/.mvn/settings-read-github-packages.xml new file mode 100644 index 000000000..fa1465ac2 --- /dev/null +++ b/.mvn/settings-read-github-packages.xml @@ -0,0 +1,25 @@ +<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd"> + +<!-- + GitHub Actions currently requires authentication even for read-only access to Maven artifacts stored in GitHub + Packages. There is no such thing as public package repositories without authentication. See here: + https://github.community/t/how-to-allow-unauthorised-read-access-to-github-packages-maven-repository/115517/4 + + How to use it: + https://github.com/jcansdale-test/maven-consume + + How to XML-encode an access token online (no problem to use the website, it is meant for public access anyway): + https://coderstoolbox.net/string/#!encoding=xml&action=encode&charset=none +--> + + <servers> + <server> + <id>github</id> + <username>kriegaex</username> + <!-- Public access token with 'read:packages' scope --> + <password>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</password> + </server> + </servers> + +</settings> |