ppkarwasz opened a new pull request, #518: URL: https://github.com/apache/logging-flume/pull/518
Since #510, no snapshots have been deployed from `trunk`: the `deploy-snapshot` job succeeds but uploads nothing. `nexus-staging-maven-plugin` gathers the artifacts of every module and uploads them from the last project of the build, without checking whether that project skips deployment… and the last project `flume-relocations` skips deployment. This PR: - Makes `flume-relocations` the parent of the relocation modules, so it is built before them and the build ends with a deployable module. - Adds a `.flume-relocation-flatten-activator` marker to each relocation module. It activates a profile in `flume-relocations` that publishes the module and flattens it like a BOM, but keeps `distributionManagement`, which holds the relocation. The published POMs therefore have no `<parent>` and do not refer to the unpublished aggregator. - Drops the relocations of `org.apache.flume.flume-ng-legacy-sources:flume-avro-source` and `flume-thrift-source`, since the `flume-legacy-*` artifacts are not published in 2.x. Tested by running `./mvnw -P deploy` against a local file repository: the upload runs from `flume-shared-kafka-test`, all 29 relocation POMs are deployed with their relocation and without a parent, the aggregator is not deployed, and the other BOMs are unchanged. 🤖 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]
