| Summary: | [wizard] improve handling of packaging types | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Pascal Rapicault <pascal> |
| Component: | m2e | Assignee: | Project Inbox <m2e.core-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P5 | CC: | mkleint, pascal, vladt |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
|
Description
Pascal Rapicault
please define "known to be handled". We do support maven-plugin for example, but still we get an error after project creation. Apparently the build/goals gets executed and we end up with a build error saying there are no mojos defined in the project. So I've kept just jar/pom/war (in this order, hardwired) for now. http://git.eclipse.org/c/m2e/m2e-core.git/commit/?id=263ff23310e5e34df300568530444264def13b69 I believe a much better solution would be to compute the list of "supported" packaging types by looking into the installed extensions and in the default lifecycle mapping metadata. Even better if we can to that list any packaging types mapped in lifecycle mapping metadata embedded or referenced in the current pom or parent poms. Errata to my previous comment: Even better if we can add to that list any packaging types mapped in lifecycle mapping metadata embedded or referenced in the current pom or parent poms. well, supported by lifecycle management is not the only constraint. if we have tycho support around, still setting packaging to "eclipse-plugin" results in error, simply because the relevant <plugin>/<extensions> section is missing in the pom. we can do what vlad suggests but IMHO not worth the effort. re-closing, this time as won't fix. see my previous comment. reopen if you disagree. I don't see any reason for not fixing this issue properly. vlad, what is properly? I suppose that includes my objections I had to your proposal because without it, the code will still generate wrong projects. Once you dive into this area, the need to check the possible parent pom arises to see what extensions are defined there. -> enhancement. the original issue is fixed in the current state We are not planning more work on this at the moment. We'll open more specific bugs. |