Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-dev] Compiler Compliance Level is set using source property instead of compilerVersion

Hi,
first at all thanks for the great tool.

It seems that the m2e plugin doesn't use the property
<compilerVersion/> to set the Compiler Compliance Level in
Preferences-->Java->Compiler.

Example:

if I have a pom with
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>2.3.2</version>
        <configuration>
          <source>1.5</source>
          <target>1.5</target>
          <compilerVersion>1.6</compilerVersion>
        </configuration>
      </plugin>

I would expect to have

Compiler Compliance Level = 1.6

but it's using the source property instead, so the value is set to 1.5

Is it a bug or there is  a reason for this choice?

Thanks,
Davide


Back to the top