Compare commits

...

153 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
Manuele Simi 8a77d953ab Merge pull request 'nexus url changed' (#12) from 20116 into master
New Nexus URLs.
2020-11-13 17:23:16 +01:00
roberto cirillo c4599be5b7 nexus url changed 2020-11-13 17:08:10 +01:00
Roberto Cirillo 8c56a22daa Merge pull request 'Downgrade maven-surefire-plugin to 2.22.2.' (#11) from fix/19973 into master 2020-10-16 09:50:24 +02:00
Manuele Simi 046c12b8fe Downgrade maven-surefire-plugin to 2.22.2. Service maps are not loaded with 3.0. 2020-10-15 23:26:39 -04:00
Manuele Simi 28bfa2770e Merge pull request 'fix/19939' (#10) from fix/19939 into master 2020-10-08 15:43:01 +02:00
Luca Frosini e2cce721c9 Ignored generated target directory and eclipse project file 2020-10-08 14:08:54 +02:00
Manuele Simi 921f710e8e Remove version of managed plugins. 2020-10-07 22:35:03 -04:00
Manuele Simi 45bcd05e8e Merge pull request 'fix/19854' (#9) from fix/19854 into master 2020-10-07 15:48:29 +02:00
Manuele Simi 4f309ea0da Reformat code. 2020-09-28 11:10:55 -04:00
Manuele Simi b176b8f311 Ignore validation of antrun and resources' plugins. 2020-09-28 16:33:54 +02:00
Manuele Simi b8437f7047 Advance antrun plugin to 3.0. Move the dynamic properties to generate-resources phase. 2020-09-27 22:57:58 -04:00
Manuele Simi 5a56fed612 Merge pull request 'Surefire plugin: migrate the deprecated forkMode parameter to forkCount and reuseForks.' (#8) from feature/19662 into master 2020-08-15 04:58:38 +02:00
Manuele Simi 0570f634ec Define and use the project.test.outputDirectory property. 2020-08-11 13:56:17 -04:00
Manuele Simi e944343a45 Surefire plugin: migrate the deprecated forkMode parameter to forkCount and reuseForks. 2020-08-09 17:09:36 -04:00
Luca Frosini 7950525cfc Merge pull request 'Fix output directory for filter resources' (#7) from fix-filtered-gcube-resource into master
The filtered resources are present in the artefact in expected location both for jar and war.
2020-08-08 10:24:17 +02:00
Manuele Simi 3ba0723681 Set output paths for WEB/META-INF extra resources with conditional properties. 2020-08-07 23:38:33 -04:00
Manuele Simi e1c2282b2d Update output paths for WEB/META-INF extra resources. 2020-08-07 09:53:59 -04:00
Luca Frosini d8ef1cf792 Fixed output directory of filter resources 2020-08-06 17:27:30 +02:00
Luca Frosini 90655e6de0 Merge pull request 'New requirements and some eclipse issues when using Eclipse' (#6) from resolve-eclipse-requirements into master 2020-08-03 11:25:17 +02:00
Luca Frosini ecb4487ab4 Switched tag from version to versionRange which is more appropriated 2020-07-31 17:38:04 +02:00
Manuele Simi 411c6cde4c Add src/main/resources folder to the output jar/war. 2020-07-25 16:44:15 -04:00
Manuele Simi 01a4ecb6e6 Add and filter gcube/extra-resources folder to the output jar/war. 2020-07-25 16:41:42 -04:00
Manuele Simi e6051b8b74 Add version of commonly used plugins as properties. 2020-07-24 23:16:36 -04:00
Manuele Simi bdf23e25be Restore make-uberjar execution of assembly plugin. 2020-07-23 23:17:15 -04:00
Manuele Simi ffcf516c30 Merge pull request 'unified-version-plugins' (#3) from unified-version-plugins into master 2020-07-13 20:26:19 +02:00
Manuele Simi 44d2106149 Remove service archive generation. 2020-07-13 14:09:52 -04:00
Manuele Simi 9dbf771b94 Use a unique version of buildnumber plugin. 2020-07-13 14:08:18 -04:00
Manuele Simi d30c8dcc3f Use a unique version of build helper plugin. 2020-07-13 14:06:41 -04:00
Manuele Simi 73686d24d1 Attach the executions to the declaration of the enforcer plugin. 2020-07-13 14:01:36 -04:00
Manuele Simi 7f10392c8f Use a unique version of enforcer plugin. 2020-07-13 13:51:21 -04:00
Roberto Cirillo f57cdc28a5 Merge pull request 'feature/19437' (#2) from feature/19437 into master
it sounds good.
2020-07-07 16:56:29 +02:00
Manuele Simi 6acb0b5b66 Remove release numbers from changelog. 2020-07-06 13:43:41 -04:00
Manuele Simi f8a4a175b9 Update README with the new enforcements. 2020-06-24 21:21:05 -04:00
Manuele Simi 1959cdf6d8 Add LICENSE.md to META-INF folder when running with staging or release profile. 2020-06-24 18:50:41 -04:00
Manuele Simi 4b88c3e8a2 Add enforcer for the version tag in CHANGELOG.md. 2020-06-21 16:09:23 -04:00
Manuele Simi 9802ce9e42 Add enforcer for few required files in the project. 2020-06-19 23:34:28 -04:00
Manuele Simi a3f3905672 Add LICENSE. 2020-06-19 14:50:26 -04:00
Manuele Simi 943956db98 Update CHANGELOG.md. 2020-06-09 22:05:40 -04:00
Manuele Simi cec724fb10 Add CHANGELOG.md. 2020-06-07 10:45:51 -04:00
Manuele Simi e51cb2a04f Deactivate the install phase when the -SNAPSHOT suffix is not present under the jenkins-snapshot profile. 2020-04-05 15:45:51 -04:00
Manuele Simi 10f9ecdb50 Attach maven-deploy-plugin's executions to the deploy phase. 2020-02-04 22:21:41 -05:00
Manuele Simi cad1e191f7 Check both -snapshot and not -snapshot in release/staging. 2020-01-27 09:35:33 -05:00
Manuele Simi d8aacfd01c Correct regexs for skipping the deployments. 2020-01-27 09:22:13 -05:00
Manuele Simi 10263a5f46 Invert regexp for staging/release. 2020-01-25 22:20:31 -05:00
Manuele Simi 60375a9b45 Fail if a snapshot suffix is detected and we are on staging/release. 2020-01-25 21:33:38 -05:00
Manuele Simi 26e9c51456 Remove branch column. 2019-10-28 13:35:22 -04:00
Manuele Simi fd1017eb0c Separate filename from packaging. 2019-10-25 14:33:01 -04:00
Manuele Simi 68ad69b7a2 Remove create-tiemestamp-id (create problems with M2E). 2019-10-24 15:03:38 -04:00
Manuele Simi e6112ed886 Use a customized build timestamp. 2019-10-24 15:02:38 -04:00
Manuele Simi 8acb508ddc Add entries to the manifest also for WARs. 2019-10-24 09:15:14 -04:00
Manuele Simi 49c6bb357a Switch back to buildnumber plugin. 2019-10-23 11:24:15 -04:00
Manuele Simi cb1946c0e0 Switch to git-commit-id-plugin. 2019-10-22 23:46:27 -04:00
Manuele Simi 17346a99eb Add more info to the build report. 2019-10-22 22:57:07 -04:00
Manuele Simi 66fdd6d872 Append build info also in gcube-releases. 2019-10-21 22:50:35 -04:00
Manuele Simi 17d39b5f88 Use MAVEN_CONFIG_FOLDER as output folder. 2019-10-21 22:36:20 -04:00
Manuele Simi 7416e62f58 Fix plaintext config. 2019-10-21 22:35:00 -04:00
Manuele Simi 0768cb384e Output builds to CSV. 2019-10-21 22:25:13 -04:00
Manuele Simi d2b3541b19 Add plaintext plugin and output the build number. 2019-10-21 21:41:13 -04:00
Manuele Simi 6b83991537 Use scm.url instead of connection. 2019-10-19 23:20:47 -04:00
Manuele Simi 8031c7642d Remove ranges that can potentially slow down builds. 2019-10-19 22:50:42 -04:00
Manuele Simi 01f86df8dd Rename SCM-Commit-URL to SCM-Revision-URL. 2019-10-17 11:54:54 -04:00
Manuele Simi 468a9b1844 Add commit URL to manifest file. 2019-10-17 11:44:48 -04:00
Manuele Simi fc5bcba800 Add build time and branch to MANIFEST. 2019-10-15 23:36:28 -04:00
Manuele Simi d184036935 Use full build number from SCM. 2019-10-15 22:37:39 -04:00
Manuele Simi 9d6339077c Remove gcube release number from the filename. 2019-10-15 22:31:22 -04:00
Manuele Simi 708c0d3025 Temporary remove the build number from the filename. 2019-10-15 21:15:57 -04:00
Manuele Simi 0a322f1f73 Share buildNumber plugin across all profiles. 2019-10-15 15:56:06 -04:00
Manuele Simi 4b641bdd58 Restore previous buildNumber format. 2019-10-15 13:21:47 -04:00
Manuele Simi c8340c3e60 Refer to build number with the correct format. 2019-10-15 12:59:55 -04:00
Manuele Simi 9afbe3bd41 Restore deployment skipping, it causes a failure on jenkins when it tries to deploy on a snapshot configuration. 2019-10-06 15:51:42 -04:00
Manuele Simi 819af1099d Do not skip deployment on gcube-snapshots if there is a release version within the jenkins-snapshots profile. Use a standard repository instead of snapshot for gcube-developer. 2019-10-06 15:46:59 -04:00
Manuele Simi ab63e6c9df Do not skip deployment on gcube-snapshots if there is a release version within the gcube-developer profile. 2019-10-06 15:23:08 -04:00
Manuele Simi cf7ee515fe Invert the fail conditions on the regex. 2019-10-02 21:45:47 -04:00
Manuele Simi 91f067cd3c Fail if snapshot or release versions are not match. 2019-10-02 21:13:34 -04:00
Manuele Simi 9fb74aeb83 Fix staging with wrong URL. 2019-10-02 16:55:36 -04:00
Manuele Simi 7a36a3d43c Go back to version 1.1.0. 2019-09-24 21:46:20 -04:00
Manuele Simi 6dfbb4ada2 Extend documentation. 2019-09-20 23:11:51 -04:00
Manuele Simi ccb72c3450 Add jenkins-staging repo to jenkins-staging and jenkins-releases. Add gcube-snapshots to jenkins-snapshots. Add gcube-releases to jenkins-staging. Advance to 1.1.1. 2019-09-20 22:53:50 -04:00
Manuele Simi 2c89fb6636 Add jenkins-staging description to README. 2019-09-12 00:01:33 -04:00
Manuele Simi 2834b68786 Require Maven 3.3.9. 2019-08-13 22:24:27 -04:00
Manuele Simi bacb98d2fe Remove distinction between ro/rw urls. 2019-08-13 22:23:08 -04:00
Manuele Simi d455ccec87 Fix typo in the assembly plugin version. 2019-08-13 22:19:53 -04:00
Manuele Simi 799ad81149 Declare the staging repository. 2019-08-13 22:16:56 -04:00
Manuele Simi 5389807e29 Create new jenkins-staging profile to deploy on the staging repository. 2019-08-13 22:07:50 -04:00
Manuele Simi 35d2d62429 Increase the shortened revision length from 5 to 10. 2019-08-12 09:02:10 -04:00
Manuele Simi 718902de66 Merge remote-tracking branch 'origin/feature/16915' 2019-08-11 22:36:25 -04:00
Manuele Simi 3c49630811 Update readme. 2019-08-11 22:35:43 -04:00
Manuele Simi 2650b253d9 Add plugin version where they were missing. 2019-08-11 22:35:28 -04:00
Manuele Simi 5d9f90f006 Advance version to 1.1.0. 2019-07-09 10:23:33 -04:00
Manuele Simi 5b630c87c3 Update README. 2019-06-12 23:24:57 -04:00
Manuele Simi e0eae15bc3 Fix outdated comments. 2019-06-11 23:26:44 -04:00
Manuele Simi 58c5232e6c Skip deployment when the project version is not consistent with the active profile. 2019-06-11 22:43:32 -04:00
Manuele Simi 2d0ad9bc35 Add gcube release number to the release filename. 2019-06-11 15:01:08 -04:00
Manuele Simi 7a13a64fb1 Set the filename format of the artifacts in the jenkins-releases profile. Add also the git commit number to the MANIFEST inside the distributed jar. 2019-06-11 14:36:55 -04:00
6 changed files with 2188 additions and 744 deletions

5
.gitignore vendored Normal file
View File

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

1
.settings/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/org.eclipse.core.resources.prefs

31
CHANGELOG.md Normal file
View File

@ -0,0 +1,31 @@
# Changelog for Maven-Parent
## [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.
* Maven 3.3.9+
## [v1.0.0] - 2017-12-20

312
LICENSE.md Normal file
View File

@ -0,0 +1,312 @@
# European Union Public Licence V. 1.1
EUPL © the European Community 2007
This European Union Public Licence (the “EUPL”) applies to the Work or Software
(as defined below) which is provided under the terms of this Licence. Any use of
the Work, other than as authorised under this Licence is prohibited (to the
extent such use is covered by a right of the copyright holder of the Work).
The Original Work is provided under the terms of this Licence when the Licensor
(as defined below) has placed the following notice immediately following the
copyright notice for the Original Work:
Licensed under the EUPL V.1.1
or has expressed by any other mean his willingness to license under the EUPL.
## 1. Definitions
In this Licence, the following terms have the following meaning:
- The Licence: this Licence.
- The Original Work or the Software: the software distributed and/or
communicated by the Licensor under this Licence, available as Source Code and
also as Executable Code as the case may be.
- Derivative Works: the works or software that could be created by the Licensee,
based upon the Original Work or modifications thereof. This Licence does not
define the extent of modification or dependence on the Original Work required
in order to classify a work as a Derivative Work; this extent is determined by
copyright law applicable in the country mentioned in Article 15.
- The Work: the Original Work and/or its Derivative Works.
- The Source Code: the human-readable form of the Work which is the most
convenient for people to study and modify.
- The Executable Code: any code which has generally been compiled and which is
meant to be interpreted by a computer as a program.
- The Licensor: the natural or legal person that distributes and/or communicates
the Work under the Licence.
- Contributor(s): any natural or legal person who modifies the Work under the
Licence, or otherwise contributes to the creation of a Derivative Work.
- The Licensee or “You”: any natural or legal person who makes any usage of the
Software under the terms of the Licence.
- Distribution and/or Communication: any act of selling, giving, lending,
renting, distributing, communicating, transmitting, or otherwise making
available, on-line or off-line, copies of the Work or providing access to its
essential functionalities at the disposal of any other natural or legal
person.
## 2. Scope of the rights granted by the Licence
The Licensor hereby grants You a world-wide, royalty-free, non-exclusive,
sub-licensable licence to do the following, for the duration of copyright vested
in the Original Work:
- use the Work in any circumstance and for all usage, reproduce the Work, modify
- the Original Work, and make Derivative Works based upon the Work, communicate
- to the public, including the right to make available or display the Work or
- copies thereof to the public and perform publicly, as the case may be, the
- Work, distribute the Work or copies thereof, lend and rent the Work or copies
- thereof, sub-license rights in the Work or copies thereof.
Those rights can be exercised on any media, supports and formats, whether now
known or later invented, as far as the applicable law permits so.
In the countries where moral rights apply, the Licensor waives his right to
exercise his moral right to the extent allowed by law in order to make effective
the licence of the economic rights here above listed.
The Licensor grants to the Licensee royalty-free, non exclusive usage rights to
any patents held by the Licensor, to the extent necessary to make use of the
rights granted on the Work under this Licence.
## 3. Communication of the Source Code
The Licensor may provide the Work either in its Source Code form, or as
Executable Code. If the Work is provided as Executable Code, the Licensor
provides in addition a machine-readable copy of the Source Code of the Work
along with each copy of the Work that the Licensor distributes or indicates, in
a notice following the copyright notice attached to the Work, a repository where
the Source Code is easily and freely accessible for as long as the Licensor
continues to distribute and/or communicate the Work.
## 4. Limitations on copyright
Nothing in this Licence is intended to deprive the Licensee of the benefits from
any exception or limitation to the exclusive rights of the rights owners in the
Original Work or Software, of the exhaustion of those rights or of other
applicable limitations thereto.
## 5. Obligations of the Licensee
The grant of the rights mentioned above is subject to some restrictions and
obligations imposed on the Licensee. Those obligations are the following:
Attribution right: the Licensee shall keep intact all copyright, patent or
trademarks notices and all notices that refer to the Licence and to the
disclaimer of warranties. The Licensee must include a copy of such notices and a
copy of the Licence with every copy of the Work he/she distributes and/or
communicates. The Licensee must cause any Derivative Work to carry prominent
notices stating that the Work has been modified and the date of modification.
Copyleft clause: If the Licensee distributes and/or communicates copies of the
Original Works or Derivative Works based upon the Original Work, this
Distribution and/or Communication will be done under the terms of this Licence
or of a later version of this Licence unless the Original Work is expressly
distributed only under this version of the Licence. The Licensee (becoming
Licensor) cannot offer or impose any additional terms or conditions on the Work
or Derivative Work that alter or restrict the terms of the Licence.
Compatibility clause: If the Licensee Distributes and/or Communicates Derivative
Works or copies thereof based upon both the Original Work and another work
licensed under a Compatible Licence, this Distribution and/or Communication can
be done under the terms of this Compatible Licence. For the sake of this clause,
“Compatible Licence” refers to the licences listed in the appendix attached to
this Licence. Should the Licensees obligations under the Compatible Licence
conflict with his/her obligations under this Licence, the obligations of the
Compatible Licence shall prevail.
Provision of Source Code: When distributing and/or communicating copies of the
Work, the Licensee will provide a machine-readable copy of the Source Code or
indicate a repository where this Source will be easily and freely available for
as long as the Licensee continues to distribute and/or communicate the Work.
Legal Protection: This Licence does not grant permission to use the trade names,
trademarks, service marks, or names of the Licensor, except as required for
reasonable and customary use in describing the origin of the Work and
reproducing the content of the copyright notice.
## 6. Chain of Authorship
The original Licensor warrants that the copyright in the Original Work granted
hereunder is owned by him/her or licensed to him/her and that he/she has the
power and authority to grant the Licence.
Each Contributor warrants that the copyright in the modifications he/she brings
to the Work are owned by him/her or licensed to him/her and that he/she has the
power and authority to grant the Licence.
Each time You accept the Licence, the original Licensor and subsequent
Contributors grant You a licence to their contributions to the Work, under the
terms of this Licence.
## 7. Disclaimer of Warranty
The Work is a work in progress, which is continuously improved by numerous
contributors. It is not a finished work and may therefore contain defects or
“bugs” inherent to this type of software development.
For the above reason, the Work is provided under the Licence on an “as is” basis
and without warranties of any kind concerning the Work, including without
limitation merchantability, fitness for a particular purpose, absence of defects
or errors, accuracy, non-infringement of intellectual property rights other than
copyright as stated in Article 6 of this Licence.
This disclaimer of warranty is an essential part of the Licence and a condition
for the grant of any rights to the Work.
## 8. Disclaimer of Liability
Except in the cases of wilful misconduct or damages directly caused to natural
persons, the Licensor will in no event be liable for any direct or indirect,
material or moral, damages of any kind, arising out of the Licence or of the use
of the Work, including without limitation, damages for loss of goodwill, work
stoppage, computer failure or malfunction, loss of data or any commercial
damage, even if the Licensor has been advised of the possibility of such
damage. However, the Licensor will be liable under statutory product liability
laws as far such laws apply to the Work.
## 9. Additional agreements
While distributing the Original Work or Derivative Works, You may choose to
conclude an additional agreement to offer, and charge a fee for, acceptance of
support, warranty, indemnity, or other liability obligations and/or services
consistent with this Licence. However, in accepting such obligations, You may
act only on your own behalf and on your sole responsibility, not on behalf of
the original Licensor or any other Contributor, and only if You agree to
indemnify, defend, and hold each Contributor harmless for any liability incurred
by, or claims asserted against such Contributor by the fact You have accepted
any such warranty or additional liability.
## 10. Acceptance of the Licence
The provisions of this Licence can be accepted by clicking on an icon “I agree”
placed under the bottom of a window displaying the text of this Licence or by
affirming consent in any other similar way, in accordance with the rules of
applicable law. Clicking on that icon indicates your clear and irrevocable
acceptance of this Licence and all of its terms and conditions.
Similarly, you irrevocably accept this Licence and all of its terms and
conditions by exercising any rights granted to You by Article 2 of this Licence,
such as the use of the Work, the creation by You of a Derivative Work or the
Distribution and/or Communication by You of the Work or copies thereof.
## 11. Information to the public
In case of any Distribution and/or Communication of the Work by means of
electronic communication by You (for example, by offering to download the Work
from a remote location) the distribution channel or media (for example, a
website) must at least provide to the public the information requested by the
applicable law regarding the Licensor, the Licence and the way it may be
accessible, concluded, stored and reproduced by the Licensee.
## 12. Termination of the Licence
The Licence and the rights granted hereunder will terminate automatically upon
any breach by the Licensee of the terms of the Licence.
Such a termination will not terminate the licences of any person who has
received the Work from the Licensee under the Licence, provided such persons
remain in full compliance with the Licence.
## 13. Miscellaneous
Without prejudice of Article 9 above, the Licence represents the complete
agreement between the Parties as to the Work licensed hereunder.
If any provision of the Licence is invalid or unenforceable under applicable
law, this will not affect the validity or enforceability of the Licence as a
whole. Such provision will be construed and/or reformed so as necessary to make
it valid and enforceable.
The European Commission may publish other linguistic versions and/or new
versions of this Licence, so far this is required and reasonable, without
reducing the scope of the rights granted by the Licence. New versions of the
Licence will be published with a unique version number.
All linguistic versions of this Licence, approved by the European Commission,
have identical value. Parties can take advantage of the linguistic version of
their choice.
## 14. Jurisdiction
Any litigation resulting from the interpretation of this License, arising
between the European Commission, as a Licensor, and any Licensee, will be
subject to the jurisdiction of the Court of Justice of the European Communities,
as laid down in article 238 of the Treaty establishing the European Community.
Any litigation arising between Parties, other than the European Commission, and
resulting from the interpretation of this License, will be subject to the
exclusive jurisdiction of the competent court where the Licensor resides or
conducts its primary business.
## 15. Applicable Law
This Licence shall be governed by the law of the European Union country where
the Licensor resides or has his registered office.
This licence shall be governed by the Belgian law if:
- a litigation arises between the European Commission, as a Licensor, and any
- Licensee; the Licensor, other than the European Commission, has no residence
- or registered office inside a European Union country.
## Appendix
“Compatible Licences” according to article 5 EUPL are:
- GNU General Public License (GNU GPL) v. 2
- Open Software License (OSL) v. 2.1, v. 3.0
- Common Public License v. 1.0
- Eclipse Public License v. 1.0
- Cecill v. 2.0

View File

@ -3,25 +3,56 @@
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.0.0+
* Maven 3.3.9+
* README.md, CHANGELOG.md and LICENSE.md are present in the baseDir of each Maven module
* CHANGELOG.md must declare a tag [v+Pom version] (e.g. [v1.0.0])
# Build Profiles
## gcube-developer
* Dependencies resolved against gcube-snapshots and gcube-releases
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 and gcube-releases
* Snapshot artifacts installed to local-snapshots
* Snapshot artifacts deployed to gcube-snapshots
* Deployments of release artifacts are not permitted
## 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
## jenkins-releases
* Dependencies resolved against gcube-releases
* Dependencies resolved against local-releases, gcube-releases, gcube-jenkins-staging and gcube staging
* Release artifacts installed to local-releases
* Deployments of snapshot artifacts are not permitted
* Release artifacts deployed to gcube-releases
@ -32,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

2529
pom.xml

File diff suppressed because it is too large Load Diff