Skip to content

Instantly share code, notes, and snippets.

@gastaldi
Created April 21, 2020 15:40
Show Gist options
  • Save gastaldi/bf2ecc19364b09c364a41d1fbc20af80 to your computer and use it in GitHub Desktop.
Save gastaldi/bf2ecc19364b09c364a41d1fbc20af80 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<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">
<offline>false</offline>
<servers>
<server>
<id>ossrh</id>
<username>gastaldi</username>
<password>CHANGE_ME</password>
</server>
<server>
<id>sonatype-nexus-release</id>
<username>gastaldi</username>
<password>CHANGE_ME</password>
</server>
<server>
<id>oss-sonatype-staging</id>
<username>gastaldi</username>
<password>CHANGE_ME</password>
<configuration>
<httpHeaders>
<!--
Override User-Agent header which is used when deploying an artifact
so that Sonatype Nexus does not create multiple staging repositories
when artifacts are deployed from different platforms (e.g. Linux and OSX).
-->
<property>
<name>User-Agent</name>
<value>Apache-Maven</value>
</property>
</httpHeaders>
</configuration>
</server>
<server>
<id>sonatype-nexus-staging</id>
<username>gastaldi</username>
<password>CHANGE_ME</password>
</server>
<server>
<id>jboss-staging-repository</id>
<username>gastaldi</username>
<password>CHANGE_ME</password>
</server>
<server>
<id>jboss-releases-repository</id>
<username>gastaldi</username>
<password>CHANGE_ME</password>
</server>
<server>
<id>jboss-snapshots-repository</id>
<username>gastaldi</username>
<password>CHANGE_ME</password>
</server>
</servers>
<profiles>
<profile>
<id>jboss-public-repository</id>
<repositories>
<repository>
<id>jboss-public-repository</id>
<name>JBoss Repository</name>
<url>https://repository.jboss.org/nexus/content/groups/public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>jboss-public-repository-snapshots</id>
<url>https://repository.jboss.org/nexus/content/repositories/snapshots/</url>
<layout>default</layout>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>jboss-public-repository</id>
<name>JBoss Public Maven Repository Group</name>
<url>https://repository.jboss.org/nexus/content/groups/public/</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
<profile>
<id>gpg</id>
<properties>
<gpg.useagent>true</gpg.useagent>
<gpg.passphrase>CHANGE_ME</gpg.passphrase>
<gpg.executable>gpg2</gpg.executable>
</properties>
</profile>
<profile>
<id>netbeans-ide</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<netbeans.installation>/usr/local/netbeans-8.0.1</netbeans.installation>
</properties>
</profile>
<!-- Configure the JBoss GA Maven repository -->
<profile>
<id>jboss-ga-repository</id>
<repositories>
<repository>
<id>jboss-ga-repository</id>
<url>http://maven.repository.redhat.com/techpreview/all</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>jboss-ga-plugin-repository</id>
<url>http://maven.repository.redhat.com/techpreview/all</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
<!-- Configure the JBoss Early Access Maven repository -->
<profile>
<id>jboss-earlyaccess-repository</id>
<repositories>
<repository>
<id>jboss-earlyaccess-repository</id>
<url>http://maven.repository.redhat.com/earlyaccess/all/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>jboss-earlyaccess-plugin-repository</id>
<url>http://maven.repository.redhat.com/earlyaccess/all/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<activeProfiles>
<!--
<activeProfile>jboss-ga-repository</activeProfile>
<activeProfile>jboss-earlyaccess-repository</activeProfile>
<activeProfile>jboss-public-repository</activeProfile>
-->
<activeProfile>gpg</activeProfile>
</activeProfiles>
</settings>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment