efegokdemir opened a new pull request, #661: URL: https://github.com/apache/maven-war-plugin/pull/661
## Summary Replace the deprecated single-argument `Archiver.addDirectory(File)` call in `AbstractWarPackagingTask` with the current file-set API. ## Changes - Create a `DefaultFileSet` rooted at the directory being archived. - Add it through `JarArchiver.addFileSet(...)`, preserving the existing directory contents and destination handling. ## Testing - `mvn -Dspotless.skip=true -DskipTests=false test` — passed; 66 tests passed. - Checkstyle, Apache RAT, compilation, and `git diff --check` — passed. - Spotless was skipped because the available JDK triggers the repository's existing Palantir formatter `NoSuchFieldError` in unchanged files. ## Notes This contribution was prepared with AI assistance and reviewed against the Plexus Archiver API and existing WAR packaging tests. Fixes #643 -- 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]
