[MWAR-471] normalize file permissions on dependencies copied to WEB-INF/lib (#634) * MWAR-471: normalize file permissions on dependencies copied to WEB-INF/lib * Add unit test for file permission normalization in copyFile * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Extract TestWarPackagingContext to fix checkstyle MethodLength violation * Fix tests on Windows: skip canExecute assertion on platforms without POSIX permissions * Add canRead and canWrite assertions to permission normalization tests * Guard canExecute assertions with POSIX permissions capability check * Simplify Windows guard: use assumeFalse instead of capability probe * Use Locale.ROOT for toLowerCase and add comment explaining Windows guard * Fix short-circuit bug in permission normalization; add scope comment --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
You have found a bug, or you have an idea for a cool new feature? Contributing code is a great way to give something back to the open source community. Before you dig right into the code, there are a few guidelines that we need contributors to follow so that we can have a chance of keeping on top of things.
We accept Pull Requests via GitHub. The developer mailing list is the main channel of communication for contributors.
There are some guidelines which will make applying PRs easier for us:
git diff --check before committing.mvn -Prun-its verify to assure nothing else was accidentally broken.If you plan to contribute on a regular basis, please consider filing a contributor license agreement.