Herve Boutemy created MSHADE-482:
------------------------------------

             Summary: ApacheNoticeResourceTransformer uses current year: not 
Reproducible
                 Key: MSHADE-482
                 URL: https://issues.apache.org/jira/browse/MSHADE-482
             Project: Maven Shade Plugin
          Issue Type: Improvement
            Reporter: Herve Boutemy


found while rebuilding Paimon 1.0.0 
https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/org/apache/paimon/README.md
 
{noformat}
├── META-INF/NOTICE
│ @@ -1,14 +1,14 @@
│  // ------------------------------------------------------------------
│  // NOTICE file corresponding to the section 4d of The Apache License,
│  // Version 2.0, in this case for Apache Paimon
│  // ------------------------------------------------------------------
│  
│  Apache Paimon
│ -Copyright 2023-2024 The Apache Software Foundation
│ +Copyright 2023-2025 The Apache Software Foundation
{noformat}

digging into it, found that it uses ApacheNoticeResourceTransformer, that 
injects current year:

https://github.com/apache/maven-shade-plugin/blob/maven-shade-plugin-3.6.0/src/main/java/org/apache/maven/plugins/shade/resource/ApacheNoticeResourceTransformer.java#L91



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to