| Summary: | m2e confused by multiple executions | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | benson margulies <bimargulies> |
| Component: | m2e | Assignee: | Project Inbox <m2e.core-inbox> |
| Status: | CLOSED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | igor |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
closing old/stale bugreports |
Build Identifier: I20110428-0848 m2e - Maven Integration for Eclipse (Incubation) 0.13.0.201104282116 org.eclipse.m2e.feature.feature.group. I have two executions of the dependency plugin. M2E offered to exclude one of them from the POM. However, it refuses to offer to exclude the other. Manually adding the second goal to the pom exclusion works. <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>2.2</version> <executions> <execution> <id>unpack-wars</id> <phase>generate-sources</phase> <goals> <goal>unpack</goal> </goals> <configuration> <artifactItems> <artifactItem> <groupId>org.apache.solr</groupId> <artifactId>solr-webapp</artifactId> <version>4.0-2010-12-15_08-06-00</version> <type>war</type> <overWrite>false</overWrite> <outputDirectory>${project.build.directory}/solr</outputDirectory> </artifactItem> </artifactItems> <overWriteReleases>false</overWriteReleases> <overWriteSnapshots>true</overWriteSnapshots> </configuration> </execution> <execution> <id>unpack-dependencies</id> <phase>generate-sources</phase> <goals> <goal>unpack-dependencies</goal> </goals> <configuration> <includeArtifactIds>lsh-service</includeArtifactIds> <outputDirectory>${project.build.directory}/lsh-service</outputDirectory> <overWriteReleases>false</overWriteReleases> <overWriteSnapshots>true</overWriteSnapshots> </configuration> </execution> </executions> </plugin> Reproducible: Always Steps to Reproduce: 1. Make a pom with a plugin as in the details. 2. see two red 'x's 3. quick-fix and exclude for one 4. no more quick fix offers.