Compare commits
36 Commits
feature/23
...
master
Author | SHA1 | Date |
---|---|---|
Roberto Cirillo | 1ba2854b80 | |
Roberto Cirillo | 0b40060d28 | |
Roberto Cirillo | 2542cc2eca | |
Roberto Cirillo | cc285dad97 | |
Roberto Cirillo | b857fce1bc | |
Roberto Cirillo | 29b9eab140 | |
Roberto Cirillo | e8fde085c0 | |
Roberto Cirillo | 06024a761c | |
Roberto Cirillo | fb4823b683 | |
Roberto Cirillo | af347b82f7 | |
Roberto Cirillo | eb6f533790 | |
Roberto Cirillo | 6f66a8c87c | |
Roberto Cirillo | f4225749b0 | |
Roberto Cirillo | 7db55f6d04 | |
Roberto Cirillo | 60e3ab5e5f | |
Roberto Cirillo | 067dcfa23b | |
Roberto Cirillo | 0315b09ce7 | |
Roberto Cirillo | 4d24257b08 | |
Roberto Cirillo | 99cde69cfe | |
Roberto Cirillo | 62686e818e | |
Roberto Cirillo | fe94a49225 | |
Roberto Cirillo | 2df3a89dfc | |
Roberto Cirillo | e26f69443c | |
Roberto Cirillo | 836a4f69ee | |
Roberto Cirillo | 8c19d4b7d4 | |
Roberto Cirillo | 113972a821 | |
Roberto Cirillo | 241cd80f38 | |
Roberto Cirillo | 98e0ad5cfe | |
Roberto Cirillo | 8286aaa563 | |
Roberto Cirillo | 49241e50bf | |
Roberto Cirillo | 43a43a2740 | |
Roberto Cirillo | 6f04d669ad | |
Roberto Cirillo | e24359b402 | |
Roberto Cirillo | e44204ede1 | |
Roberto Cirillo | 41de1cdf75 | |
Roberto Cirillo | 0ba71cf9f6 |
19
CHANGELOG.md
19
CHANGELOG.md
|
@ -1,10 +1,27 @@
|
||||||
# Changelog for Maven-Parent
|
# Changelog for Maven-Parent
|
||||||
|
|
||||||
## [v1.1.0] - 2020-01-27
|
## [v1.2.0] - 2024-04-03
|
||||||
|
|
||||||
|
### Bug
|
||||||
|
* update maven-javadoc-plugin to from 2.6.8 to 3.6.3. #25877
|
||||||
|
* update groovy-all plugin dependency from 3.0.0-beta to 3.0.13 #25872
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
* new maven profiles for managing jdk7 (gcore-legacy) and jdk17 build (see #24259)
|
||||||
|
* add new group repositories for managing jdk17 dependencies resolution
|
||||||
|
* update groovy-maven and javadoc plugin configuration #25108
|
||||||
|
* add classpath external folder. see #25106
|
||||||
|
|
||||||
|
### Bug
|
||||||
|
* removed set-local-classpath profile. see #26841
|
||||||
|
|
||||||
|
## [v1.1.0] - 2022-10-27
|
||||||
|
|
||||||
|
### Features
|
||||||
|
* force java 1.8 on jdk11 activation profiles
|
||||||
|
* update maven-compiler-plugin to 3.10.1
|
||||||
* New build profiles to support CI/CD
|
* New build profiles to support CI/CD
|
||||||
|
* add new execution phase to buildnumber-maven-plugin
|
||||||
* Enforcement for:
|
* Enforcement for:
|
||||||
* Java 8 (target and source)
|
* Java 8 (target and source)
|
||||||
* OpenJDK as target Java VM.
|
* OpenJDK as target Java VM.
|
||||||
|
|
43
README.md
43
README.md
|
@ -3,7 +3,7 @@
|
||||||
A parent pom for all the gCube artifacts.
|
A parent pom for all the gCube artifacts.
|
||||||
|
|
||||||
# Enforcements
|
# Enforcements
|
||||||
* Java 8 (target and source)
|
* Java 8 (target and source) unless otherwise specified inside the pom
|
||||||
* OpenJDK as target Java VM.
|
* OpenJDK as target Java VM.
|
||||||
* Maven 3.3.9+
|
* Maven 3.3.9+
|
||||||
* README.md, CHANGELOG.md and LICENSE.md are present in the baseDir of each Maven module
|
* README.md, CHANGELOG.md and LICENSE.md are present in the baseDir of each Maven module
|
||||||
|
@ -11,19 +11,41 @@ A parent pom for all the gCube artifacts.
|
||||||
|
|
||||||
# Build Profiles
|
# Build Profiles
|
||||||
|
|
||||||
## gcube-developer
|
The build profiles are separated in three main branches: developer, staging, releases.
|
||||||
|
Each branch has a set of profile based on the idk.
|
||||||
|
The developer branch contains the profiles related to the snapshot build:
|
||||||
|
|
||||||
|
* gcore-legacy jdk7
|
||||||
|
* gcube-legacy - jdk8
|
||||||
|
* gcube-official -jdk11
|
||||||
|
* gcube-experimental - jdk17
|
||||||
|
|
||||||
|
In the same way are organised the other branch profiles related to the staging (integration) phase and to the release phase.
|
||||||
|
|
||||||
|
In addition there are a set of common profiles useful in order to avoid replication of plugins and rules definitions:
|
||||||
|
|
||||||
|
* common-snapshot
|
||||||
|
* common-release
|
||||||
|
* dry-run
|
||||||
|
* disable-java8-doclint
|
||||||
|
* set-local-classpath
|
||||||
|
* generate-distribution-packages
|
||||||
|
|
||||||
|
Below the descriptions of the most used profiles by gCube components:
|
||||||
|
|
||||||
|
## common-snapshot
|
||||||
|
This profile defines the common plugin used by all the snapshot profiles
|
||||||
|
|
||||||
|
## common-releases
|
||||||
|
This profile defines the common plugin used by all the staging and release profiles
|
||||||
|
|
||||||
|
## gcube-official
|
||||||
* Dependencies resolved against local, gcube-snapshots and gcube-releases
|
* Dependencies resolved against local, gcube-snapshots and gcube-releases
|
||||||
* Snapshot artifacts installed to local
|
* Snapshot artifacts installed to local
|
||||||
* Snapshot artifacts deployed to gcube-snapshots
|
* Snapshot artifacts deployed to gcube-snapshots
|
||||||
* Deployments of releases artifacts are not permitted
|
* Deployments of releases artifacts are not permitted
|
||||||
|
|
||||||
## jenkins-snapshots
|
## jenkins-staging-official
|
||||||
* Dependencies resolved against local-snapshots, gcube-snapshots and gcube-releases
|
|
||||||
* Snapshot artifacts installed to local-snapshots
|
|
||||||
* Snapshot artifacts deployed to gcube-snapshots
|
|
||||||
* Deployments of release artifacts are not permitted
|
|
||||||
|
|
||||||
## jenkins-staging
|
|
||||||
* Dependencies resolved against local-staging, gcube-jenkins-staging, gcube-staging and gcube-releases
|
* Dependencies resolved against local-staging, gcube-jenkins-staging, gcube-staging and gcube-releases
|
||||||
* Release/snapshot artifacts installed to local-staging
|
* Release/snapshot artifacts installed to local-staging
|
||||||
* Release/snapshot artifacts deployed to gcube-jenkins-staging
|
* Release/snapshot artifacts deployed to gcube-jenkins-staging
|
||||||
|
@ -41,3 +63,6 @@ This profile disables the deployment of the artifacts.
|
||||||
This profile sets an additional parameter for javadoc generation to disables the doclint.
|
This profile sets an additional parameter for javadoc generation to disables the doclint.
|
||||||
It avoids the build fails if formal/syntax errors are found in javadoc comments.
|
It avoids the build fails if formal/syntax errors are found in javadoc comments.
|
||||||
|
|
||||||
|
## set-local-classpath
|
||||||
|
This profile set a generic folder that will be added to the classpath
|
||||||
|
|
||||||
|
|
434
pom.xml
434
pom.xml
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
<groupId>org.gcube.tools</groupId>
|
<groupId>org.gcube.tools</groupId>
|
||||||
<artifactId>maven-parent</artifactId>
|
<artifactId>maven-parent</artifactId>
|
||||||
<version>1.1.0</version>
|
<version>1.2.0</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<scm>
|
<scm>
|
||||||
|
@ -52,18 +52,6 @@
|
||||||
</releases>
|
</releases>
|
||||||
</pluginRepository>
|
</pluginRepository>
|
||||||
|
|
||||||
<pluginRepository>
|
|
||||||
<id>gcube-staging</id>
|
|
||||||
<name>gCube Staging</name>
|
|
||||||
<url>https://nexus.d4science.org/nexus/content/repositories/gcube-staging/</url>
|
|
||||||
<snapshots>
|
|
||||||
<enabled>false</enabled>
|
|
||||||
</snapshots>
|
|
||||||
<releases>
|
|
||||||
<enabled>true</enabled>
|
|
||||||
</releases>
|
|
||||||
</pluginRepository>
|
|
||||||
|
|
||||||
<pluginRepository>
|
<pluginRepository>
|
||||||
<id>gcube-externals</id>
|
<id>gcube-externals</id>
|
||||||
<name>gCube Externals</name>
|
<name>gCube Externals</name>
|
||||||
|
@ -90,6 +78,20 @@
|
||||||
<javadoc.opts>-Xdoclint:none</javadoc.opts>
|
<javadoc.opts>-Xdoclint:none</javadoc.opts>
|
||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</profile>
|
||||||
|
<!--profile set-local-classpath commented see #26841-->
|
||||||
|
<!--profile>
|
||||||
|
<id>set-local-classpath</id>
|
||||||
|
<activation>
|
||||||
|
<jdk>[1.8,)</jdk>
|
||||||
|
</activation>
|
||||||
|
<build>
|
||||||
|
<resources>
|
||||||
|
<resource>
|
||||||
|
<directory>${maven.local.classpath}</directory>
|
||||||
|
</resource>
|
||||||
|
</resources>
|
||||||
|
</build>
|
||||||
|
</profile-->
|
||||||
<profile>
|
<profile>
|
||||||
<id>generate-distribution-packages</id>
|
<id>generate-distribution-packages</id>
|
||||||
<activation>
|
<activation>
|
||||||
|
@ -238,7 +240,7 @@
|
||||||
<id>gcube-official</id>
|
<id>gcube-official</id>
|
||||||
<activation>
|
<activation>
|
||||||
<activeByDefault>false</activeByDefault>
|
<activeByDefault>false</activeByDefault>
|
||||||
<jdk>[1.8,9)</jdk>
|
<jdk>[9,17)</jdk>
|
||||||
<property>
|
<property>
|
||||||
<name>!Release</name>
|
<name>!Release</name>
|
||||||
</property>
|
</property>
|
||||||
|
@ -299,7 +301,7 @@
|
||||||
<id>gcube-experimental</id>
|
<id>gcube-experimental</id>
|
||||||
<activation>
|
<activation>
|
||||||
<activeByDefault>false</activeByDefault>
|
<activeByDefault>false</activeByDefault>
|
||||||
<jdk>[9,)</jdk>
|
<jdk>[17,)</jdk>
|
||||||
<property>
|
<property>
|
||||||
<name>!Release</name>
|
<name>!Release</name>
|
||||||
</property>
|
</property>
|
||||||
|
@ -309,7 +311,6 @@
|
||||||
<maven.compiler.source>${java_version}</maven.compiler.source>
|
<maven.compiler.source>${java_version}</maven.compiler.source>
|
||||||
<maven.compiler.target>${java_version}</maven.compiler.target>
|
<maven.compiler.target>${java_version}</maven.compiler.target>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<!-- Repositories for dependency resolution -->
|
<!-- Repositories for dependency resolution -->
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
<repository>
|
||||||
|
@ -324,9 +325,9 @@
|
||||||
</releases>
|
</releases>
|
||||||
</repository>
|
</repository>
|
||||||
<repository>
|
<repository>
|
||||||
<id>gcube-releases</id>
|
<id>gcube-releases-all</id>
|
||||||
<name>gCube Releases</name>
|
<name>gCube Releases All</name>
|
||||||
<url>${repository.releases.url}</url>
|
<url>${repository.releases.all.url}</url>
|
||||||
<snapshots>
|
<snapshots>
|
||||||
<enabled>false</enabled>
|
<enabled>false</enabled>
|
||||||
</snapshots>
|
</snapshots>
|
||||||
|
@ -355,16 +356,67 @@
|
||||||
</repository>
|
</repository>
|
||||||
</distributionManagement>
|
</distributionManagement>
|
||||||
</profile>
|
</profile>
|
||||||
<!-- The following profile prevent build with jdk minor than 8 -->
|
|
||||||
<profile>
|
<profile>
|
||||||
<id>gcube-legacy</id>
|
<id>gcore-legacy</id>
|
||||||
<activation>
|
<activation>
|
||||||
<jdk>[, 1.8)</jdk>
|
<jdk>[, 1.8)</jdk>
|
||||||
<property>
|
<property>
|
||||||
<name>!Release</name>
|
<name>!Release</name>
|
||||||
</property>
|
</property>
|
||||||
</activation>
|
</activation>
|
||||||
|
<!-- Repositories for dependency resolution -->
|
||||||
|
<repositories>
|
||||||
|
<repository>
|
||||||
|
<id>gcube-snapshots</id>
|
||||||
|
<name>gCube Snapshots</name>
|
||||||
|
<url>${repository.snapshots.url}</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</snapshots>
|
||||||
|
<releases>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</releases>
|
||||||
|
</repository>
|
||||||
|
<repository>
|
||||||
|
<id>gcube-releases-gcore</id>
|
||||||
|
<name>gCube Releases gCore</name>
|
||||||
|
<url>${repository.releases.gcore.url}</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
|
<releases>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</releases>
|
||||||
|
</repository>
|
||||||
|
<repository>
|
||||||
|
<id>gcube-externals</id>
|
||||||
|
<name>gCube Externals</name>
|
||||||
|
<url>${repository.externals.readonly}</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
|
<releases>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</releases>
|
||||||
|
</repository>
|
||||||
|
</repositories>
|
||||||
|
<!-- Repositories for deployments -->
|
||||||
|
<distributionManagement>
|
||||||
|
<repository>
|
||||||
|
<id>gcube-snapshots</id>
|
||||||
|
<name>gCube Snapshots</name>
|
||||||
|
<url>${repository.snapshots.url}</url>
|
||||||
|
</repository>
|
||||||
|
</distributionManagement>
|
||||||
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>gcube-legacy</id>
|
||||||
|
<activation>
|
||||||
|
<jdk>[1.8,9)</jdk>
|
||||||
|
<property>
|
||||||
|
<name>!Release</name>
|
||||||
|
</property>
|
||||||
|
</activation>
|
||||||
<!-- Repositories for dependency resolution -->
|
<!-- Repositories for dependency resolution -->
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
<repository>
|
||||||
|
@ -401,7 +453,6 @@
|
||||||
</releases>
|
</releases>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
<!-- Repositories for deployments -->
|
<!-- Repositories for deployments -->
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<repository>
|
<repository>
|
||||||
|
@ -412,7 +463,62 @@
|
||||||
</distributionManagement>
|
</distributionManagement>
|
||||||
</profile>
|
</profile>
|
||||||
<profile>
|
<profile>
|
||||||
<id>jenkins-releases</id>
|
<id>jenkins-releases-gcore-legacy</id>
|
||||||
|
<activation>
|
||||||
|
<jdk>[,1.8)</jdk>
|
||||||
|
<property>
|
||||||
|
<name>jenkins-releases</name>
|
||||||
|
<value>true</value>
|
||||||
|
</property>
|
||||||
|
</activation>
|
||||||
|
<properties>
|
||||||
|
<repository>${repository.releases.gcore.url}</repository>
|
||||||
|
</properties>
|
||||||
|
<!-- Repositories for dependency resolution -->
|
||||||
|
<repositories>
|
||||||
|
<repository>
|
||||||
|
<id>gcube-releases-gcore</id>
|
||||||
|
<name>gCube Releases</name>
|
||||||
|
<url>${repository.releases.gcore.url}</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
|
<releases>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</releases>
|
||||||
|
</repository>
|
||||||
|
<repository>
|
||||||
|
<id>gcube-externals</id>
|
||||||
|
<name>gCube Externals</name>
|
||||||
|
<url>${repository.externals.readonly}</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
|
<releases>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</releases>
|
||||||
|
</repository>
|
||||||
|
<repository>
|
||||||
|
<id>gcube-jenkins-staging-gcore</id>
|
||||||
|
<name>gCube Jenkins Staging</name>
|
||||||
|
<url>${repository.jenkins.staging.gcore.url}</url>
|
||||||
|
</repository>
|
||||||
|
</repositories>
|
||||||
|
|
||||||
|
<!-- Repositories for deployments -->
|
||||||
|
<distributionManagement>
|
||||||
|
<repository>
|
||||||
|
<id>gcube-releases-gcore</id>
|
||||||
|
<name>gCube Releases</name>
|
||||||
|
<url>${repository.releases.gcore.url}</url>
|
||||||
|
</repository>
|
||||||
|
</distributionManagement>
|
||||||
|
<build>
|
||||||
|
<finalName>${project.artifactId}-${project.version}</finalName>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>jenkins-releases-legacy</id>
|
||||||
<activation>
|
<activation>
|
||||||
<jdk>[1.8,9)</jdk>
|
<jdk>[1.8,9)</jdk>
|
||||||
<property>
|
<property>
|
||||||
|
@ -447,18 +553,12 @@
|
||||||
<enabled>true</enabled>
|
<enabled>true</enabled>
|
||||||
</releases>
|
</releases>
|
||||||
</repository>
|
</repository>
|
||||||
<repository>
|
|
||||||
<id>gcube-staging</id>
|
|
||||||
<name>gCube Staging</name>
|
|
||||||
<url>${repository.staging.url}</url>
|
|
||||||
</repository>
|
|
||||||
<repository>
|
<repository>
|
||||||
<id>gcube-jenkins-staging</id>
|
<id>gcube-jenkins-staging</id>
|
||||||
<name>gCube Jenkins Staging</name>
|
<name>gCube Jenkins Staging</name>
|
||||||
<url>${repository.jenkins.staging.url}</url>
|
<url>${repository.jenkins.staging.url}</url>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
<!-- Repositories for deployments -->
|
<!-- Repositories for deployments -->
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<repository>
|
<repository>
|
||||||
|
@ -472,7 +572,7 @@
|
||||||
</build>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
<profile>
|
<profile>
|
||||||
<id>jenkins-releases-experimental</id>
|
<id>jenkins-releases</id>
|
||||||
<activation>
|
<activation>
|
||||||
<jdk>[9,17)</jdk>
|
<jdk>[9,17)</jdk>
|
||||||
<property>
|
<property>
|
||||||
|
@ -510,39 +610,10 @@
|
||||||
<enabled>true</enabled>
|
<enabled>true</enabled>
|
||||||
</releases>
|
</releases>
|
||||||
</repository>
|
</repository>
|
||||||
<repository>
|
|
||||||
<id>gcube-jenkins-staging-java11</id>
|
|
||||||
<name>gCube Jenkins Staging Java11</name>
|
|
||||||
<url>${repository.jenkins.staging.java11.url}</url>
|
|
||||||
<snapshots>
|
|
||||||
<enabled>false</enabled>
|
|
||||||
</snapshots>
|
|
||||||
<releases>
|
|
||||||
<enabled>true</enabled>
|
|
||||||
</releases>
|
|
||||||
</repository>
|
|
||||||
<repository>
|
|
||||||
<id>gcube-staging</id>
|
|
||||||
<name>gCube Staging</name>
|
|
||||||
<url>${repository.staging.url}</url>
|
|
||||||
<snapshots>
|
|
||||||
<enabled>false</enabled>
|
|
||||||
</snapshots>
|
|
||||||
<releases>
|
|
||||||
<enabled>true</enabled>
|
|
||||||
</releases>
|
|
||||||
|
|
||||||
</repository>
|
|
||||||
<repository>
|
<repository>
|
||||||
<id>gcube-jenkins-staging</id>
|
<id>gcube-jenkins-staging</id>
|
||||||
<name>gCube Jenkins Staging</name>
|
<name>gCube Jenkins Staging</name>
|
||||||
<url>${repository.jenkins.staging.url}</url>
|
<url>${repository.jenkins.staging.url}</url>
|
||||||
<snapshots>
|
|
||||||
<enabled>false</enabled>
|
|
||||||
</snapshots>
|
|
||||||
<releases>
|
|
||||||
<enabled>true</enabled>
|
|
||||||
</releases>
|
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
|
@ -559,7 +630,71 @@
|
||||||
</build>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
<profile>
|
<profile>
|
||||||
<id>jenkins-staging-legacy</id>
|
<id>jenkins-releases-experimental</id>
|
||||||
|
<activation>
|
||||||
|
<jdk>[17,)</jdk>
|
||||||
|
<property>
|
||||||
|
<name>jenkins-releases</name>
|
||||||
|
<value>true</value>
|
||||||
|
</property>
|
||||||
|
</activation>
|
||||||
|
<properties>
|
||||||
|
<java_version>1.8</java_version>
|
||||||
|
<maven.compiler.source>${java_version}</maven.compiler.source>
|
||||||
|
<maven.compiler.target>${java_version}</maven.compiler.target>
|
||||||
|
<repository>${repository.releases.next.url}</repository>
|
||||||
|
</properties>
|
||||||
|
<!-- Repositories for dependency resolution -->
|
||||||
|
<repositories>
|
||||||
|
<repository>
|
||||||
|
<id>gcube-releases-all</id>
|
||||||
|
<name>gCube Releases</name>
|
||||||
|
<url>${repository.releases.all.url}</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
|
<releases>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</releases>
|
||||||
|
</repository>
|
||||||
|
<repository>
|
||||||
|
<id>gcube-externals</id>
|
||||||
|
<name>gCube Externals</name>
|
||||||
|
<url>${repository.externals.readonly}</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
|
<releases>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</releases>
|
||||||
|
</repository>
|
||||||
|
<repository>
|
||||||
|
<id>gcube-staging-all</id>
|
||||||
|
<name>gCube Staging All</name>
|
||||||
|
<url>${repository.staging.all.url}</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
|
<releases>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</releases>
|
||||||
|
</repository>
|
||||||
|
</repositories>
|
||||||
|
|
||||||
|
<!-- Repositories for deployments -->
|
||||||
|
<distributionManagement>
|
||||||
|
<repository>
|
||||||
|
<id>gcube-releases-next</id>
|
||||||
|
<name>gCube Releases</name>
|
||||||
|
<url>${repository.releases.next.url}</url>
|
||||||
|
</repository>
|
||||||
|
</distributionManagement>
|
||||||
|
<build>
|
||||||
|
<finalName>${project.artifactId}-${project.version}</finalName>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>jenkins-staging-gcore-legacy</id>
|
||||||
<activation>
|
<activation>
|
||||||
<jdk>[,1.8)</jdk>
|
<jdk>[,1.8)</jdk>
|
||||||
<property>
|
<property>
|
||||||
|
@ -568,14 +703,14 @@
|
||||||
</property>
|
</property>
|
||||||
</activation>
|
</activation>
|
||||||
<properties>
|
<properties>
|
||||||
<repository>${repository.staging.java7.url}</repository>
|
<repository>${repository.jenkins.staging.gcore.url}</repository>
|
||||||
</properties>
|
</properties>
|
||||||
<!-- Repositories for dependency resolution -->
|
<!-- Repositories for dependency resolution -->
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
<repository>
|
||||||
<id>gcube-staging-java7</id>
|
<id>gcube-staging-java7</id>
|
||||||
<name>gCube Staging Java7</name>
|
<name>gCube Staging Java7</name>
|
||||||
<url>${repository.staging.java7.url}</url>
|
<url>${repository.jenkins.staging.java7.url}</url>
|
||||||
<snapshots>
|
<snapshots>
|
||||||
<enabled>false</enabled>
|
<enabled>false</enabled>
|
||||||
<updatePolicy>never</updatePolicy>
|
<updatePolicy>never</updatePolicy>
|
||||||
|
@ -587,7 +722,7 @@
|
||||||
<repository>
|
<repository>
|
||||||
<id>gcube-staging-gcore</id>
|
<id>gcube-staging-gcore</id>
|
||||||
<name>gCube Staging gCore</name>
|
<name>gCube Staging gCore</name>
|
||||||
<url>${repository.staging.gcore.url}</url>
|
<url>${repository.jenkins.staging.gcore.url}</url>
|
||||||
<snapshots>
|
<snapshots>
|
||||||
<enabled>false</enabled>
|
<enabled>false</enabled>
|
||||||
</snapshots>
|
</snapshots>
|
||||||
|
@ -608,6 +743,67 @@
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
|
<!-- Repositories for deployments -->
|
||||||
|
<distributionManagement>
|
||||||
|
<repository>
|
||||||
|
<id>gcube-staging-gcore</id>
|
||||||
|
<name>gCube Staging gCore</name>
|
||||||
|
<url>${repository.jenkins.staging.gcore.url}</url>
|
||||||
|
</repository>
|
||||||
|
</distributionManagement>
|
||||||
|
<build>
|
||||||
|
<finalName>${project.artifactId}-${project.version}</finalName>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>jenkins-staging-legacy</id>
|
||||||
|
<activation>
|
||||||
|
<jdk>[1.8,9)</jdk>
|
||||||
|
<property>
|
||||||
|
<name>jenkins-staging</name>
|
||||||
|
<value>true</value>
|
||||||
|
</property>
|
||||||
|
</activation>
|
||||||
|
<properties>
|
||||||
|
<repository>${repository.staging.url}</repository>
|
||||||
|
</properties>
|
||||||
|
<!-- Repositories for dependency resolution -->
|
||||||
|
<repositories>
|
||||||
|
<repository>
|
||||||
|
<id>gcube-staging-jenkins</id>
|
||||||
|
<name>gCube Staging Jenkins</name>
|
||||||
|
<url>${repository.jenkins.staging.url}</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
<updatePolicy>never</updatePolicy>
|
||||||
|
</snapshots>
|
||||||
|
<releases>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</releases>
|
||||||
|
</repository>
|
||||||
|
<repository>
|
||||||
|
<id>gcube-releases</id>
|
||||||
|
<name>gCube Releases</name>
|
||||||
|
<url>${repository.releases.url}</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
|
<releases>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</releases>
|
||||||
|
</repository>
|
||||||
|
<repository>
|
||||||
|
<id>gcube-externals</id>
|
||||||
|
<name>gCube Externals</name>
|
||||||
|
<url>${repository.externals.readonly}</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
|
<releases>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</releases>
|
||||||
|
</repository>
|
||||||
|
</repositories>
|
||||||
<!-- Repositories for deployments -->
|
<!-- Repositories for deployments -->
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<repository>
|
<repository>
|
||||||
|
@ -623,13 +819,16 @@
|
||||||
<profile>
|
<profile>
|
||||||
<id>jenkins-staging-official</id>
|
<id>jenkins-staging-official</id>
|
||||||
<activation>
|
<activation>
|
||||||
<jdk>[1.8,9)</jdk>
|
<jdk>[9,17)</jdk>
|
||||||
<property>
|
<property>
|
||||||
<name>jenkins-staging</name>
|
<name>jenkins-staging</name>
|
||||||
<value>true</value>
|
<value>true</value>
|
||||||
</property>
|
</property>
|
||||||
</activation>
|
</activation>
|
||||||
<properties>
|
<properties>
|
||||||
|
<java_version>1.8</java_version>
|
||||||
|
<maven.compiler.source>${java_version}</maven.compiler.source>
|
||||||
|
<maven.compiler.target>${java_version}</maven.compiler.target>
|
||||||
<repository>${repository.jenkins.staging.url}</repository>
|
<repository>${repository.jenkins.staging.url}</repository>
|
||||||
</properties>
|
</properties>
|
||||||
<!-- Repositories for dependency resolution -->
|
<!-- Repositories for dependency resolution -->
|
||||||
|
@ -645,17 +844,6 @@
|
||||||
<enabled>true</enabled>
|
<enabled>true</enabled>
|
||||||
</releases>
|
</releases>
|
||||||
</repository>
|
</repository>
|
||||||
<repository>
|
|
||||||
<id>gcube-staging</id>
|
|
||||||
<name>gCube Staging</name>
|
|
||||||
<url>${repository.staging.url}</url>
|
|
||||||
<snapshots>
|
|
||||||
<enabled>false</enabled>
|
|
||||||
</snapshots>
|
|
||||||
<releases>
|
|
||||||
<enabled>true</enabled>
|
|
||||||
</releases>
|
|
||||||
</repository>
|
|
||||||
<repository>
|
<repository>
|
||||||
<id>gcube-releases</id>
|
<id>gcube-releases</id>
|
||||||
<name>gCube Releases</name>
|
<name>gCube Releases</name>
|
||||||
|
@ -679,7 +867,6 @@
|
||||||
</releases>
|
</releases>
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
<!-- Repositories for deployments -->
|
<!-- Repositories for deployments -->
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<repository>
|
<repository>
|
||||||
|
@ -695,7 +882,7 @@
|
||||||
<profile>
|
<profile>
|
||||||
<id>jenkins-staging-experimental</id>
|
<id>jenkins-staging-experimental</id>
|
||||||
<activation>
|
<activation>
|
||||||
<jdk>[9,)</jdk>
|
<jdk>[17,)</jdk>
|
||||||
<property>
|
<property>
|
||||||
<name>jenkins-staging</name>
|
<name>jenkins-staging</name>
|
||||||
<value>true</value>
|
<value>true</value>
|
||||||
|
@ -705,14 +892,14 @@
|
||||||
<java_version>1.8</java_version>
|
<java_version>1.8</java_version>
|
||||||
<maven.compiler.source>${java_version}</maven.compiler.source>
|
<maven.compiler.source>${java_version}</maven.compiler.source>
|
||||||
<maven.compiler.target>${java_version}</maven.compiler.target>
|
<maven.compiler.target>${java_version}</maven.compiler.target>
|
||||||
<repository>${repository.jenkins.staging.java11.url}</repository>
|
<repository>${repository.jenkins.staging.next.url}</repository>
|
||||||
</properties>
|
</properties>
|
||||||
<!-- Repositories for dependency resolution -->
|
<!-- Repositories for dependency resolution -->
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
<repository>
|
||||||
<id>gcube-staging-jenkins</id>
|
<id>gcube-staging-all</id>
|
||||||
<name>gCube Jenkins Staging</name>
|
<name>gCube Staging All</name>
|
||||||
<url>${repository.jenkins.staging.url}</url>
|
<url>${repository.staging.all.url}</url>
|
||||||
<snapshots>
|
<snapshots>
|
||||||
<enabled>false</enabled>
|
<enabled>false</enabled>
|
||||||
</snapshots>
|
</snapshots>
|
||||||
|
@ -720,32 +907,11 @@
|
||||||
<enabled>true</enabled>
|
<enabled>true</enabled>
|
||||||
</releases>
|
</releases>
|
||||||
</repository>
|
</repository>
|
||||||
|
|
||||||
<repository>
|
<repository>
|
||||||
<id>gcube-staging-jenkins-java11</id>
|
<id>gcube-releases-all</id>
|
||||||
<name>gCube Jenkins Staging Java11</name>
|
|
||||||
<url>${repository.jenkins.staging.java11.url}</url>
|
|
||||||
<snapshots>
|
|
||||||
<enabled>false</enabled>
|
|
||||||
</snapshots>
|
|
||||||
<releases>
|
|
||||||
<enabled>true</enabled>
|
|
||||||
</releases>
|
|
||||||
</repository>
|
|
||||||
<repository>
|
|
||||||
<id>gcube-staging</id>
|
|
||||||
<name>gCube Staging</name>
|
|
||||||
<url>${repository.staging.url}</url>
|
|
||||||
<snapshots>
|
|
||||||
<enabled>false</enabled>
|
|
||||||
</snapshots>
|
|
||||||
<releases>
|
|
||||||
<enabled>true</enabled>
|
|
||||||
</releases>
|
|
||||||
</repository>
|
|
||||||
<repository>
|
|
||||||
<id>gcube-releases</id>
|
|
||||||
<name>gCube Releases</name>
|
<name>gCube Releases</name>
|
||||||
<url>${repository.releases.url}</url>
|
<url>${repository.releases.all.url}</url>
|
||||||
<snapshots>
|
<snapshots>
|
||||||
<enabled>false</enabled>
|
<enabled>false</enabled>
|
||||||
</snapshots>
|
</snapshots>
|
||||||
|
@ -769,9 +935,9 @@
|
||||||
<!-- Repositories for deployments -->
|
<!-- Repositories for deployments -->
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<repository>
|
<repository>
|
||||||
<id>gcube-staging-jenkins-java11</id>
|
<id>gcube-staging-jenkins-next</id>
|
||||||
<name>gCube Staging</name>
|
<name>gCube Jenkins Staging Next</name>
|
||||||
<url>${repository.jenkins.staging.java11.url}</url>
|
<url>${repository.jenkins.staging.next.url}</url>
|
||||||
</repository>
|
</repository>
|
||||||
</distributionManagement>
|
</distributionManagement>
|
||||||
<build>
|
<build>
|
||||||
|
@ -824,6 +990,17 @@
|
||||||
<doUpdate>false</doUpdate>
|
<doUpdate>false</doUpdate>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>build.date</id>
|
||||||
|
<phase>initialize</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>create-timestamp</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<timestampFormat>yyyy-MM-dd</timestampFormat>
|
||||||
|
<timestampPropertyName>build.date</timestampPropertyName>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
|
|
||||||
</plugin>
|
</plugin>
|
||||||
|
@ -1312,13 +1489,12 @@
|
||||||
<goal>jar</goal>
|
<goal>jar</goal>
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
<source>${java_version}</source>
|
||||||
<additionalparam>${javadoc.opts}</additionalparam>
|
<additionalparam>${javadoc.opts}</additionalparam>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.gmaven</groupId>
|
<groupId>org.codehaus.gmaven</groupId>
|
||||||
<artifactId>groovy-maven-plugin</artifactId>
|
<artifactId>groovy-maven-plugin</artifactId>
|
||||||
|
@ -1344,8 +1520,16 @@
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.codehaus.groovy</groupId>
|
||||||
|
<artifactId>groovy-all</artifactId>
|
||||||
|
<version>3.0.13</version>
|
||||||
|
<!--version>3.0.0-beta-3</version-->
|
||||||
|
<type>pom</type>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
@ -1361,7 +1545,7 @@
|
||||||
<plugin.assembly.version>2.6</plugin.assembly.version>
|
<plugin.assembly.version>2.6</plugin.assembly.version>
|
||||||
<plugin.compiler.version>3.10.1</plugin.compiler.version>
|
<plugin.compiler.version>3.10.1</plugin.compiler.version>
|
||||||
<plugin.source.version>2.1.2</plugin.source.version>
|
<plugin.source.version>2.1.2</plugin.source.version>
|
||||||
<plugin.javadoc.version>2.8</plugin.javadoc.version>
|
<plugin.javadoc.version>3.6.3</plugin.javadoc.version>
|
||||||
<plugin.resources.version>3.1.0</plugin.resources.version>
|
<plugin.resources.version>3.1.0</plugin.resources.version>
|
||||||
|
|
||||||
<!-- default value for the distro directory -->
|
<!-- default value for the distro directory -->
|
||||||
|
@ -1373,22 +1557,34 @@
|
||||||
<java.expected.vm>.*OpenJDK.*</java.expected.vm>
|
<java.expected.vm>.*OpenJDK.*</java.expected.vm>
|
||||||
<maven.compiler.source>${java_version}</maven.compiler.source>
|
<maven.compiler.source>${java_version}</maven.compiler.source>
|
||||||
<maven.compiler.target>${java_version}</maven.compiler.target>
|
<maven.compiler.target>${java_version}</maven.compiler.target>
|
||||||
|
<!--maven.local.classpath>/opt/gcube/local-classpath</maven.local.classpath-->
|
||||||
|
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<maven.version>3.3.9</maven.version>
|
<maven.version>3.3.9</maven.version>
|
||||||
<repository.snapshots.url>https://nexus.d4science.org/nexus/content/repositories/gcube-snapshots
|
<repository.snapshots.url>https://nexus.d4science.org/nexus/content/repositories/gcube-snapshots
|
||||||
</repository.snapshots.url>
|
</repository.snapshots.url>
|
||||||
|
<repository.releases.gcore.url>https://nexus.d4science.org/nexus/content/repositories/gcube-releases-gcore
|
||||||
|
</repository.releases.gcore.url>
|
||||||
<repository.releases.url>https://nexus.d4science.org/nexus/content/repositories/gcube-releases
|
<repository.releases.url>https://nexus.d4science.org/nexus/content/repositories/gcube-releases
|
||||||
</repository.releases.url>
|
</repository.releases.url>
|
||||||
|
<repository.releases.next.url>https://nexus.d4science.org/nexus/content/repositories/gcube-releases-next
|
||||||
|
</repository.releases.next.url>
|
||||||
|
<repository.releases.all.url>https://nexus.d4science.org/nexus/content/groups/gcube-releases-all
|
||||||
|
</repository.releases.all.url>
|
||||||
|
<repository.jenkins.staging.gcore.url>
|
||||||
|
https://nexus.d4science.org/nexus/content/repositories/gcube-staging-gcore
|
||||||
|
</repository.jenkins.staging.gcore.url>
|
||||||
|
<repository.jenkins.staging.java7.url>
|
||||||
|
https://nexus.d4science.org/nexus/content/repositories/gcube-staging-java7
|
||||||
|
</repository.jenkins.staging.java7.url>
|
||||||
<repository.jenkins.staging.url>
|
<repository.jenkins.staging.url>
|
||||||
https://nexus.d4science.org/nexus/content/repositories/gcube-staging-jenkins
|
https://nexus.d4science.org/nexus/content/repositories/gcube-staging-jenkins
|
||||||
</repository.jenkins.staging.url>
|
</repository.jenkins.staging.url>
|
||||||
<repository.jenkins.staging.java11.url>
|
<repository.jenkins.staging.next.url>
|
||||||
https://nexus.d4science.org/nexus/content/repositories/gcube-staging-jenkins-java11
|
https://nexus.d4science.org/nexus/content/repositories/gcube-staging-jenkins-next
|
||||||
</repository.jenkins.staging.java11.url>
|
</repository.jenkins.staging.next.url>
|
||||||
<repository.staging.url>https://nexus.d4science.org/nexus/content/repositories/gcube-staging/
|
<repository.staging.all.url>https://nexus.d4science.org/nexus/content/groups/gcube-staging-all
|
||||||
</repository.staging.url>
|
</repository.staging.all.url>
|
||||||
|
|
||||||
<repository.externals.readonly>
|
<repository.externals.readonly>
|
||||||
https://nexus.d4science.org/nexus/content/repositories/gcube-externals
|
https://nexus.d4science.org/nexus/content/repositories/gcube-externals
|
||||||
</repository.externals.readonly>
|
</repository.externals.readonly>
|
||||||
|
|
Loading…
Reference in New Issue