Skip to content

Commit d6952a9

Browse files
update POM to resolve a plugin lifecycle config error
1 parent fc1c147 commit d6952a9

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

pom.xml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,32 @@
347347
<artifactId>xtend-maven-plugin</artifactId>
348348
<version>${xtext.version}</version>
349349
</plugin>
350+
<!-- This is to fix the "Plugin execution not covered by lifecycle configuration" error in Eclipse/m2e -->
351+
<plugin>
352+
<groupId>org.eclipse.m2e</groupId>
353+
<artifactId>lifecycle-mapping</artifactId>
354+
<version>1.0.0</version>
355+
<configuration>
356+
<lifecycleMappingMetadata>
357+
<pluginExecutions>
358+
<pluginExecution>
359+
<pluginExecutionFilter>
360+
<groupId>org.eclipse.xtend</groupId>
361+
<artifactId>xtend-maven-plugin</artifactId>
362+
<versionRange>[${xtext.version},)</versionRange>
363+
<goals>
364+
<goal>compile</goal>
365+
<goal>testCompile</goal>
366+
</goals>
367+
</pluginExecutionFilter>
368+
<action>
369+
<ignore></ignore>
370+
</action>
371+
</pluginExecution>
372+
</pluginExecutions>
373+
</lifecycleMappingMetadata>
374+
</configuration>
375+
</plugin>
350376
</plugins>
351377
</pluginManagement>
352378

0 commit comments

Comments
 (0)