Commit Graph

136 Commits

Author SHA1 Message Date
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 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 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 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 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
Manuele Simi e87e8b7c96 Add dry-run profile. 2019-05-28 18:48:39 -04:00
Manuele Simi 098edffa69 Add snapshot postfix. 2019-05-22 09:15:55 -04:00
Manuele Simi 0a530e67cc Fix typo. 2019-05-21 23:45:06 -04:00
Manuele Simi bd8ed8e285 Add scm section to the pom. 2019-05-21 23:44:02 -04:00
Manuele Simi 297136ed76 Pretty formatting. 2019-05-21 21:57:24 -04:00
Manuele Simi d325bf6b93 Add pluginRepositories section. 2019-05-20 22:53:49 -04:00
Manuele Simi ddda8653fe Add gcube-externals repo. 2019-05-18 15:36:27 -04:00
Manuele Simi afbb7af994 Remove property on gcube-developer activation. 2019-05-18 15:19:22 -04:00
Manuele Simi a8ef41d122 Organize repos for dependency resolution and deployment across the new profiles. 2019-05-18 15:09:00 -04:00
Manuele Simi 9d0205f8e7 Set consistent activations across profiles. 2019-05-17 18:47:53 -04:00
Manuele Simi 860b2bb164 Add 3 new profiles (developer, jenkins-snapshot, jenkins-release). Still preliminary work. 2019-05-16 23:52:46 -04:00
Manuele Simi 75e801dc08 Enforce the usage of OpenJDK as Java VM. Advance version to 1.1.0 2019-05-15 23:19:17 -04:00
gabriele.giammatteo 682ef513d8 added grant for AGIFRA PLUS
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/build-utils/maven-parent@160710 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-12-20 11:42:19 +00:00
gabriele.giammatteo 208f112131 test
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/build-utils/maven-parent@158246 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-07 10:37:11 +00:00
gabriele.giammatteo 012678e966 fixed double configuration for assembly plugin
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/build-utils/maven-parent@158016 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-30 14:25:36 +00:00
gabriele.giammatteo 89e5e44a74 added configuration for the uberjar
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/build-utils/maven-parent@157985 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-30 13:23:57 +00:00
gabriele.giammatteo 67fc54de6c forcing maven-assembly version to 2.6 by default
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/build-utils/maven-parent@148462 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-10 16:01:30 +00:00
gabriele.giammatteo 5be923c00b make sure the source package always have "-src" in the filename
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/build-utils/maven-parent@148329 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-05 13:56:44 +00:00
gabriele.giammatteo a3c2bcc13b new proeprties to control java soruce and target values
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/build-utils/maven-parent@148293 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-04 10:39:26 +00:00
gabriele.giammatteo b41c5dbad7 java 1.8 default, new source packages in zip format
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/build-utils/maven-parent@148250 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-03 09:35:27 +00:00
gabriele.giammatteo a61068c596 fix javadoc generation error when jdk1.7 is used
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/build-utils/maven-parent@129904 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-05 06:47:41 +00:00
gabriele.giammatteo c98313c597 added skip of javadoc in Java8
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/build-utils/maven-parent@129864 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-04 13:28:20 +00:00
gabriele.giammatteo c9ff03303f git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/build-utils/maven-parent@125760 82a268e6-3cf1-43bd-a215-b396298e98cf 2016-03-18 16:08:26 +00:00
gabriele.giammatteo 3cd60f4568 added "/" at the end of wikiRoot property
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/build-utils/maven-parent@125759 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-03-18 16:06:34 +00:00
gabriele.giammatteo 5ac7b91561 fixed wiki url and funding properties
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/build-utils/maven-parent@124928 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-03-10 09:08:07 +00:00
gabriele.giammatteo a1b6719309 adding gcube common properties for generation of README and LICENSE file
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/build-utils/maven-parent@124811 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-03-04 13:52:17 +00:00
gabriele.giammatteo 4ba1616208 gcube-releases removed
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/build-utils/maven-parent@53989 82a268e6-3cf1-43bd-a215-b396298e98cf
2012-05-04 12:29:42 +00:00
fabio.simeoni fe592edd09 added generation of source and javadoc jars
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/build-utils/maven-parent@53645 82a268e6-3cf1-43bd-a215-b396298e98cf
2012-04-26 15:43:33 +00:00
gabriele.giammatteo 29bc7007d8 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/build-utils/maven-parent@49790 82a268e6-3cf1-43bd-a215-b396298e98cf 2012-01-17 14:40:13 +00:00
gabriele.giammatteo 8ddd7d37a1 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/build-utils/maven-parent@49788 82a268e6-3cf1-43bd-a215-b396298e98cf 2012-01-17 14:17:17 +00:00
gabriele.giammatteo 7e421c08d2 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/build-utils/maven-parent@49783 82a268e6-3cf1-43bd-a215-b396298e98cf 2012-01-17 09:25:00 +00:00
gabriele.giammatteo 9e5338df39 test
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/build-utils/maven-parent@49662 82a268e6-3cf1-43bd-a215-b396298e98cf
2012-01-06 19:58:27 +00:00
fabio.simeoni 0d038defbd without replacer plugin
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/build-utils/maven-parent@48415 82a268e6-3cf1-43bd-a215-b396298e98cf
2011-11-19 19:30:28 +00:00
fabio.simeoni 1840ce844b removed 'deploy' profile
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/build-utils/maven-parent@46819 82a268e6-3cf1-43bd-a215-b396298e98cf
2011-10-24 23:37:43 +00:00
fabio.simeoni b4da257905 removed source and javadoc packaging as unwanted transparencies, general cleanup
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/build-utils/maven-parent@46817 82a268e6-3cf1-43bd-a215-b396298e98cf
2011-10-24 22:58:22 +00:00
fabio.simeoni 92283705d6 expected distribution files in project root now (rather than META-INF)
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/build-utils/maven-parent@46629 82a268e6-3cf1-43bd-a215-b396298e98cf
2011-10-17 19:05:08 +00:00
fabio.simeoni f9fffc499e added formkode=always to maven-parent
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/build-utils/maven-parent@46449 82a268e6-3cf1-43bd-a215-b396298e98cf
2011-10-11 15:41:24 +00:00
fabio.simeoni fec0da40db location for local deployment taken from $local.deploy.dir and defaulted to ${env.GLOBUS_LOCATION}/lib
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/build-utils/maven-parent@45676 82a268e6-3cf1-43bd-a215-b396298e98cf
2011-09-16 08:51:36 +00:00
fabio.simeoni 78deb69560 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/build-utils/maven-parent@45674 82a268e6-3cf1-43bd-a215-b396298e98cf 2011-09-15 15:19:56 +00:00