ansible-roles/smartgears/dataminer_app/templates/maven-settings.xml.j2

124 lines
3.5 KiB
Django/Jinja

<settings xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<servers>
<server>
<id>gcube-snapshots</id>
</server>
</servers>
<profiles>
<profile>
<id>gcube</id>
<repositories>
{% if dataminer_maven_enable_gcube_snapshots %}
<repository>
<id>gcube-snapshots</id>
<name>gCube Snapshots</name>
<url>http://maven.research-infrastructures.eu/nexus/content/repositories/gcube-snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
{% endif %}
{% if dataminer_maven_enable_gcube_staging %}
<repository>
<id>gcube-staging</id>
<name>gCube Staging</name>
<url>http://maven.research-infrastructures.eu/nexus/content/repositories/gcube-staging</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
{% endif %}
<repository>
<id>gcube-releases</id>
<name>gCube Releases</name>
<url>http://maven.research-infrastructures.eu/nexus/content/repositories/gcube-releases</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
<repository>
<id>gcube-externals</id>
<name>gCube Externals</name>
<url>http://maven.research-infrastructures.eu/nexus/content/repositories/gcube-externals</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
</repositories>
<pluginRepositories>
{% if dataminer_maven_enable_gcube_snapshots %}
<pluginRepository>
<id>gcube-snapshots</id>
<name>gCube Snapshots</name>
<url>http://maven.research-infrastructures.eu/nexus/content/repositories/gcube-snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
{% endif %}
{% if dataminer_maven_enable_gcube_staging %}
<pluginRepository>
<id>gcube-staging</id>
<name>gCube Staging</name>
<url>http://maven.research-infrastructures.eu/nexus/content/repositories/gcube-staging</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
{% endif %}
<pluginRepository>
<id>gcube-releases</id>
<name>gCube Releases</name>
<url>http://maven.research-infrastructures.eu/nexus/content/repositories/gcube-releases</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</pluginRepository>
<pluginRepository>
<id>gcube-externals</id>
<name>gCube Externals</name>
<url>http://maven.research-infrastructures.eu/nexus/content/repositories/gcube-externals</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>gcube</activeProfile>
</activeProfiles>
</settings>