71 Commits

Author SHA1 Message Date
Andreas Dangel
56f4e738aa Don't disable enforcer plugin 2023-04-15 16:05:40 +02:00
Andreas Dangel
c9ef4531e9 Skip tests when doing a release build 2023-03-30 16:02:58 +02:00
Andreas Dangel
7e5b7c9869 Allow snapshot dependencies in release candidate builds 2023-03-30 15:59:15 +02:00
Andreas Dangel
013ada5def [ci] Render release notes also for snapshots
This updates ReadMe.md on sourceforge for snapshots as well:
https://sourceforge.net/projects/pmd/files/pmd/7.0.0-SNAPSHOT/
2023-03-19 11:42:38 +01:00
Andreas Dangel
45e7830f8a Merge branch 'pmd/7.0.x' 2023-03-03 18:16:36 +01:00
Andreas Dangel
9f05cf9d8d [ci] Prepare scripts for rc1 release [skip ci]
- allow to set RELEASE_VERSION, LAST_VERSION and DEVELOPMENT_VERSION manually
- backport build.sh - to be in sync with pmd7 branch
- allow to deploy SNAPSHOT doc after release with same version
2023-03-02 16:45:31 +01:00
Andreas Dangel
fbc4187d95 [ci] Use new m-pmd-p 3.20.1-pmd-7-SNAPSHOT 2023-01-19 10:23:07 +01:00
Andreas Dangel
a220b2c2d2 Merge 'master' into pmd/7.0.x 2023-01-16 11:42:20 +01:00
Andreas Dangel
d73095a69f [ci] Build and create baseline for experimental-apex-parser branch 2023-01-14 11:45:48 +01:00
Andreas Dangel
c0dff0d75a Merge branch 'master' into pmd/7.0.x 2022-09-30 12:17:45 +02:00
Andreas Dangel
9056204317 [ci] Execute danger and dogfood only for pull requests in our own repository 2022-09-30 11:15:26 +02:00
Andreas Dangel
7abe14fffc Merge branch 'master' into pmd/7.0.x 2022-08-30 22:12:09 +02:00
Andreas Dangel
804e4d188a [ci] Allow building of branch "experimental-apex-parser"
It should build like a pull request
2022-08-24 19:41:08 +02:00
Andreas Dangel
87bef022a6 Merge branch 'master' into pmd/7.0.x 2022-06-13 19:06:49 +02:00
Andreas Dangel
02a7d4e0dd Use maven-pmd-plugin 3.18.0-pmd7-SNAPSHOT for pmd7 2022-06-13 18:18:43 +02:00
Andreas Dangel
94dcd9c214 [ci] Avoid running dogfood twice for pull requests 2022-02-26 13:40:36 +01:00
Andreas Dangel
765cf3c92a Merge branch 'master' into pmd/7.0.x 2022-02-19 10:25:28 +01:00
Andreas Dangel
5ed04ea5a0 Fix build.sh 2022-02-18 14:48:18 +01:00
Andreas Dangel
c33880b217 [ci] Run dogfood for PRs and PMD7
This unifies the build configuration. The dogfood build
is now run also for PRs.
2022-02-18 14:40:02 +01:00
Andreas Dangel
90ce89c9ee REVERT ME - only run addition dogfood execution on linux for PRs 2021-12-02 16:59:11 +01:00
Andreas Dangel
b29e2faf66 REVERT ME - execute dogfood also on pull requests 2021-11-30 09:18:56 +01:00
Andreas Dangel
972b55bf99 [ci] Use pmd-dogfood-config.xml again by default
Switch to pmd-dogfood-config7.xml for dogfood execution only
2021-11-30 09:15:15 +01:00
Andreas Dangel
e955b0aee8 [ci] Enable dogfood build for pmd7 2021-11-29 12:18:22 +01:00
Andreas Dangel
6e63a15c94 Merge branch 'master' into pmd/7.0.x 2021-11-26 11:03:17 +01:00
Andreas Dangel
a9c3c019fe Merge branch 'master' into pmd/7.0.x 2021-11-25 11:50:31 +01:00
Andreas Dangel
eb24a20460 Merge branch 'master' into java17-integration-test 2021-11-25 10:19:13 +01:00
Andreas Dangel
47938e674d Bump build-tools from 17-SNAPSHOT to 17 2021-11-25 10:08:30 +01:00
Andreas Dangel
d7774be75e [dist] Add java17, make ant test fail 2021-11-18 11:10:53 +01:00
Andreas Dangel
489f28edd3 Merge branch 'master' into pmd/7.0.x 2021-08-22 16:53:55 +02:00
Andreas Dangel
5770785847 [ci] Remove profile "pmd-dogfood" as this doesn't work well with release
Use alternative solution by modifying the version directly
in pom.xml for dogfood build.
2021-08-19 19:24:37 +02:00
Andreas Dangel
12e789601f Merge branch 'master' into pmd/7.0.x 2021-07-16 12:15:28 +02:00
Andreas Dangel
6c90ad2cba [ci] Don't run PMD dogfood test for PMD 7
The current maven-pmd-plugin 3.14.0 is not yet compatible
with the major version upgrade of PMD 7.
2021-07-16 12:14:04 +02:00
Andreas Dangel
4e16bcbcd2 Merge branch 'master' into pmd/7.0.x 2021-07-16 11:25:19 +02:00
Andreas Dangel
b62190686d [ci] Run PMD on PMD with the latest snapshot
This is only executed on push builds. In order to do this,
we must change the version temporarily to avoid a circular
dependency to ourselves.

