forked from ISTI-ansible-roles/ansible-roles
library/roles/smartgears/dataminer_app: Conditionals to add/remove the snapshots and staging repositories from the maven settings.
This commit is contained in:
parent
7834f8bf66
commit
3670019763
|
@ -9,6 +9,7 @@ dataminer_52north_webapp_file: 52n-wps-webapp-3.3.2-20150523.010021-9.war
|
||||||
#dataminer_52north_webapp_url: 'http://build.dev.52north.org/jenkins/view/Processing/job/52n-wps_GIT-DEV_nightly_builds/lastSuccessfulBuild/org.n52.wps$52n-wps-webapp/artifact/org.n52.wps/52n-wps-webapp/3.3.2-20150523.010021-9/{{ dataminer_52north_webapp_file }}'
|
#dataminer_52north_webapp_url: 'http://build.dev.52north.org/jenkins/view/Processing/job/52n-wps_GIT-DEV_nightly_builds/lastSuccessfulBuild/org.n52.wps$52n-wps-webapp/artifact/org.n52.wps/52n-wps-webapp/3.3.2-20150523.010021-9/{{ dataminer_52north_webapp_file }}'
|
||||||
dataminer_52north_webapp_url: 'http://data.d4science.org/uri-resolver/id?fileName=wps-3.3.2.war&smp-id=565d67b7e4b0eacf4a0fc5ad&contentType=application%2Fx-tika-java-web-archive'
|
dataminer_52north_webapp_url: 'http://data.d4science.org/uri-resolver/id?fileName=wps-3.3.2.war&smp-id=565d67b7e4b0eacf4a0fc5ad&contentType=application%2Fx-tika-java-web-archive'
|
||||||
dataminer_maven_enable_gcube_snapshots: False
|
dataminer_maven_enable_gcube_snapshots: False
|
||||||
|
dataminer_maven_enable_gcube_staging: False
|
||||||
dataminer_dataminer_jar_version: 1.2.0-SNAPSHOT
|
dataminer_dataminer_jar_version: 1.2.0-SNAPSHOT
|
||||||
|
|
||||||
#dataminer_dataminer_jar_version_range: "[1.0.0-SNAPSHOT,2.0.0-SNAPSHOT)"
|
#dataminer_dataminer_jar_version_range: "[1.0.0-SNAPSHOT,2.0.0-SNAPSHOT)"
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
<profile>
|
<profile>
|
||||||
<id>gcube</id>
|
<id>gcube</id>
|
||||||
<repositories>
|
<repositories>
|
||||||
|
{% if dataminer_maven_enable_gcube_snapshots %}
|
||||||
<repository>
|
<repository>
|
||||||
<id>gcube-snapshots</id>
|
<id>gcube-snapshots</id>
|
||||||
<name>gCube Snapshots</name>
|
<name>gCube Snapshots</name>
|
||||||
|
@ -20,9 +21,23 @@
|
||||||
<enabled>false</enabled>
|
<enabled>false</enabled>
|
||||||
</releases>
|
</releases>
|
||||||
<snapshots>
|
<snapshots>
|
||||||
<enabled>{{ dataminer_maven_enable_gcube_snapshots }}</enabled>
|
<enabled>true</enabled>
|
||||||
</snapshots>
|
</snapshots>
|
||||||
</repository>
|
</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>
|
<repository>
|
||||||
<id>gcube-releases</id>
|
<id>gcube-releases</id>
|
||||||
<name>gCube Releases</name>
|
<name>gCube Releases</name>
|
||||||
|
@ -48,6 +63,7 @@
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
<pluginRepositories>
|
<pluginRepositories>
|
||||||
|
{% if dataminer_maven_enable_gcube_snapshots %}
|
||||||
<pluginRepository>
|
<pluginRepository>
|
||||||
<id>gcube-snapshots</id>
|
<id>gcube-snapshots</id>
|
||||||
<name>gCube Snapshots</name>
|
<name>gCube Snapshots</name>
|
||||||
|
@ -56,9 +72,23 @@
|
||||||
<enabled>false</enabled>
|
<enabled>false</enabled>
|
||||||
</releases>
|
</releases>
|
||||||
<snapshots>
|
<snapshots>
|
||||||
<enabled>{{ dataminer_maven_enable_gcube_snapshots }}</enabled>
|
<enabled>true</enabled>
|
||||||
</snapshots>
|
</snapshots>
|
||||||
</pluginRepository>
|
</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>
|
<pluginRepository>
|
||||||
<id>gcube-releases</id>
|
<id>gcube-releases</id>
|
||||||
<name>gCube Releases</name>
|
<name>gCube Releases</name>
|
||||||
|
|
Loading…
Reference in New Issue