From bd275a5d3175ef1d7354a7a465fe4661c6069b2b Mon Sep 17 00:00:00 2001 From: zhihaoguo Date: Thu, 11 Apr 2024 16:31:39 +0800 Subject: [PATCH] Updated README.md to include detailed instructions on configuring Maven settings for GitHub Package Registry authentication. --- README.md | 39 ++++++++++++++++++++++++++------------- 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 0a2b7a623..6a42d10de 100644 --- a/README.md +++ b/README.md @@ -27,19 +27,32 @@ Please follow these steps: - Click Generate token and make sure to copy the token. 2. Configure Maven Settings - - Locate or create the settings.xml file in your .m2 directory. - - Add the GitHub Package Registry server configuration with your username and the PAT you just created. It should look something like this: - ```xml - - - - github - YOUR_GITHUB_USERNAME - YOUR_PERSONAL_ACCESS_TOKEN - - - - ``` + - Locate or create the settings.xml file in your .m2 directory(~/.m2/settings.xml). + - Add the GitHub Package Registry server configuration with your username and the PAT you just created. It should look something like this: + ```xml + + + + + + + github + YOUR_GITHUB_USERNAME + YOUR_PERSONAL_ACCESS_TOKEN + + + + + + + ``` ## Deployment Description