Skip to content

Commit

Permalink
Avoid MCOMPILER-485 in compiler plugin 3.10.0
Browse files Browse the repository at this point in the history
Maven 3.10.0 added a feature to create missing package-info files.
The feature incorrectly uses Windows-style directory separators on
Windows.  Other parts of the code expect to always see Unix style
directory separators.

Disable the new feature so that it does not break compilation.

https://groups.google.com/g/jenkinsci-dev/c/077VYgtSLXo/m/6JQjJs7-AQAJ
  • Loading branch information
MarkEWaite committed Feb 22, 2022
1 parent cc65412 commit 8cf69ef
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,11 @@

<!-- Generate metadata for reflection on method parameters -->
<maven.compiler.parameters>true</maven.compiler.parameters>

<!-- Avoid maven compiler plugin 3.10.0 bug -->
<!-- https://issues.apache.org/jira/browse/MCOMPILER-485 -->
<!-- TODO remove when MCOMPILER-485 is fixed -->
<maven.compiler.createMissingPackageInfoClass>false</maven.compiler.createMissingPackageInfoClass>
</properties>

<dependencyManagement>
Expand Down

0 comments on commit 8cf69ef

Please sign in to comment.