Skip to content

Add build and release infrastructure - #12

Merged
ppkarwasz merged 2 commits into
mainfrom
feat/build-infrastructure
Nov 12, 2026
Merged

ppkarwasz merged 2 commits into
mainfrom
feat/build-infrastructure

Conversation

@ppkarwasz

Copy link
Copy Markdown
Member

Brings the repository in line with logging-flume-mongodb, so that it builds against the Flume 2.0.0 snapshots and deploys its own snapshots. apache/logging-flume-samples needs those snapshots to build its Spring Boot samples.

Changes

  • Infrastructure
    • Maven wrapper, .mvn/jvm.config, and .mvn/maven.config, which enables the Apache snapshots profile.
    • GitHub Actions workflows that reuse the logging-parent workflows: build, snapshot and release deployment, reproducibility checks, CodeQL and Dependabot.
    • Branch and tag rulesets in .asf.yaml, plus .gitignore and .gitattributes.
    • log4j-changelog scaffolding replaces CHANGELOG and RELEASE-NOTES.txt, with entries for the changes since 2.0.0.
  • Build
    • Inherit from flume-parent instead of duplicating its configuration.
    • Remove the flume-spring-boot-dist module and the unused findbugs-exclude-filter.xml. The logging-parent release process replaces them.
    • Use the Flume 2.0.0 artifact coordinates. flume-configuration was merged into flume-core (Remove the split packages logging-flume#526).
    • Import flume-third-party-bom before spring-boot-dependencies. Otherwise Spring Boot downgrades log4j, commons-codec and protobuf, and the upper-bound dependency check fails.

The version stays at 2.1.0-SNAPSHOT, since flume-spring-boot 2.0.0 is already released.

Verification

./mvnw clean install passes locally:

  • tests pass;
  • SpotBugs finds no issues;
  • Spotless passes;
  • the bnd-baseline API check against the released 2.0.0 passes.

🤖 Generated with Claude Code

Bring the repository in line with `logging-flume-mongodb`, so that it
builds against the Flume 2.0.0 snapshots and deploys its own snapshots:

- Maven wrapper, `.mvn/jvm.config` and `.mvn/maven.config` enabling the
  Apache snapshots profile.
- GitHub Actions workflows for the build, snapshot and release
  deployment, reproducibility checks, CodeQL and Dependabot, reusing the
  `logging-parent` workflows, and the Dependabot configuration.
- Branch and tag rulesets in `.asf.yaml`, `.gitignore` and
  `.gitattributes`.
- `log4j-changelog` scaffolding, replacing `CHANGELOG` and
  `RELEASE-NOTES.txt`, with entries for the changes since 2.0.0.
- Inherit from `flume-parent` instead of duplicating its configuration,
  and remove the `flume-spring-boot-dist` module and the unused
  `findbugs-exclude-filter.xml`, superseded by the `logging-parent`
  release process.
- Use the Flume 2.0.0 artifact coordinates. `flume-configuration` was
  merged into `flume-core`.
- Import `flume-third-party-bom` before `spring-boot-dependencies`, so
  that Spring Boot does not downgrade the Flume dependencies.

Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
Jobs requesting the `*-latest` aliases often wait in long queues. Same
change as apache/logging-parent#530 for the reusable workflows.

Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@ppkarwasz
ppkarwasz merged commit cee7d11 into main Nov 12, 2026
11 checks passed
@ppkarwasz
ppkarwasz deleted the feat/build-infrastructure branch November 12, 2026 17:33
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