I just set up a new project using maven 3. I added the following statement to my code:
if(5==5){
}
Which results in a comparing identical expressions warning in eclipse.
I use the following configuration for the maven-compiler-plugin:
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<compilerArgument>-Xlint:unchecked</compilerArgument>
<optimize>true</optimize>
<showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
But it refuses to show the warning.
What should I try next?