What steps will reproduce the problem?
Steps to reproduce the behavior:
- Use the latest version 5.5 in a Java 17 project.
What is the expected output?
Should work normal.
What happens instead?
It was working normal till 5.4. But now gives error:
Failed to execute goal com.cosium.code:git-code-format-maven-plugin:5.5:validate-code-format (validate-code-format) on project order-feed-forwarder: Execution validate-code-format of goal com.cosium.code:git-code-format-maven-plugin:5.5:validate-code-format failed: A required class was missing while executing com.cosium.code:git-code-format-maven-plugin:5.5:validate-code-format: com/sun/tools/javac/tree/JCTree$JCAnyPattern
Environment:
- OS: Window 11
- Git version: 2.52.0.windows.1
- git-code-format-maven-plugin version: 5.5
- Maven version: 3.9.9