Plugin execution not covered by lifecycle configuration maven error -
I have imported an existing Maven project but I'm getting some errors in pom.xml:
The execution of the plugin is not covered by the lifecycle configuration: org.apache.maven.plugins: maven-compiler-plugin: 2.3.2: compilation (execution: default-compilation, step: compile) pom.xml / Org.squashtest.csp .tools.unittest line 50 Maven project lifecycle mapping problem creation but I do not understand that,
here pom.xml Is:
& lt ;? XML version = "1.0"? & Gt; & Lt; Project xmlns = "http://maven.apache.org/POM/4.0.0" xmlns: xsi = "http://www.w3.org / 2001 / XMLSchema-Example" xsi: schema location = "http: / /maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> & Lt; ModelVersion & gt; 4.0.0 & lt; / ModelVersion & gt; & Lt; Parents & gt; & Lt; ArtifactId & gt; Squashtest-csp tool & lt; / ArtifactId> & Lt; Group & gt; Org.squashtest.tm & lt; / Group & gt; & Lt; Version & gt; 1.2.0.RELEASE & lt; / Edition & gt; & Lt; / Parent & gt; & Lt; ArtifactId & gt; Org.squashtest.csp.tools.unittest & lt; / ArtifactId> & Lt; Name & gt; Squashstest CSP - Appliance Module - Unit Testing Library & lt; / Name & gt; & Lt; Description & gt; Unit test other Squashtest components & lt; / Description & gt; & Lt; Dependency & gt; & Lt ;! - ====== GROOVY ====== - & gt; & Lt; Dependency & gt; & Lt; Group & gt; Org.codehaus.groovy & lt; / Group & gt; & Lt; ArtifactId & gt; Groove-all & lt; / ArtifactId> & Lt; Scope & gt; Collection & lt; / Scope & gt; & Lt; / Dependencies & gt; & Lt ;! - ====== / GROOVY ====== - & gt; & Lt; Dependency & gt; & Lt; Group & gt; Org.hibernate & lt; / Group & gt; & Lt; ArtifactId & gt; Org.squashtest.org.hibernate.core & lt; / ArtifactId> & Lt; Version & gt; $ {Hibernate.version} & lt; / Edition & gt; & Lt; Scope & gt; Collection & lt; / Scope & gt; & Lt; Optional & gt; True & lt; / Alternative & gt; & Lt; / Dependencies & gt; & Lt; Dependency & gt; & Lt; Group & gt; Org.unitils & lt; / Group & gt; & Lt; ArtifactId & gt; Unitils-database & lt; / ArtifactId> & Lt; Version & gt; 3.1 & lt; / Edition & gt; & Lt; Scope & gt; Collection & lt; / Scope & gt; & Lt; Optional & gt; True & lt; / Alternative & gt; & Lt; Exclusions & gt; & Lt; Exclusion & gt; & Lt; Group & gt; Org.slf4j & lt; / Group & gt; & Lt; ArtifactId & gt; Slf4j-nop & lt; / ArtifactId> & Lt; / Exclusion & gt; & Lt; Exclusion & gt; & Lt; Group & gt; Org.slf4j & lt; / Group & gt; & Lt; ArtifactId & gt; Slf4j-api & lt; / ArtifactId> & Lt; / Exclusion & gt; & Lt; / Exclusions & gt; & Lt; / Dependencies & gt; & Lt; / Dependencies & gt; & Lt; Construction & gt; & Lt; SourceDirectory & gt; Src / main / groovy & lt; / SourceDirectory & gt; & Lt; TestSourceDirectory & gt; Src / trial / groove & lt; / TestSourceDirectory & gt; & Lt; Plugins & gt; & Lt; Plugin & gt; & Lt; Group & gt; Org.apache.maven.plugins & lt; / Group & gt; & Lt; ArtifactId & gt; Maven-compliant plugin & lt; / ArtifactId> & Lt; Hanging & gt; & Lt; Execution & gt; & Lt; / Execution & gt; & Lt; / Hanging & gt; & Lt; Version & gt; 2.3.2 & lt; / Edition & gt; & Lt; / Plugin & gt; & Lt; / Plugins & gt; & Lt; / Create & gt; & Lt; / Project & gt; Thank you in advance
This is a problem, Maven configuration More specifically, the M2A connector issue, which is generally speaking, is a nightmare. There is good information about this link.
Summary
To fix this, you can catch the M2A connector providing Springersource.
Description
To use it:
- Help & gt; Install new software ...
- Paste the URL above with the "Work:" field
- Expand "m2e configurator for Groovy-Eclipse"
- Select the first option "Groovy-Eclipse m2e integration" and install it
I will also recommend setting up the "Groovy / Greets Tool Suite for Eclipse" (GGTS) from Eclipse Marketplace. I used to do these two only to install GGTS in Eclipse KEplar and it solved the exact issue given above, it works even well in Juno.
Comments
Post a Comment