parent
49241e50bf
commit
8286aaa563
|
@ -1,11 +1,18 @@
|
|||
# Changelog for Maven-Parent
|
||||
|
||||
## [v1.2.0-SNAPSHOT] - 2023-05-02
|
||||
|
||||
### Features
|
||||
* new maven profiles for managing jdk7 (gcore-legacy) and jdk17 build (see #24259)
|
||||
* add new group repositories for managing jdk17 dependencies resolution
|
||||
|
||||
## [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
|
||||
* add new execution phase to buildnumber-maven-plugin
|
||||
* Enforcement for:
|
||||
* Java 8 (target and source)
|
||||
* OpenJDK as target Java VM.
|
||||
|
|
373
pom.xml
373
pom.xml
|
@ -5,7 +5,7 @@
|
|||
|
||||
<groupId>org.gcube.tools</groupId>
|
||||
<artifactId>maven-parent</artifactId>
|
||||
<version>1.1.0</version>
|
||||
<version>1.2.0-SNAPSHOT</version>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<scm>
|
||||
|
@ -226,7 +226,7 @@
|
|||
<id>gcube-official</id>
|
||||
<activation>
|
||||
<activeByDefault>false</activeByDefault>
|
||||
<jdk>[1.8,9)</jdk>
|
||||
<jdk>[9,17)</jdk>
|
||||
<property>
|
||||
<name>!Release</name>
|
||||
</property>
|
||||
|
@ -287,7 +287,7 @@
|
|||
<id>gcube-experimental</id>
|
||||
<activation>
|
||||
<activeByDefault>false</activeByDefault>
|
||||
<jdk>[9,)</jdk>
|
||||
<jdk>[17,)</jdk>
|
||||
<property>
|
||||
<name>!Release</name>
|
||||
</property>
|
||||
|
@ -297,8 +297,7 @@
|
|||
<maven.compiler.source>${java_version}</maven.compiler.source>
|
||||
<maven.compiler.target>${java_version}</maven.compiler.target>
|
||||
</properties>
|
||||
|
||||
<!-- Repositories for dependency resolution -->
|
||||
<!-- Repositories for dependency resolution -->
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>gcube-snapshots</id>
|
||||
|
@ -312,9 +311,9 @@
|
|||
</releases>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>gcube-releases</id>
|
||||
<name>gCube Releases</name>
|
||||
<url>${repository.releases.url}</url>
|
||||
<id>gcube-releases-all</id>
|
||||
<name>gCube Releases All</name>
|
||||
<url>${repository.releases.all.url}</url>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
|
@ -342,17 +341,69 @@
|
|||
<url>${repository.snapshots.url}</url>
|
||||
</repository>
|
||||
</distributionManagement>
|
||||
</profile>
|
||||
<!-- The following profile prevent build with jdk minor than 8 -->
|
||||
<profile>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>gcore-legacy</id>
|
||||
<activation>
|
||||
<jdk>[, 1.8)</jdk>
|
||||
<property>
|
||||
<name>!Release</name>
|
||||
</property>
|
||||
</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)</jdk>
|
||||
<jdk>[1.8, 9)</jdk>
|
||||
<property>
|
||||
<name>!Release</name>
|
||||
</property>
|
||||
</activation>
|
||||
|
||||
</activation>
|
||||
<!-- Repositories for dependency resolution -->
|
||||
<repositories>
|
||||
<repository>
|
||||
|
@ -389,7 +440,6 @@
|
|||
</releases>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<!-- Repositories for deployments -->
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
|
@ -398,9 +448,64 @@
|
|||
<url>${repository.snapshots.url}</url>
|
||||
</repository>
|
||||
</distributionManagement>
|
||||
</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>
|
||||
<jdk>[1.8,9)</jdk>
|
||||
<property>
|
||||
|
@ -408,9 +513,66 @@
|
|||
<value>true</value>
|
||||
</property>
|
||||
</activation>
|
||||
<properties>
|
||||
<repository>${repository.releases.url}</repository>
|
||||
</properties>
|
||||
<properties>
|
||||
<repository>${repository.releases.url}</repository>
|
||||
</properties>
|
||||
<!-- Repositories for dependency resolution -->
|
||||
<repositories>
|
||||
<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>
|
||||
<repository>
|
||||
<id>gcube-jenkins-staging</id>
|
||||
<name>gCube Jenkins Staging</name>
|
||||
<url>${repository.jenkins.staging.url}</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
<!-- Repositories for deployments -->
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>gcube-releases</id>
|
||||
<name>gCube Releases</name>
|
||||
<url>${repository.releases.url}</url>
|
||||
</repository>
|
||||
</distributionManagement>
|
||||
<build>
|
||||
<finalName>${project.artifactId}-${project.version}</finalName>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>jenkins-releases</id>
|
||||
<activation>
|
||||
<jdk>[9,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.url}</repository>
|
||||
</properties>
|
||||
<!-- Repositories for dependency resolution -->
|
||||
<repositories>
|
||||
<repository>
|
||||
|
@ -457,7 +619,7 @@
|
|||
<profile>
|
||||
<id>jenkins-releases-experimental</id>
|
||||
<activation>
|
||||
<jdk>[9,17)</jdk>
|
||||
<jdk>[17,)</jdk>
|
||||
<property>
|
||||
<name>jenkins-releases</name>
|
||||
<value>true</value>
|
||||
|
@ -467,14 +629,14 @@
|
|||
<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.url}</repository>
|
||||
<repository>${repository.releases.next.url}</repository>
|
||||
</properties>
|
||||
<!-- Repositories for dependency resolution -->
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>gcube-releases</id>
|
||||
<id>gcube-releases-all</id>
|
||||
<name>gCube Releases</name>
|
||||
<url>${repository.releases.url}</url>
|
||||
<url>${repository.releases.all.url}</url>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
|
@ -494,9 +656,9 @@
|
|||
</releases>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>gcube-jenkins-staging-java11</id>
|
||||
<name>gCube Jenkins Staging Java11</name>
|
||||
<url>${repository.jenkins.staging.java11.url}</url>
|
||||
<id>gcube-staging-all</id>
|
||||
<name>gCube Staging All</name>
|
||||
<url>${repository.staging.all.url}</url>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
|
@ -504,33 +666,22 @@
|
|||
<enabled>true</enabled>
|
||||
</releases>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>gcube-jenkins-staging</id>
|
||||
<name>gCube Jenkins Staging</name>
|
||||
<url>${repository.jenkins.staging.url}</url>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
</releases>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<!-- Repositories for deployments -->
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>gcube-releases</id>
|
||||
<id>gcube-releases-next</id>
|
||||
<name>gCube Releases</name>
|
||||
<url>${repository.releases.url}</url>
|
||||
<url>${repository.releases.next.url}</url>
|
||||
</repository>
|
||||
</distributionManagement>
|
||||
<build>
|
||||
<finalName>${project.artifactId}-${project.version}</finalName>
|
||||
</build>
|
||||
</profile>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>jenkins-staging-legacy</id>
|
||||
<id>jenkins-staging-gcore-legacy</id>
|
||||
<activation>
|
||||
<jdk>[,1.8)</jdk>
|
||||
<property>
|
||||
|
@ -538,15 +689,15 @@
|
|||
<value>true</value>
|
||||
</property>
|
||||
</activation>
|
||||
<properties>
|
||||
<repository>${repository.staging.java7.url}</repository>
|
||||
</properties>
|
||||
<properties>
|
||||
<repository>${repository.jenkins.staging.gcore.url}</repository>
|
||||
</properties>
|
||||
<!-- Repositories for dependency resolution -->
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>gcube-staging-java7</id>
|
||||
<name>gCube Staging Java7</name>
|
||||
<url>${repository.staging.java7.url}</url>
|
||||
<url>${repository.jenkins.staging.java7.url}</url>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
<updatePolicy>never</updatePolicy>
|
||||
|
@ -558,7 +709,7 @@
|
|||
<repository>
|
||||
<id>gcube-staging-gcore</id>
|
||||
<name>gCube Staging gCore</name>
|
||||
<url>${repository.staging.gcore.url}</url>
|
||||
<url>${repository.jenkins.staging.gcore.url}</url>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
|
@ -579,6 +730,67 @@
|
|||
</repository>
|
||||
</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 -->
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
|
@ -594,15 +806,18 @@
|
|||
<profile>
|
||||
<id>jenkins-staging-official</id>
|
||||
<activation>
|
||||
<jdk>[1.8,9)</jdk>
|
||||
<jdk>[9,17)</jdk>
|
||||
<property>
|
||||
<name>jenkins-staging</name>
|
||||
<value>true</value>
|
||||
</property>
|
||||
</activation>
|
||||
<properties>
|
||||
<repository>${repository.jenkins.staging.url}</repository>
|
||||
</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>
|
||||
</properties>
|
||||
<!-- Repositories for dependency resolution -->
|
||||
<repositories>
|
||||
<repository>
|
||||
|
@ -639,7 +854,6 @@
|
|||
</releases>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<!-- Repositories for deployments -->
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
|
@ -655,7 +869,7 @@
|
|||
<profile>
|
||||
<id>jenkins-staging-experimental</id>
|
||||
<activation>
|
||||
<jdk>[9,)</jdk>
|
||||
<jdk>[17,)</jdk>
|
||||
<property>
|
||||
<name>jenkins-staging</name>
|
||||
<value>true</value>
|
||||
|
@ -665,14 +879,14 @@
|
|||
<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.java11.url}</repository>
|
||||
<repository>${repository.jenkins.staging.next.url}</repository>
|
||||
</properties>
|
||||
<!-- Repositories for dependency resolution -->
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>gcube-staging-jenkins</id>
|
||||
<name>gCube Jenkins Staging</name>
|
||||
<url>${repository.jenkins.staging.url}</url>
|
||||
<id>gcube-staging-all</id>
|
||||
<name>gCube Staging All</name>
|
||||
<url>${repository.staging.all.url}</url>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
|
@ -680,21 +894,11 @@
|
|||
<enabled>true</enabled>
|
||||
</releases>
|
||||
</repository>
|
||||
|
||||
<repository>
|
||||
<id>gcube-staging-jenkins-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-releases</id>
|
||||
<id>gcube-releases-all</id>
|
||||
<name>gCube Releases</name>
|
||||
<url>${repository.releases.url}</url>
|
||||
<url>${repository.releases.all.url}</url>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
|
@ -718,9 +922,9 @@
|
|||
<!-- Repositories for deployments -->
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>gcube-staging-jenkins</id>
|
||||
<name>gCube Staging</name>
|
||||
<url>${repository.jenkins.staging.url}</url>
|
||||
<id>gcube-staging-jenkins-next</id>
|
||||
<name>gCube Jenkins Staging Next</name>
|
||||
<url>${repository.jenkins.staging.next.url}</url>
|
||||
</repository>
|
||||
</distributionManagement>
|
||||
<build>
|
||||
|
@ -1338,17 +1542,28 @@
|
|||
<maven.version>3.3.9</maven.version>
|
||||
<repository.snapshots.url>https://nexus.d4science.org/nexus/content/repositories/gcube-snapshots
|
||||
</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>
|
||||
<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>
|
||||
https://nexus.d4science.org/nexus/content/repositories/gcube-staging-jenkins
|
||||
</repository.jenkins.staging.url>
|
||||
<repository.jenkins.staging.java11.url>
|
||||
https://nexus.d4science.org/nexus/content/repositories/gcube-staging-jenkins-java11
|
||||
</repository.jenkins.staging.java11.url>
|
||||
<repository.staging.url>https://nexus.d4science.org/nexus/content/repositories/gcube-staging/
|
||||
</repository.staging.url>
|
||||
|
||||
<repository.jenkins.staging.next.url>
|
||||
https://nexus.d4science.org/nexus/content/repositories/gcube-staging-jenkins-next
|
||||
</repository.jenkins.staging.next.url>
|
||||
<repository.staging.all.url>https://nexus.d4science.org/nexus/content/groups/gcube-staging-all
|
||||
</repository.staging.all.url>
|
||||
<repository.externals.readonly>
|
||||
https://nexus.d4science.org/nexus/content/repositories/gcube-externals
|
||||
</repository.externals.readonly>
|
||||
|
|
Loading…
Reference in New Issue