Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Eclipse Problems view showing old compile errors

2012/2/27 Stein, Eric <steine@xxxxxxxxxxxx>:
> I needed to tweak the eclipse compiler to 1.6.

You have to configure maven to use the Java 1.6 compiler:

        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-compiler-plugin</artifactId>
          <version>2.3.2</version>
          <configuration>
            <source>1.6</source>
            <target>1.6</target>
          </configuration>
        </plugin>

If done so, m2e can be used to configure eclipse on the same settings.
(Project context menu -> Maven -> Update project...)

Regards,
Lars


Back to the top