diff options
-rw-r--r-- | templates/.m2/settings.xml | 61 |
1 files changed, 20 insertions, 41 deletions
diff --git a/templates/.m2/settings.xml b/templates/.m2/settings.xml index 756e999..9254468 100644 --- a/templates/.m2/settings.xml +++ b/templates/.m2/settings.xml @@ -1,56 +1,35 @@ <?xml version="1.0" encoding="UTF-8"?> <settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd" xmlns="http://maven.apache.org/SETTINGS/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <servers> - <server> - <username>ben</username> - <password>{{ pass "virtyx/maven-token" }}</password> - <id>central</id> - </server> - <server> - <username>ben</username> - <password>{{ pass "virtyx/maven-token" }}</password> - <id>snapshots</id> - </server> - </servers> + + <activeProfiles> + <activeProfile>github</activeProfile> + </activeProfiles> + <profiles> <profile> + <id>github</id> <repositories> <repository> - <snapshots> - <enabled>false</enabled> - </snapshots> <id>central</id> - <name>libs-release</name> - <url>https://maven.virtyx.com/artifactory/libs-release</url> + <snapshots><enabled>true</enabled></snapshots> + <releases><enabled>true</enabled></releases> + <url>https://repo1.maven.org/maven2</url> </repository> <repository> - <snapshots /> - <id>snapshots</id> - <name>libs-snapshot</name> - <url>https://maven.virtyx.com/artifactory/libs-snapshot</url> + <id>github</id> + <name>GitHub virtyx-technologies Apache Maven Packages</name> + <url>https://maven.pkg.github.com/virtyx-technologies/maven</url> </repository> </repositories> - <pluginRepositories> - <pluginRepository> - <snapshots> - <enabled>false</enabled> - </snapshots> - <id>central</id> - <name>plugins-release</name> - <url>https://maven.virtyx.com/artifactory/plugins-release</url> - </pluginRepository> - <pluginRepository> - <snapshots /> - <id>snapshots</id> - <name>plugins-snapshot</name> - <url>https://maven.virtyx.com/artifactory/plugins-snapshot</url> - </pluginRepository> - </pluginRepositories> - <id>artifactory</id> </profile> </profiles> - <activeProfiles> - <activeProfile>artifactory</activeProfile> - </activeProfiles> + + <servers> + <server> + <id>github</id> + <username>benburwell</username> + <password>{{ pass "github-token" }}</password> + </server> + </servers> </settings> |