| Summary: | Quickfix for lifecycle mapping ignore does not always work | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Ulli Hafner <Knut.Friedhelm> | ||||||
| Component: | m2e | Assignee: | Project Inbox <m2e.core-inbox> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | igor, mkleint | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Ulli Hafner
Created attachment 198647 [details]
Screenshot
anything in the error log? No, the log is empty. I finally ended up to manually edit the pom to add the ignore section. I found another problem where the quickfix does nothing. Here, even manual edition of the pom does not work:
I'm deriving from a parent pom that contains the following plug-in definition for the maven-enforcer-plugin plug-in:
<plugins>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${maven-enforcer-plugin.version}</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>display-info</goal>
</goals>
</execution>
</executions>
</plugin>
Created attachment 198710 [details]
Exception thrown when starting quick fix
Should be fixed now. http://git.eclipse.org/c/m2e/m2e-core.git/commit/?id=9b0f9f606581c7e5385cdcf01cdaa90b1ce63fad There were two unrelated problems, one caused by incorrect interpretation of ${property} versions in plugin versions as mentioned in comment 4 and another caused by use of uninitialized MavenProject cache (only happens right after workspace restart so was tricky to reproduce). |