Skip to content

Instantly share code, notes, and snippets.

@riuvshin
Created January 19, 2015 08:36
Show Gist options
  • Save riuvshin/a88445d94fa7f895bfb6 to your computer and use it in GitHub Desktop.
Save riuvshin/a88445d94fa7f895bfb6 to your computer and use it in GitHub Desktop.
m2 config codenvy template
<?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">
<localRepository>PATH_TO_YOUR_LOCAL_REPO</localRepository>
<servers>
<!-- =========================== -->
<!-- codenvy credentials -->
<!-- =========================== -->
<!-- To upload in our repositories -->
<server>
<id>repo.codenvy.private</id>
<username>LOGIN</username>
<password>PWD</password>
</server>
</servers>
<mirrors>
<mirror>
<id>repo.codenvy.private</id>
<mirrorOf>external:*</mirrorOf>
<url>http://maven.codenvycorp.com/content/groups/codenvy-private-group/</url>
</mirror>
</mirrors>
<profiles>
<profile>
<id>override-central</id>
<repositories>
<repository>
<id>central</id>
<url>http://fake</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<url>http://fake</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>override-central</activeProfile>
</activeProfiles>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment