ppkarwasz opened a new pull request, #1:
URL: https://github.com/apache/logging-flume-samples/pull/1
This adds CI and fixes the build, so that pull requests report the
`build-result` and `CodeQL` checks that `.asf.yaml` requires. At the moment no
workflows exist, so no PR can satisfy them.
## Changes
- **CI**
- Add the `build` and `CodeQL` workflows and the Dependabot configuration,
modelled on `logging-flume-mongodb`.
- The samples are never released, so the build workflow has no deployment
jobs and the reproducibility check is off.
- The Dependabot PR-processing workflows are left out, because there is no
`src/changelog` directory for them to update.
- CodeQL uses the exact `ubuntu-24.04` runner label, which has shorter
queues than `ubuntu-latest`.
- Add the Maven wrapper and `.mvn/maven.config` (Apache snapshots), which
the reusable build workflow requires.
- **Repository**
- Remove the `.flattened-pom.xml` files that were committed by mistake.
- Add `.gitignore` and `.gitattributes`.
- **Build**
- Remove the plugin configurations that `logging-parent` already provides:
enforcer, compiler, jar and Spotless. They pinned old plugin versions and
referenced undefined properties (`compiler.version`, `manifestfile`).
- Import `flume-third-party-bom` instead of
`flume-third-party-dependencies`. The old BOM is no longer published, and its
stale versions failed the upper-bound dependency check.
- Manage the versions of `flume-avro-client`, `flume-mongodb-sink` and
`flume-spring-boot`, which the old BOM used to manage.
- Build the Spring Boot samples against `flume-spring-boot` 2.1.0-SNAPSHOT
(apache/logging-flume-spring-boot#12).
- Use the same MongoDB driver version as `flume-mongodb-sink`.
- Fix the SCM URLs.
- Remove stale properties, a bogus SCM section and an unusable OWASP
dependency-check profile.
- Reformat the license headers that the `logging-parent` Spotless
configuration now checks.
## Verification
`./mvnw -U clean install` passes locally for all modules, against the
published `flume-spring-boot` snapshot.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
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]