kumaab opened a new pull request, #1242:
URL: https://github.com/apache/ranger/pull/1242

   ## What changes were proposed in this pull request?
   
   Every build logged 203 assembly-plugin warnings (1385 log lines) caused by 
stale entries in the assembly descriptors:
   
   - 193 "patterns were never triggered": include/exclude patterns that match 
no artifact. Solr/ES audit destination jars left behind after RANGER-5632 
removed those dependencies (solr-solrj, httpasyncclient, httpcore-nio, 
httpmime, jetty-client); leftovers of the Jersey 1 -> 2 and log4j migrations 
(hk2, javax.inject, osgi-resource-locator, commons-configuration 1.x, log4j, 
slf4j-log4j12, noggit); rules that can never match, such as a plugin jar listed 
in its own dependency filter and excludes with no matching include; and entries 
in a moduleSet that does not package them.
   
   - 10 "filesystem-root relative reference, which is not cross platform 
compatible": outputDirectory paths starting with "/" in the elasticsearch 
plugin descriptor. Normalized in the solr, schema-registry and admin-web 
descriptors as well.
   
   - A pattern was dropped only when it was unmatched for every module of its 
moduleSet. Packaging is unchanged: the file listings of all 30 tarballs are 
identical before and after, both single-threaded and with -T 8.
   
   - Also fail the build-17 CI job when either warning appears, so stale 
descriptor entries are caught in review instead of accumulating. A silent 
symptom of the same warnings is a tarball that quietly loses jars.
   
   ## How was this patch tested?
   
   JDK 17 build


-- 
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]

Reply via email to