Am 23.01.2013 18:07, schrieb Manfred Moser:
Here is how to configure it for 1.6
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
Is there any reasons to prefer that over
<properties>
<maven.compiler.source>1.6</maven.compiler.source>
<maven.compiler.target>1.6</maven.compiler.target>
</properties>
?
The advantages I see are:
- far more compact
- can be overridden from the command line (i.e. useful for more use cases).
The pertinent FAQ gives your approach, but doesn't say anything how it's
different from the properties approach.
Regards,
Jo
_______________________________________________
m2e-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/m2e-users