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

Use Maven Wrapper in CI Workflows and Update Dependencies #13

Merged
merged 2 commits into from
Oct 29, 2024

Conversation

dariuszzbyrad
Copy link
Contributor

This PR updates the build and release workflows to utilize the Maven wrapper (./mvnw) instead of relying on an installed Maven version. This ensures consistency across builds and simplifies CI setup. Additional changes include dependency and version updates and a minor test fix.

Key Changes:

  1. CI Workflow Updates

    • Replaced mvn commands with ./mvnw to use the Maven wrapper.
    • Added a step in release.yml and build.yml to set executable permissions for mvnw.
  2. Dependency Version Upgrades in pom.xml

    • Updated several plugin versions, including:
      • Spring Boot version to 3.3.4.
      • Jacoco Maven Plugin to 0.8.12.
      • JReleaser version to 1.14.0.
  3. Test Update

    • Fixed a typo in ContextTest.java: corrected boardUnkownIfNotRunningOnPi() to boardUnknownIfNotRunningOnPi().
  4. Documentation Updates

    • Updated the README.md to reflect the Maven wrapper usage for packaging and Java version corrections in examples.

@FDelporte FDelporte merged commit 5f41a5d into Pi4J:main Oct 29, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants