Skip to content

Commit ba88b86

Browse files
authored
Merge pull request #306 from azure-javaee/update_github_packages_desc
Update github packages description
2 parents 7c63549 + bd275a5 commit ba88b86

File tree

1 file changed

+26
-13
lines changed

1 file changed

+26
-13
lines changed

README.md

Lines changed: 26 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,32 @@ Please follow these steps:
2727
- Click Generate token and make sure to copy the token.
2828

2929
2. Configure Maven Settings
30-
- Locate or create the settings.xml file in your .m2 directory.
31-
- Add the GitHub Package Registry server configuration with your username and the PAT you just created. It should look something like this:
32-
```xml
33-
<settings>
34-
<servers>
35-
<server>
36-
<id>github</id>
37-
<username>YOUR_GITHUB_USERNAME</username>
38-
<password>YOUR_PERSONAL_ACCESS_TOKEN</password>
39-
</server>
40-
</servers>
41-
</settings>
42-
```
30+
- Locate or create the settings.xml file in your .m2 directory(~/.m2/settings.xml).
31+
- Add the GitHub Package Registry server configuration with your username and the PAT you just created. It should look something like this:
32+
```xml
33+
<settings xmlns="http://maven.apache.org/SETTINGS/1.2.0"
34+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
35+
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.2.0
36+
https://maven.apache.org/xsd/settings-1.2.0.xsd">
37+
38+
<!-- other settings
39+
...
40+
-->
41+
42+
<servers>
43+
<server>
44+
<id>github</id>
45+
<username>YOUR_GITHUB_USERNAME</username>
46+
<password>YOUR_PERSONAL_ACCESS_TOKEN</password>
47+
</server>
48+
</servers>
49+
50+
<!-- other settings
51+
...
52+
-->
53+
54+
</settings>
55+
```
4356

4457

4558
## Deployment Description

0 commit comments

Comments
 (0)