szetszwo opened a new pull request, #244:
URL: https://github.com/apache/ratis-thirdparty/pull/244

   RATIS-2790
   
   ## Generated by  Opus 5.5
   
   Change: misc/pom.xml (shade plugin <configuration> only)
   
   1. artifactSet excludes — add com.google.guava:listenablefuture (empty 
9999.0 placeholder jar, no classes, no sources) → removes "Could not get 
sources" warning.
   2. New filters (keep existing native-lib filters):
      - For each dependency groupId (com.google.guava:*, com.google.protobuf:*, 
com.google.code.gson:*, com.google.android:*, io.grpc:*, io.netty:*, 
io.dropwizard.metrics:*, io.perfmark:*, org.jspecify:*) exclude:
        - META-INF/MANIFEST.MF
        - META-INF/maven/**
        - module-info.class, META-INF/versions/*/module-info.class, 
module-info.java
          (Not using *:*, so the project's own MANIFEST (bundle plugin) and ASF 
LICENSE/NOTICE in ratis-thirdparty-misc.jar are kept.)
      - com.google.guava:guava, com.google.guava:failureaccess: exclude 
META-INF/LICENSE (Apache-2.0, duplicate of our own).
      - com.google.protobuf:protobuf-java-util: exclude 
com/google/protobuf/*.java (its sources jar re-bundles protobuf-java sources; 
single-segment * does not touch com/google/protobuf/util/**).
      - netty-tcnative-boringssl-static: keep META-INF/LICENSE.txt, NOTICE.txt, 
META-INF/license/** from one classifier (linux-x86_64) and exclude them from 
the other classifiers via 
io.netty:netty-tcnative-boringssl-static:jar:<classifier> filters 
(linux-aarch_64, osx-aarch_64, osx-x86_64, windows-x86_64). Root LICENSE does 
not mention BoringSSL, so the text must stay in the jar.
   3. Transformer — add AppendingTransformer for 
META-INF/io.netty.versions.properties (same as netty-all), alongside the 
existing ServicesResourceTransformer.
   
   ## Tested it manually
   
   Both of the following commands does not show warnings anymore.
   - ./mvnw --show-version clean package -DskipTests
   - ./mvnw -Ptest clean package 
   


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