| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- vi: set et smarttab sw=2 tabstop=2: --> |
| |
| <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"> |
| |
| <mirrors> |
| <mirror> |
| <id>release-mirror</id> |
| <name>Local Nexus mirror for builds</name> |
| <url>${env.NEXUS_URL}/content/repositories/public/</url> |
| <mirrorOf>central</mirrorOf> |
| </mirror> |
| </mirrors> |
| |
| <profiles> |
| <profile> |
| <id>releases</id> |
| <repositories> |
| <repository> |
| <id>releases</id> |
| <name>releases</name> |
| <url>${env.NEXUS_URL}/content/repositories/releases/</url> |
| <releases> |
| <enabled>true</enabled> |
| <updatePolicy>never</updatePolicy> |
| </releases> |
| <snapshots> |
| <enabled>false</enabled> |
| </snapshots> |
| </repository> |
| </repositories> |
| <pluginRepositories> |
| <pluginRepository> |
| <id>releases</id> |
| <name>releases</name> |
| <url>${env.NEXUS_URL}/content/repositories/releases/</url> |
| <releases> |
| <enabled>true</enabled> |
| <updatePolicy>never</updatePolicy> |
| </releases> |
| <snapshots> |
| <enabled>false</enabled> |
| </snapshots> |
| </pluginRepository> |
| </pluginRepositories> |
| </profile> |
| |
| <profile> |
| <id>staging</id> |
| <repositories> |
| <repository> |
| <id>staging</id> |
| <name>staging</name> |
| <url>${env.NEXUS_URL}/content/repositories/staging/</url> |
| <releases> |
| <enabled>true</enabled> |
| </releases> |
| <snapshots> |
| <enabled>false</enabled> |
| </snapshots> |
| </repository> |
| </repositories> |
| </profile> |
| |
| <profile> |
| <id>snapshots</id> |
| <repositories> |
| <repository> |
| <id>snapshots</id> |
| <name>snapshots</name> |
| <url>${env.NEXUS_URL}/content/repositories/snapshots/</url> |
| <releases> |
| <enabled>false</enabled> |
| </releases> |
| <snapshots> |
| <enabled>true</enabled> |
| </snapshots> |
| </repository> |
| </repositories> |
| <pluginRepositories> |
| <pluginRepository> |
| <id>snapshots</id> |
| <name>snapshots</name> |
| <url>${env.NEXUS_URL}/content/repositories/snapshots/</url> |
| <releases> |
| <enabled>false</enabled> |
| </releases> |
| <snapshots> |
| <enabled>true</enabled> |
| </snapshots> |
| </pluginRepository> |
| </pluginRepositories> |
| </profile> |
| |
| </profiles> |
| |
| <activeProfiles> |
| <activeProfile>releases</activeProfile> |
| <activeProfile>snapshots</activeProfile> |
| </activeProfiles> |
| </settings> |