Skip to content
Browse files

Hackish pom.xml fix - previous syntax is invalid XML.

However Maven handles it fine. Unfortunately, IDEA is more picky. This fix works as the "-O" option is a legacy option which javac ignores, instead of throwing an error, and then parses the next part of that argument. May break with future compilers.
  • Loading branch information...
1 parent a1af7f6 commit 670e1fda9f4c8760aaa7b648b3ea66ffa0bf90cf @nallar committed May 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 pom.xml
View
2 pom.xml
@@ -174,7 +174,7 @@
<target>1.6</target>
<compilerArguments>
<Xlint:all/>
- <Xlint:-path/>
+ <O>-Xlint:-path</O>
</compilerArguments>
<showWarnings>true</showWarnings>
<showDeprecation>true</showDeprecation>

0 comments on commit 670e1fd

Please sign in to comment.
Something went wrong with that request. Please try again.