The latest version is brought in via the maven profile "pmd-dogfood"
and the property "pmd.dogfood.version".
2021-07-08 11:45:12 +02:00
Andreas Dangel
2ada953df5 Merge branch 'master' into pmd/7.0.x 2021-04-24 18:33:52 +02:00
Andreas Dangel
8489f8c4d6 [ci] Don't run unnecessary build during release 2021-04-24 18:00:54 +02:00
Andreas Dangel
4c21e4069d [ci] Fix paths on sourceforge
The artifacts where uploaded to the wrong path.
That's maybe the reason, why selecting the default download
failed during the release.
2021-04-24 17:19:30 +02:00
Andreas Dangel
3b503c572f Merge branch 'master' into pmd7-build-scripts-update 2021-04-23 22:34:44 +02:00
Andreas Dangel
6730371da2 [ci] stop early for invalid maven version and branch/tag combination 2021-04-22 14:44:23 +02:00
Andreas Dangel
aea369a80b Merge branch 'pr-3220' into pmd7-build-scripts-update 2021-04-22 11:35:31 +02:00
Andreas Dangel
381395d13f [ci] Create a news entry on sourceforge when releasing 2021-04-18 19:08:51 +02:00
Andreas Dangel
6af30afb01 [ci] Fix java7.home path 2021-04-16 09:53:38 +02:00
Andreas Dangel
b896aacabf [ci] Move render_release_notes.rb to docs 2021-04-15 18:20:26 +02:00
Andreas Dangel
640b3fcab3 [ci] Fix shellcheck issues 2021-04-15 16:44:17 +02:00
Andreas Dangel
417cc7fcbe [ci] Finish scripts migration, integration sonar+coveralls 2021-04-15 16:20:22 +02:00
Andreas Dangel
10c6906f0f [ci] First round of migration to new build scripts 2021-04-15 15:26:33 +02:00
Andreas Dangel
ab416a19ff Bump dokka from 1.4.10.2 to 1.4.30
Remove workaround for Kotlin/dokka#1644
2021-04-15 14:23:16 +02:00
Andreas Dangel
28a644cd8e Merge branch 'master' into pmd/7.0.x 2021-02-19 09:26:59 +01:00
Clément Fournier
79c1bd74e2 Use batch mode instead 2021-02-13 19:09:20 +01:00
Clément Fournier
da68997926 Also update build command 2021-02-13 18:54:59 +01:00