Last active
September 15, 2021 15:21
-
-
Save shark8me/5165a4090a175492b23a2b0feb5ed0ea to your computer and use it in GitHub Desktop.
Maven settings.xml entry to allow for download of jars from Github registry
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <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 | |
| http://maven.apache.org/xsd/settings-1.0.0.xsd"> | |
| <activeProfiles> | |
| <activeProfile>github</activeProfile> | |
| </activeProfiles> | |
| <profiles> | |
| <profile> | |
| <id>github</id> | |
| <repositories> | |
| <repository> | |
| <id>central</id> | |
| <url>https://repo1.maven.org/maven2</url> | |
| </repository> | |
| <repository> | |
| <id>github</id> | |
| <url>https://maven.pkg.github.com/github_username/*</url> | |
| <snapshots> | |
| <enabled>true</enabled> | |
| </snapshots> | |
| </repository> | |
| </repositories> | |
| </profile> | |
| </profiles> | |
| <servers> | |
| <server> | |
| <id>github</id> | |
| <username>user</username> | |
| <password>Github Personal access token</password> | |
| </server> | |
| </servers> | |
| </settings> | |
| ~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment