Skip to content

[MSHADE-482] ApacheNoticeResourceTransformer uses current year: not Reproducible #679

Open
@jira-importer

Description

@jira-importer

Hervé Boutemy opened MSHADE-482 and commented

found while rebuilding Paimon 1.0.0 https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/org/apache/paimon/README.md 

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

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


Affects: 3.6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions