549 Commits

Author SHA1 Message Date
Andreas Dangel
91f17838d4
Change branch master to main
- Update documentation
- Update release scripts
- Update rule doc generation

GitHub Action is only triggered from "main" branch now.
2024-09-13 09:59:51 +02:00
Andreas Dangel
0d18146f05
[ci] Improve release and build scripts
- clarification for instructions
- twitter -> x
- try to avoid build failures due to missing
  dependencies
2024-06-28 12:57:07 +02:00
Andreas Dangel
6d9c49858f
[ci] Generate rule doc also for pull requests 2024-04-11 14:49:10 +02:00
Andreas Dangel
be44a14f1e
[ci] Release scripts improvements
- Fix missing SF_BLOG_URL value
- Let pmd/cpd run again
- Use latest build-tools scripts
- Remove release_notes_pmd7 handling
- Wait after pushing the tag before committing
  the changes for next development version
- more verification links

[skip ci]
2024-03-22 16:10:56 +01:00
Andreas Dangel
8704b85ffe
[ci] Fix build.sh 2024-03-22 08:45:03 +01:00
Andreas Dangel
8d08747cb5
[ci] release script fixes
- Make sure, BUILD_CLI_DIST_ONLY is set
- run builds on other os than linux for release builds
  depending on BUILD_CLI_DIST_ONLY
- generate site only once during release builds
2024-03-21 12:23:24 +01:00
Andreas Dangel
dccc739182
[ci] Remove build support for experimental-apex-parser
This branch is gone and has been merge
2024-03-21 11:49:05 +01:00
Andreas Dangel
f758571ca7
[ci] Update sonar call
sonar.login is deprecated, use sonar.token
2024-03-09 10:20:53 +01:00
Andreas Dangel
84af109823
[ci] Skip pmd/cpd during release builds to avoid failures
Refs #4757
2024-03-07 12:20:02 +01:00
Andreas Dangel
ce347bd736
Fix coveralls integration 2024-02-23 10:56:30 +01:00
Andreas Dangel
8adc11964d
[ci] Fix upload of sbom after rename 2024-02-22 14:03:42 +01:00
Andreas Dangel
fa01fcd38b
[ci] Upgrade to ruby 3
Fixes #4776
2024-02-15 20:28:34 +01:00
Andreas Dangel
9748580ee2
[ci] Fix dogfood SNAPSHOT version 2024-02-04 15:52:42 +01:00
Andreas Dangel
83522e96ef
[ci] Update sonar, use Java 17 2024-01-18 08:32:27 +01:00
Andreas Dangel
2e7263af69
Merge pull request #4746 from adangel:build-improvements
[ci] Build improvements #4746
2024-01-05 15:49:37 +01:00
Andreas Dangel
a558fd17eb
[ci] Use bundler 2.4.22, which is still compatible with ruby 2.7 2023-12-16 13:03:32 +01:00
Andreas Dangel
f2e61b7ec3
No need to enable profile cli-dist anymore
Undo 1ac1bde6e238c1dd14680dde635c2f08f2982042
2023-11-23 18:22:37 +01:00
Andreas Dangel
f5f3ea127b
Merge branch 'master' into build-improvements 2023-11-23 18:20:50 +01:00
Andreas Dangel
1ac1bde6e2
Explicitly enable profile cli-dist for PR builds 2023-11-23 18:17:30 +01:00
Andreas Dangel
da95ddb4e3
Use PMD 7.0.0-rc4 for maven-pmd-plugin 2023-11-23 12:25:17 +01:00
Andreas Dangel
7432ae5a9b
Update build scripts to use BUILD_CLI_DIST_ONLY 2023-11-16 14:58:26 +01:00
Andreas Dangel
0c53b69e82
Merge pull request #4586 from adangel:ruleset-xml
Use explicit encoding in ruleset xml files #4586
2023-10-19 09:41:57 +02:00
Andreas Dangel
b9bc6ac58b
Merge pull request #4699 from adangel:build-with-java21
Make PMD buildable with java 21 #4699
2023-10-19 09:37:05 +02:00
Andreas Dangel
d983be0a83
[ci] Use ga of java 21 from adoptium 2023-10-19 09:35:04 +02:00
Andreas Dangel
70e25642ff
[ci] Fix build scripts 2023-09-30 20:44:03 +02:00
Andreas Dangel
1aeb2e0822
[ci] Build cli-dist for snapshots 2023-09-30 11:25:46 +02:00
Andreas Dangel
289177c672
Introduce a two-step release process
1. Release all modules except pmd-cli and pmd-dist
2. Release pmd-cli and pmd-dist

This allows to release pmd-designer in between.
2023-09-29 20:20:53 +02:00
Andreas Dangel
15ea5f0c00
Merge branch 'master' into issue-4583-jdk-21 2023-09-28 10:04:42 +02:00
Andreas Dangel
10a50b8677
[ci] Use adjusted m-pmd-p for dogfood 2023-08-17 18:59:07 +02:00
Andreas Dangel
a93c8f2b7b
[doc] Add JDK21 to the build for integration testing
Note: This is using 21-ea for now
2023-08-10 15:37:35 +02:00
Andreas Dangel
40b0f5ed23
[ci] Next try to fix maven downloads
- reduce ttl to 30 seconds
- show transfers/downloads
2023-06-24 13:04:20 +02:00
Andreas Dangel
451a364ed7
Use explicit encoding in internal ruleset files 2023-06-01 17:36:15 +02:00
Andreas Dangel
9e5305f0eb
[ci] Fix uploading doc to sourceforge
Refs #4460
2023-06-01 08:19:19 +02:00
Clément Fournier
fc13c3255b
Merge branch 'master' into pmd7-textfile-display-name 2023-05-28 13:41:59 +02:00
Andreas Dangel
ce6a3e25a1
Merge branch 'master' into fix-assembly-finalName 2023-05-28 09:02:21 +02:00
Clément Fournier
0c0d756fc9
Merge remote-tracking branch 'origin/pmd7-textfile-display-name' into pmd7-textfile-display-name 2023-05-26 11:05:28 +02:00
Andreas Dangel
52b9d61eb0
[ci] Update m-pmd-p version for dogfood checks 2023-05-19 19:33:30 +02:00
Andreas Dangel
6ade09a840
[ci] Run pmd-regression-tester with multiple threads
Also build the baseline with multiple threads.
2023-05-05 12:46:48 +02:00
Andreas Dangel
53170cceba
Merge pull request #4445 from adangel:fix-release-scripts
[ci] Improve release scripts #4445
2023-04-28 23:03:33 +02:00
Juan Martín Sotuyo Dodero
7b42f81dfd
Merge branch 'master' into fix-doc-issue-4438 2023-04-19 00:10:17 -03:00
Andreas Dangel
56f4e738aa
Don't disable enforcer plugin 2023-04-15 16:05:40 +02:00
Andreas Dangel
a4893b964b
Upload sbom as release artifact
Uploads xml/json to sourceforge
and to Githu releases
2023-04-10 09:54:02 +02:00
Andreas Dangel
d77ebbe9b7
Fix assembly-plugin warnings
Don't override "finalName" anymore. This however changes the filenames of the generated binary distribution files.
2023-04-06 11:38:46 +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
f7d0444d86
Replace more old URLs 2023-03-30 15:32:57 +02:00
Andreas Dangel
910d3178db
[doc] Fix urls for documentation
- Don't publish the doc anymore to pmd.github.io - the docs are now hosted at docs.pmd-code.org
- Update sitemap.xml - no extra sitemap generation anymore
2023-03-30 12:35:21 +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