Dhaohrii opened a new pull request, #1551:
URL: https://github.com/apache/commons-lang/pull/1551
This pull request introduces a new Spring Boot demo application and improves
the project's CI/CD workflow and development environment. The most significant
changes include adding a new `demo-app` module with example REST endpoints,
updating the GitHub Actions Maven workflow for more efficient and secure CI,
and enhancing the Maven build configuration for code quality checks.
**New Spring Boot Demo Application:**
* Added a new Maven module `demo-app` with its own `pom.xml`, using Java 21,
Spring Boot, and a dependency on `commons-lang3`.
* Implemented `DemoApplication.java` as the Spring Boot entry point.
* Added `StringUtilsController.java` exposing REST endpoints that
demonstrate usage of `StringUtils` methods from Apache Commons Lang.
**CI/CD and Build Improvements:**
* Updated `.github/workflows/maven.yml` to:
- Run CI only on Ubuntu (removing Windows/Mac builds and experimental Java
26-ea).
- Use versioned actions references and split steps for Maven verify,
JaCoCo report, and SonarCloud analysis (Java 21 only).
- Removed the ASF license header from the workflow file.
[[1]](diffhunk://#diff-5dbf1a803ecc13ff945a08ed3eb09149a83615e83f15320550af8e3a91976446L1-L15)
[[2]](diffhunk://#diff-5dbf1a803ecc13ff945a08ed3eb09149a83615e83f15320550af8e3a91976446L25-R48)
* Added the Sonar Maven plugin to the main `pom.xml` to support code quality
analysis.
**Development Environment:**
* Added VSCode settings to enable interactive Java build configuration
updates.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]