ppkarwasz opened a new pull request, #4170:
URL: https://github.com/apache/logging-log4j2/pull/4170

   ## Summary
   
   Housekeeping for the `NOTICE`/`LICENSE` resources so that every third-party 
attribution ends up in the artifact whose classes actually ship the attributed 
code.
   
   - Bump the copyright year in the top-level `NOTICE.txt` to 2026.
   - Make sure each attribution listed in `NOTICE.txt` is carried by the NOTICE 
resource of the owning module:
     - `log4j-core` gains the `TypeUtil.java`, `picocli` and LMAX 
`TimeoutBlockingWaitStrategy.java` entries.
     - The `Dumbster SMTP test server` entry moves from 
`log4j-core-test/src/test/resources` to `src/main/resources`, since the 
Dumbster classes live in `src/main/java` and ship in the main test-support jar.
   - Reword the LMAX entry: the old text referenced `parts of Util.java`, but 
no such file exists in the tree. The copied code comes from the upstream 
`com.lmax.disruptor.util.Util` class and is inlined into 
`TimeoutBlockingWaitStrategy.java`, so the entry now names that upstream class.
   - Normalize the module NOTICE headers to `1999-2026 The Apache Software 
Foundation` with the correct module titles, matching the Maven NOTICE template.
   - Remove the bundled `META-INF/LICENSE` copies from `log4j-core` and 
`log4j-core-test`; the ASF parent POM re-supplies them at build time.
   
   ## Verification
   
   Ran `./mvnw -pl log4j-core,log4j-core-test process-resources` and 
`process-test-resources` and inspected `target/classes/META-INF` / 
`target/test-classes/META-INF`:
   
   - `LICENSE` is present in both jars (re-supplied by the parent POM), 
confirming the deletions are safe.
   - `log4j-core` NOTICE carries all four attributions with the reworded LMAX 
line.
   - Both the main and test jars of `log4j-core-test` carry the `Dumbster` 
attribution with the correct `Apache Log4j Core Tests` title and 2026 year.


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