Compare commits

...

36 Commits

Author SHA1 Message Date
Roberto Cirillo 1ba2854b80 Merge pull request 'fix conflict with master' (!28) from conflict into master
Reviewed-on: #28
2024-04-05 15:36:30 +02:00
Roberto Cirillo 0b40060d28 fix conflict with master 2024-04-05 15:35:28 +02:00
Roberto Cirillo 2542cc2eca Merge pull request 'bug/25872' (!26) from bug/25872 into master
Reviewed-on: #26
2024-04-03 11:18:14 +02:00
Roberto Cirillo cc285dad97 move to 1.2.0 version 2024-04-03 11:16:12 +02:00
Roberto Cirillo b857fce1bc Merge pull request 'bug/26841' (!25) from bug/26841 into master
Reviewed-on: #25
2024-02-22 10:02:29 +01:00
Roberto Cirillo 29b9eab140 set 1.2.0 version 2024-02-22 09:59:23 +01:00
Roberto Cirillo e8fde085c0 fix changelog version 2024-02-22 09:54:52 +01:00
Roberto Cirillo 06024a761c removed set-local-classpath profile. see #26841 2024-02-22 09:54:04 +01:00
Roberto Cirillo fb4823b683 removed set-local-classpath profile. see #26841 2024-02-22 09:50:30 +01:00
Roberto Cirillo af347b82f7 update CHANGELOG.md 2023-10-16 09:49:11 +02:00
Roberto Cirillo eb6f533790 removed commented plugin declarations 2023-10-16 09:47:45 +02:00
Roberto Cirillo 6f66a8c87c fix syntax 2023-10-16 09:36:02 +02:00
Roberto Cirillo f4225749b0 try to update common plugins to groovy-all 3.0.13 2023-10-16 09:32:47 +02:00
Roberto Cirillo 7db55f6d04 enable disable-java8-doclint profile also for jdk17 2023-10-13 16:59:52 +02:00
Roberto Cirillo 60e3ab5e5f restrict the disable-java8-doclint profile 2023-10-13 14:57:46 +02:00
Roberto Cirillo 067dcfa23b move common plugin declaration inside gcube-official profile, just for testing 2023-10-13 12:25:25 +02:00
Roberto Cirillo 0315b09ce7 update groovy-all plugin to 3.0.13 in gcube-experimental profile 2023-10-13 12:05:58 +02:00
Roberto Cirillo 4d24257b08 migrate plugin dependency from groovy-all to groovy in gcube-experimental profile 2023-10-13 11:26:48 +02:00
Roberto Cirillo 99cde69cfe update CHANGELOG 2023-10-13 10:50:28 +02:00
Roberto Cirillo 62686e818e moved to 1.2.1-SNAPSHOT. see #25872
update groovy-all plugin related to jdk17 profile
2023-10-13 10:42:51 +02:00
Roberto Cirillo fe94a49225 Merge pull request 'feature/25414' (!24) from feature/25414 into master
Reviewed-on: #24
2023-07-26 16:26:40 +02:00
Roberto Cirillo 2df3a89dfc update README 2023-07-26 16:25:54 +02:00
Roberto Cirillo e26f69443c improve README 2023-07-21 12:58:38 +02:00
Roberto Cirillo 836a4f69ee Merge pull request 'update to 1.2.0 version' (!23) from feature/25106 into master
Reviewed-on: #23
2023-05-12 15:11:07 +02:00
Roberto Cirillo 8c19d4b7d4 update to 1.2.0 version 2023-05-12 15:10:27 +02:00
Roberto Cirillo 113972a821 Merge pull request 'add classpath resource #25106, change groovy-mavn and javadoc plugin configurations #25108' (!22) from feature/25106 into master
Reviewed-on: #22
2023-05-12 14:32:01 +02:00
Roberto Cirillo 241cd80f38 add classpath resource #25106, change groovy-mavn and javadoc plugin configurations #25108 2023-05-12 14:30:19 +02:00
Roberto Cirillo 98e0ad5cfe Merge pull request 'moved to 1.2.0-SNAPSHOT. see #24259' (!21) from feature/24259 into master
Reviewed-on: #21
2023-05-12 09:55:52 +02:00
Roberto Cirillo 8286aaa563 moved to 1.2.0-SNAPSHOT. see #24259
fix repository variable on pom
2023-05-02 16:01:30 +02:00
Roberto Cirillo 49241e50bf Merge pull request 'add new execution phase to buildnumber-maven-plugin' (!20) from feature/24580 into master
Reviewed-on: #20
2023-02-10 14:50:36 +01:00
Roberto Cirillo 43a43a2740 add new execution phase to buildnumber-maven-plugin 2023-02-10 11:20:04 +01:00
Roberto Cirillo 6f04d669ad Merge pull request 'Update 'CHANGELOG.md'' (!19) from roberto.cirillo-fixChangelog-1 into master
Reviewed-on: #19
2022-10-28 12:06:41 +02:00
Roberto Cirillo e24359b402 Update 'CHANGELOG.md'
update changelog
2022-10-28 12:06:26 +02:00
Roberto Cirillo e44204ede1 Merge pull request 'update maven-compiler plugin to 3.10.1; set forceJavacCompilerUse to true' (!18) from feature/23905 into master
Reviewed-on: #18
2022-09-22 17:29:37 +02:00
Roberto Cirillo 41de1cdf75 Merge pull request 'feature/23897' (!17) from feature/23897 into master
Reviewed-on: #17
2022-09-22 12:50:27 +02:00
Roberto Cirillo 0ba71cf9f6 removed gcube-staging repo. change deployment repo to gcube-staging-jenkins in jenkins-staging-experimental profile 2022-09-22 10:25:34 +02:00
3 changed files with 388 additions and 150 deletions

View File

@ -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.

View File

@ -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
View File

@ -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>