Merge pull request #276 from apache/fix/maven-war-plugin

Uses maven-war-plugin compatible with JDK17