Abhishek Kumar created RANGER-5802:
--------------------------------------
Summary: Fix maven-assembly-plugin warnings in Ranger distro build
Key: RANGER-5802
URL: https://issues.apache.org/jira/browse/RANGER-5802
Project: Ranger
Issue Type: Bug
Components: maven-build, Ranger
Reporter: Abhishek Kumar
Assignee: Abhishek Kumar
Every Ranger build logs over 200 warnings from maven-assembly-plugin, adding
roughly 1,400 lines of noise to each build on developer machines and in CI.
The warnings come from stale entries in the distro assembly descriptors:
include/exclude rules for jars that are no longer dependencies (left behind by
earlier dependency and library migrations), rules that can never match, and
output paths that are not portable across platforms.
These warnings are not only noise. The same warning is what a build prints when
a tarball silently loses jars, so real packaging problems are easy to miss in
the existing output.
Proposed fix:
- Remove the stale and unmatchable entries from the assembly descriptors, and
make the non-portable output paths relative.
- Fail the CI build when these warnings appear, so stale entries are caught in
review rather than accumulating.
Packaging stays the same: the contents of all distribution tarballs are
identical before and after the change.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)