Skip to content

Instantly share code, notes, and snippets.

@andrewmkhoury
Created May 12, 2016 14:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewmkhoury/0ee9df724980b7163ce79b50d8944b5f to your computer and use it in GitHub Desktop.
Save andrewmkhoury/0ee9df724980b7163ce79b50d8944b5f to your computer and use it in GitHub Desktop.
Open Source settings.xml for use with Sling, Oak and Felix builds
<settings>
<profiles>
<!-- ====================================================== -->
<!-- Apache P R O F I L E -->
<!-- ====================================================== -->
<profile>
<id>maven-central</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>maven-central</id>
<name>Maven Repository</name>
<url>http://repo1.maven.org/maven2/</url>
<layout>default</layout>
</repository>
<repository>
<id>apache-snapshots</id>
<name>Apache Maven Snapshot Repository</name>
<url>http://repository.apache.org/snapshots/</url>
<layout>default</layout>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>maven-central</id>
<name>Maven Plugin Repository</name>
<url>http://repo1.maven.org/maven2/</url>
<layout>default</layout>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<!-- ========================================================================== -->
<!-- A C T I V E P R O F I L E S -->
<!-- ========================================================================== -->
<activeProfiles>
<activeProfile>maven-central</activeProfile>
</activeProfiles>
<servers>
<server>
<id>nexus-dev-snapshots</id>
<username>snapshotdeployer</username>
<password>snapshotdeployer</password>
</server>
</servers>
<!-- ========================================================================== -->
<!-- P L U G I N G R O U P S -->
<!-- ========================================================================== -->
<pluginGroups>
<pluginGroup>org.sonatype.plugins</pluginGroup>
<pluginGroup>com.day.jcr.vault</pluginGroup>
<pluginGroup>org.apache.sling</pluginGroup>
</pluginGroups>
</settings>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment