File tree Expand file tree Collapse file tree 1 file changed +26
-13
lines changed Expand file tree Collapse file tree 1 file changed +26
-13
lines changed Original file line number Diff line number Diff line change @@ -27,19 +27,32 @@ Please follow these steps:
27
27
- Click Generate token and make sure to copy the token.
28
28
29
29
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
+ ```
43
56
44
57
45
58
## Deployment Description
You can’t perform that action at this time.
0 commit comments