Add 3 new profiles (developer, jenkins-snapshot, jenkins-release). Still preliminary work.

This commit is contained in:
Manuele Simi 2019-05-16 23:52:46 -04:00
parent 04bebba4a0
commit 860b2bb164
1 changed files with 71 additions and 12 deletions

83
pom.xml
View File

@ -8,16 +8,6 @@
<version>1.1.0</version>
<packaging>pom</packaging>
<!-- gCube repositories -->
<distributionManagement>
<snapshotRepository>
<id>gcube-snapshots</id>
<name>gCube Snapshots</name>
<url>${snapshots.repository.url.deploy}</url>
</snapshotRepository>
</distributionManagement>
<profiles>
@ -62,7 +52,72 @@
</build>
</profile>
</profiles>
<profile>
<id>gcube-developer</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<!-- gCube repositories -->
<distributionManagement>
<snapshotRepository>
<id>gcube-snapshots</id>
<name>gCube Snapshots</name>
<url>${repository.snapshots.readwrite}</url>
</snapshotRepository>
<repository>
<id>gcube-releases</id>
<name>gCube Releases</name>
<url>${repository.releases.readonly}</url>
</repository>
</distributionManagement>
</profile>
<profile>
<id>jenkins-snapshot</id>
<activation>
<property>
<name>jenkins-snapshot</name>
<value>true</value>
</property>
</activation>
<!-- gCube repositories -->
<distributionManagement>
<snapshotRepository>
<id>jenkins-snapshots</id>
<name>Jenkins Snapshots</name>
<url>${repository.snapshots.local.readwrite}</url>
</snapshotRepository>
<repository>
<id>gcube-releases</id>
<name>gCube Releases</name>
<url>${repository.releases.readonly}</url>
</repository>
</distributionManagement>
</profile>
<profile>
<id>jenkins-release</id>
<activation>
<property>
<name>jenkins-release</name>
<value>true</value>
</property>
</activation>
<!-- gCube repositories -->
<distributionManagement>
<repository>
<id>gcube-releases</id>
<name>gCube Releases</name>
<url>${repository.releases.readwrite}</url>
</repository>
</distributionManagement>
</profile>
</profiles>
@ -394,7 +449,11 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.version>3.0.0</maven.version>
<snapshots.repository.url.deploy>http://maven.research-infrastructures.eu:8081/nexus/content/repositories/gcube-snapshots</snapshots.repository.url.deploy>
<repository.snapshots.readonly>http://maven.research-infrastructures.eu/nexus/content/repositories/gcube-snapshots</repository.snapshots.readonly>
<repository.snapshots.readwrite>http://maven.research-infrastructures.eu:8081/nexus/content/repositories/gcube-snapshots</repository.snapshots.readwrite>
<repository.releases.readonly>http://maven.research-infrastructures.eu/nexus/content/repositories/gcube-releases</repository.releases.readonly>
<repository.releases.readwrite>http://maven.research-infrastructures.eu:8081/nexus/content/repositories/gcube-releases</repository.releases.readwrite>
<repository.snapshots.local.readwrite></repository.snapshots.local.readwrite>
<local.deploy.dir>${env.GLOBUS_LOCATION}/lib</local.deploy.dir>