zabetak opened a new pull request, #5169:
URL: https://github.com/apache/hive/pull/5169

   ### What changes were proposed in this pull request?
   Set the necessary properties in the pom file to generate an appropriate 
Copyright timespan (used by maven-remote-resources-plugin).
   
   ### Why are the changes needed?
   The generated META-INF/NOTICE file which resides inside each jar produced by 
Hive has incorrect copyright years.
   
   Inside all jars the NOTICE file has the following incorrect content:
   
   ```
   Copyright 2020 The Apache Software Foundation
   ```
   The Copyright statement should include the timespan from the inception of 
the project to now.
   ```
   Copyright 2008-2024 The Apache Software Foundation
   ```
   The problem can be easily seen by inspecting the jar content after building 
any module or checking the previously published jars in Maven central.
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### Is the change a dependency upgrade?
   No
   
   ### How was this patch tested?
   Inspecting various jars before/after the changes
   ```
   mvn clean install -DskipTests -pl common/
   jar xf common/target/hive-common-4.1.0-SNAPSHOT.jar META-INF
   cat META-INF/NOTICE 
   ```


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