From 5a6fd46dc6c4c196cd8cad7d75b86e5473b539a6 Mon Sep 17 00:00:00 2001 From: Daniel Eder Date: Wed, 12 May 2021 12:04:10 +0200 Subject: [PATCH 1/2] Update README.md --- README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index df030a3..f24c75c 100644 --- a/README.md +++ b/README.md @@ -42,9 +42,18 @@ Include as Maven Dependency in pom.xml ``` +### Authenticating to GitHub Packages + **Attention:** -Despite the dgc-lib will be build by GitHub it is not possible to publicly provide access to this artifact. As long as -this package will not be put into a public registry you have to build it by your own. +GitHub does not allow anonymous access to it's package registry. You need to authenticate in order to use the dgc-lib artefact provided by us. +Therefore y ou need to authenticate to [GitHub Packages](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-apache-maven-registry) +The following steps need to be performed + +- Create [PAT](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token) with scopes: + - `read:packages` for downloading packages +- Copy/Augment `~/.m2/settings.xml` with the contents of `settings.xml` present in this repository (or in the DGC repository you are trying to build) + - Replace `${app.packages.username}` with your github username + - Replace `${app.packages.password}` with the generated PAT ## Development From 7fc64853b2191e0babc4b639f62dbc7cde2595d3 Mon Sep 17 00:00:00 2001 From: Felix Dittrich <31076102+f11h@users.noreply.github.com> Date: Wed, 12 May 2021 12:20:57 +0200 Subject: [PATCH 2/2] Typo in Readme.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f24c75c..daa8004 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ Include as Maven Dependency in pom.xml **Attention:** GitHub does not allow anonymous access to it's package registry. You need to authenticate in order to use the dgc-lib artefact provided by us. -Therefore y ou need to authenticate to [GitHub Packages](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-apache-maven-registry) +Therefore you need to authenticate to [GitHub Packages](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-apache-maven-registry) The following steps need to be performed - Create [PAT](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token) with scopes: