| Summary: | Java Compiler version not correctly configured for target "5" or "6" | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Anders Hammar <anders.g.hammar> |
| Component: | m2e | Assignee: | Project Inbox <m2e.core-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | igor |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
This should be fixed in the latest build towards Indigo SR1 and in Juno M1+. You can also install a build with the fix directly from [1] [1] http://download.eclipse.org/technology/m2e/milestones/1.0/1.0.100.20110804-1717 *** This bug has been marked as a duplicate of bug 353781 *** |
If I in the pom configured this: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>6</source> <target>6</target> </configuration> </plugin> m2e does not configure the JDK version correctly. But if I specify "1.6" it does. Bot "6" and "1.6" is valid for m-compiler-p and m2e should handle that. (Also, "5" and "1.5" is valid.)