Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve PMD update procedure #174

Merged
merged 12 commits into from
Sep 27, 2024
Merged

Conversation

adangel
Copy link
Collaborator

@adangel adangel commented Sep 19, 2024

This PR removes the PMD binaries from the repository. That way, a PMD update is just changing the pmdVersion config in package.json.
This means, we don't see PRs with binaries anymore (like #171, #173).

The custom PMD distribution (which contains apex, visualforce, javascript) is built with npm install or npm ci. To avoid creating the distribution locally over and over again, it will do this only, if the version changes. On GitHub Actions, the build always runs on a fresh checkout. This means, that the dist is always created fresh, fetching all the jars directly from maven-central.

* config.pmdVersion in package.json now contains the pmd version
* the postinstall script to prepares the pmd-package based on pmdVersion
* update-pmd script will still update to the latest pmd version
* Bump maven from 3.9.6 to 3.9.9
* Bump cyclondx-maven-plugin from 2.7.11 to 2.8.1
* Exclude pmd-designer
* Remove unneeded PMDExamples.setup
@adangel adangel added this to the 0.8.0 milestone Sep 19, 2024
package.json Outdated Show resolved Hide resolved
test/suite/extension.test.ts Outdated Show resolved Hide resolved
.github/workflows/build.yml Outdated Show resolved Hide resolved
@adangel adangel merged commit 786f814 into ChuckJonas:master Sep 27, 2024
3 checks passed
@adangel adangel deleted the remove-pmd-binaries branch September 27, 2024 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant