Compare commits

..

59 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 bc053fa213 update maven-compiler plugin to 3.10.1; set forceJavacCompilerUse to true 2022-09-22 16:33:09 +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
Roberto Cirillo ab2ba643c7 add .idea to gitignore 2022-09-22 09:53:31 +02:00
Roberto Cirillo a367ab5415 Merge pull request 'force java 1.8 on jdk11 activation profiles' (!16) from feature/23893 into master
Reviewed-on: #16
2022-09-21 08:48:58 +02:00
Roberto Cirillo 2bce41fbc6 force java 1.8 on jdk11 activation profiles 2022-09-21 08:41:47 +02:00
Roberto Cirillo 4820110b64 Merge pull request 'Log level is set to info instead of warning' (!15) from feature/22914 into master
Reviewed-on: #15
2022-03-29 11:52:14 +02:00
Luca Frosini d9d2fc38ba Log level is set to info instead of warning 2022-03-07 11:06:56 +01:00
Roberto Cirillo 3f83c491fa Merge pull request 'feature/22842' (!14) from feature/22842 into master
Reviewed-on: #14
2022-03-07 10:43:45 +01:00
Roberto Cirillo c941b869c6 add staging depenencies repo to release profile, add
release-experimental profile, remove updatePolicy set to never
2022-03-01 14:50:03 +01:00
Roberto Cirillo d445ee985e move plaintext-maven-plugin release plugin to the profile
common-release.
2022-03-01 12:13:12 +01:00
Roberto Cirillo f44fb68216 edit jdk range on jenkins-release profile 2022-03-01 11:38:44 +01:00
Roberto Cirillo f99e144f5e rename profiles with official, legacy, experimental suffix 2022-02-28 14:27:45 +01:00
Roberto Cirillo 842fd40523 remove some comments 2022-02-25 16:57:07 +01:00
Roberto Cirillo eb36893feb remove jenkins-release-next profile. I think it's not strictly necessary
now
2022-02-25 16:07:42 +01:00
Roberto Cirillo d23a597fc6 add two common profiles: common-release-checks, common-snapshot-checks 2022-02-25 16:01:15 +01:00
Roberto Cirillo ae1f5edd64 restore profile disable-java8-doclint 2022-02-21 14:40:32 +01:00
Roberto Cirillo aab964c1a8 add "gcube-default" profile as default profile. 2022-02-21 14:12:00 +01:00
Roberto Cirillo 44c0025860 add maven-helper-plugin: show active profile 2022-02-21 11:15:14 +01:00
Roberto Cirillo 2b80696a81 remove skip install on gcube-developer* profiles 2022-02-18 15:11:02 +01:00
Roberto Cirillo 98d2db3a13 remove update policy from release artifact on gcube-staging-* repos.
Before it was set to false but the artifact should be redeployed in
staging repos
2022-02-18 12:31:29 +01:00
Roberto Cirillo 0267fa3866 add repository policies inside the profiles. Before they were configured
inside the settings file
2022-02-18 12:25:30 +01:00
Roberto Cirillo 382d09217a delete jenkins-snapshot profile. Refactoring of all profiles. Added
activation option on dev, staging and release profiles. Other changes
should be done on settings.xml files in order to work properly. These
profiles are currently under test
2022-02-17 17:05:27 +01:00
Roberto Cirillo 7403d93594 Merge pull request 'upgrade groovy-maven-plugin to version 2.1.1' (!13) from feature/22744 into master
Reviewed-on: #13
2022-02-04 10:47:55 +01:00
Roberto Cirillo 2316d72c45 upgrade groovy-maven-plugin to version 2.1.1 2022-01-31 11:10:16 +01:00
4 changed files with 852 additions and 355 deletions

4
.gitignore vendored
View File

@ -1 +1,5 @@
/target/
/.classpath
/*.project
/.settings
/.idea

View File

@ -1,10 +1,27 @@
# 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
* 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
* add new execution phase to buildnumber-maven-plugin
* Enforcement for:
* Java 8 (target and source)
* OpenJDK as target Java VM.

View File

@ -3,7 +3,7 @@
A parent pom for all the gCube artifacts.
# Enforcements
* Java 8 (target and source)
* Java 8 (target and source) unless otherwise specified inside the pom
* OpenJDK as target Java VM.
* Maven 3.3.9+
* 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
## 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
* Snapshot artifacts installed to local
* Snapshot artifacts deployed to gcube-snapshots
* Deployments of releases artifacts are not permitted
## jenkins-snapshots
* 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
## jenkins-staging-official
* Dependencies resolved against local-staging, gcube-jenkins-staging, gcube-staging and gcube-releases
* Release/snapshot artifacts installed to local-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.
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

1139
pom.xml

File diff suppressed because it is too large Load Diff