| Summary: | Null pointer exception when importing a maven project | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Xavi Beumala <xbeumala> |
| Component: | m2e | Assignee: | Project Inbox <m2e.core-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | anders.g.hammar, igor |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Xavi Beumala
I don't think Xavi's fix is a solution as it would add a compiler plugin binding. m2e should not have a requirement on some specific plugin's being bound. This reminds me that there are no ITs testing this specific case for the code getting the character encoding from the compiler plugin and the resources plugin. I believe that code handles null (based on my memory), but there should be ITs to prevent any future regression if the code is changed. The problem should be fixed in 0.13 for long time now. If you still see the problem with 0.13 RC2 or newer builds (available from eclipse as part of 3.7/Indigo) please reopen the bug and attach complete standalone project we can use to reproduce the problem. Do not use proprietary maven plugins in the sample project as we have no way to access them. @Anders in m2e project configuration is fully based on actual project lifecycle. Specifically, it will not apply JavaProjectConfigurator for projects that do not use maven-compiler-plugin, for example. *** This bug has been marked as a duplicate of bug 340285 *** |