LuciferYang opened a new pull request, #2825:
URL: https://github.com/apache/uniffle/pull/2825

   ### What changes were proposed in this pull request?
   
   - Remove `DISCLAIMER`, and stop copying it into the binary tarball in 
`release/create-package.sh`.
   - Remove the `maven-remote-resources-plugin` override in `pom.xml` that 
added `apache-incubator-disclaimer-resource-bundle`. Jars now only get the 
`apache-jar-resource-bundle` configured by the `org.apache:apache:18` parent. 
The `DISCLAIMER` RAT exclusion is removed as well.
   - Deploy `rss-client-spark4-shaded` in `release/publish_maven_artifacts.sh`. 
The Spark 4 client needs JDK 17, so the script now requires `JAVA17_HOME`, 
checks before the first deploy that it is a JDK 17, and uses it for that module 
only.
   - Pin the `User-Agent` header for `apache.releases.https` in 
`release/asf-settings.xml`. Maven's default User-Agent contains the Java 
version, and Nexus picks the implicit staging repository by user, IP and 
User-Agent, so the JDK 17 deploy would otherwise open a second staging 
repository.
   - Add `commons-collections4`, `jetty-util-ajax` and `jctools-core` to the 
Apache-2.0 list in `LICENSE-binary`. The Spark 4 shaded jar bundles all three. 
`jetty-util-ajax` comes with the Jetty 9.4 used by the Spark 4 profiles; the 
other two were already in the 0.10.0 client jars.
   
   ### Why are the changes needed?
   
   Uniffle has graduated, but the release artifacts still carry the incubation 
disclaimer. `META-INF/DISCLAIMER` in `rss-client-spark3-shaded-0.10.0.jar` says 
the project "is an effort undergoing incubation", and `create-package.sh` 
copies the same file into the binary tarball.
   
   Master also has a `client-spark/spark4-shaded` module that the publish 
script does not deploy, so the next release would not publish the Spark 4 
client to Maven. That jar ships `LICENSE-binary` as its `META-INF/LICENSE`, so 
the list has to cover what it bundles.
   
   ### Does this PR introduce _any_ user-facing change?
   
   Jars and the binary tarball no longer contain `DISCLAIMER`. Release managers 
must set `JAVA17_HOME` to a JDK 17 before running 
`release/publish_maven_artifacts.sh`.
   
   ### How was this patch tested?
   
   - Built `rss-client-spark4-shaded` with `-Papache-release,spark4` on JDK 17. 
The jar contains `META-INF/LICENSE`, `META-INF/NOTICE` and 
`META-INF/licenses/`, and no `DISCLAIMER`. Every third-party `pom.properties` 
in the jar is either listed in `LICENSE-binary` or belongs to the listed 
`hbase-shaded-jersey`.
   - Deployed a minimal pom to a mock HTTP repository from JDK 17 and JDK 20. 
With the new settings both requests sent `User-Agent: Apache-Maven`. Without it 
they sent `Apache-Maven/3.9.6 (Java 17.0.18; ...)` and `Apache-Maven/3.9.6 
(Java 20.0.1; ...)`.
   - Ran the `JAVA17_HOME` check with a JDK 17 given as an absolute and as a 
relative path, a JDK 20, and a path that does not exist. Only the JDK 17 
passes, and the relative path is turned into an absolute one.
   - Not tested against repository.apache.org.
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to