views:

176

answers:

2

Hi.

Do you know how I can find out the default compiler compliance level that my Maven installation uses when nothing is defined in the maven-compiler-plugin?

Yours Bernhard

+3  A: 

This was answered in your previous question. Run mvn help:effective-pom and look at the output.

Stephen C
A: 

According to Maven docs, "The default source setting is 1.5 and the default target setting is 1.5". See Default complier compliance level

lrussell
... which is true for Maven Version 2.3.1. I prefer asking maven directly with `mvn help:effective-pom`
Andreas_D