Questions:(1) How do I fix the error below ("Plugin execution not covered by 
lifecycle configuration")?(2) Instead of using 
org.codehaus.groovy.maven.archetypes/gmaven-archetype-basic, I can use 
org.apache.maven.archetypes/maven-archetype-quickstart instead and then convert 
to a groovy project. What is the difference?
ThanksSiegfried
I'm using 3.7.0.release of the spring tool suite version of eclipse trying to 
create a groovy project.
When I select new -> maven project -> 
groupID=org.codehaus.groovy.maven.archetypes, ArtifactId=gmaven-archetype-basic.
The generated pom.xml gets the following errors on line 37 of the pom.xml:

Multiple markers at this line
- Plugin execution not covered by lifecycle configuration: 
org.codehaus.groovy.maven:gmaven-plugin:1.0-rc-3:generateStubs (execution: 
default, phase: generate-sources)
- Plugin execution not covered by lifecycle configuration: 
org.codehaus.groovy.maven:gmaven-plugin:1.0-rc-3:generateTestStubs (execution: 
default, phase: generate-test-sources)
- Plugin execution not covered by lifecycle configuration: 
org.codehaus.groovy.maven:gmaven-plugin:1.0-rc-3:compile (execution: default, 
phase: compile)
- Plugin execution not covered by lifecycle configuration: 
org.codehaus.groovy.maven:gmaven-plugin:1.0-rc-3:testCompile (execution: 
default, phase: test-compile)
00001 <?xml version="1.0" encoding="UTF-8"?>
00002 <!--
00003     Generated from archetype; please customize.
00004 -->
00005 
00006 <project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
00007 
00008     <modelVersion>4.0.0</modelVersion>
00009 
00010     <groupId>demos</groupId>
00011     <artifactId>arty</artifactId>
00012     <name>Example Project</name>
00013     <version>0.0.1-SNAPSHOT</version>
00014 
00015     <dependencies>
00016         <dependency>
00017             <groupId>org.codehaus.groovy.maven.runtime</groupId>
00018             <artifactId>gmaven-runtime-default</artifactId>
00019             <version>1.0-rc-3</version>
00020         </dependency>
00021         
00022         <dependency>
00023             <groupId>junit</groupId>
00024             <artifactId>junit</artifactId>
00025             <version>3.8.1</version>
00026             <scope>test</scope>
00027         </dependency>
00028     </dependencies>
00029 
00030     <build>
00031         <plugins>
00032             <plugin>
00033                 <groupId>org.codehaus.groovy.maven</groupId>
00034                 <artifactId>gmaven-plugin</artifactId>
00035                 <version>1.0-rc-3</version>
00036                 <executions>
00037                     <execution>
00038                         <goals>
00039                             <goal>generateStubs</goal>
00040                             <goal>compile</goal>
00041                             <goal>generateTestStubs</goal>
00042                             <goal>testCompile</goal>
00043                         </goals>
00044                     </execution>
00045                 </executions>
00046             </plugin>
00047         </plugins>
00048     </build>
00049 
00050 </project>
00051 

Reply via email to