-
Notifications
You must be signed in to change notification settings - Fork 0
Github
Crome696 edited this page Nov 3, 2022
·
2 revisions
In order to use Maven packages of this organization, it's required, that you set up a Personal Access Token. The following Instruction should help you to fast create a token and store it on your computer. Any IDE requires this for authentication and further usage.
Go to your Personal Access Token Settings and create a new classic personal access token.
For ScriptSDK you only require the permission to read packages.
Create a new settings.xml text file
<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">
<servers>
<server>
<id>github</id>
<username>USER_NAME</username>
<password>PAT_TOKEN</password>
</server>
</servers>
</settings>
Replace USER_NAME with your GitHub username. Replace PAT_TOKEN with your freshly generated personal access token.
Save file to C:\Users<USERNAME>.m2\ and replace with your own username.