title: Plugin execution not covered by lifecycle configuration: org.jacoco:jacoco-maven-plugin:0.7.2.201409121644:
body: <p>Hello all I am getting below maven build error in eclipse:I am using Maven 3.3, Java7, Kepler Eclipse 2.0.2. Can anybody help me.</p>
  
  <pre><code>Plugin execution not covered by lifecycle configuration: org.jacoco:jacoco-maven-plugin:0.7.2.201409121644:prepare-agent (execution: default, phase: initialize).
  </code></pre>
  
  <p>pom.xml</p>
  
  <pre><code>    &lt;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/xsd/maven-4.0.0.xsd"&gt;
          &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
          &lt;groupId&gt;com.siemens.fossology.test&lt;/groupId&gt;
          &lt;artifactId&gt;ui-test&lt;/artifactId&gt;
          &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
          &lt;packaging&gt;jar&lt;/packaging&gt;
  
          &lt;name&gt;ui-test&lt;/name&gt;
          &lt;url&gt;http://maven.apache.org&lt;/url&gt;
  
          &lt;properties&gt;
              &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
  
              &lt;main.class&gt;com.siemens.fossology.test.ui.StartUp&lt;/main.class&gt;
  
              &lt;java.version&gt;1.7&lt;/java.version&gt;
              &lt;config-builder.version&gt;1.3.1&lt;/config-builder.version&gt;
              &lt;testng.version&gt;6.1.1&lt;/testng.version&gt;
              &lt;guava.version&gt;18.0&lt;/guava.version&gt;
              &lt;slf4j.version&gt;1.7.7&lt;/slf4j.version&gt;
              &lt;logback.version&gt;1.1.2&lt;/logback.version&gt;
              &lt;mockito.version&gt;1.10.8&lt;/mockito.version&gt;
              &lt;hamcrest.version&gt;1.3&lt;/hamcrest.version&gt;
              &lt;selenium-java.version&gt;2.43.1&lt;/selenium-java.version&gt;
              &lt;xml-apis.version&gt;1.4.01&lt;/xml-apis.version&gt;
  
              &lt;maven-compiler-plugin.version&gt;3.3&lt;/maven-compiler-plugin.version&gt;
              &lt;maven-jar-plugin.version&gt;2.5&lt;/maven-jar-plugin.version&gt;
              &lt;maven-assembly-plugin.version&gt;2.4&lt;/maven-assembly-plugin.version&gt;
              &lt;maven-shade-plugin.version&gt;2.3&lt;/maven-shade-plugin.version&gt;
  
          &lt;/properties&gt;
  
          &lt;dependencies&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;com.tngtech.java&lt;/groupId&gt;
                  &lt;artifactId&gt;config-builder&lt;/artifactId&gt;
                  &lt;version&gt;${config-builder.version}&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.testng&lt;/groupId&gt;
                  &lt;artifactId&gt;testng&lt;/artifactId&gt;
                  &lt;version&gt;${testng.version}&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;com.google.guava&lt;/groupId&gt;
                  &lt;artifactId&gt;guava&lt;/artifactId&gt;
                  &lt;version&gt;${guava.version}&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
                  &lt;artifactId&gt;slf4j-api&lt;/artifactId&gt;
                  &lt;version&gt;${slf4j.version}&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;ch.qos.logback&lt;/groupId&gt;
                  &lt;artifactId&gt;logback-classic&lt;/artifactId&gt;
                  &lt;version&gt;${logback.version}&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;ch.qos.logback&lt;/groupId&gt;
                  &lt;artifactId&gt;logback-core&lt;/artifactId&gt;
                  &lt;version&gt;${logback.version}&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.hamcrest&lt;/groupId&gt;
                  &lt;artifactId&gt;hamcrest-all&lt;/artifactId&gt;
                  &lt;version&gt;${hamcrest.version}&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.mockito&lt;/groupId&gt;
                  &lt;artifactId&gt;mockito-all&lt;/artifactId&gt;
                  &lt;version&gt;${mockito.version}&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;
                  &lt;artifactId&gt;selenium-java&lt;/artifactId&gt;
                  &lt;version&gt;${selenium-java.version}&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;xml-apis&lt;/groupId&gt;
                  &lt;artifactId&gt;xml-apis&lt;/artifactId&gt;
                  &lt;version&gt;${xml-apis.version}&lt;/version&gt;
              &lt;/dependency&gt;
          &lt;/dependencies&gt;
  
          &lt;build&gt;
              &lt;pluginManagement&gt;
                  &lt;plugins&gt;
                      &lt;plugin&gt;
                          &lt;groupId&gt;org.jacoco&lt;/groupId&gt;
                          &lt;artifactId&gt;jacoco-maven-plugin&lt;/artifactId&gt;
                          &lt;version&gt;0.7.2.201409121644&lt;/version&gt;
                          &lt;executions&gt;
                              &lt;execution&gt;
                                  &lt;goals&gt;
                                      &lt;goal&gt;prepare-agent&lt;/goal&gt;
                                  &lt;/goals&gt;
                              &lt;/execution&gt;
                              &lt;execution&gt;
                                  &lt;id&gt;report&lt;/id&gt;
                                  &lt;phase&gt;prepare-package&lt;/phase&gt;
                                  &lt;goals&gt;
                                      &lt;goal&gt;report&lt;/goal&gt;
                                  &lt;/goals&gt;
                              &lt;/execution&gt;
                          &lt;/executions&gt;
                          &lt;configuration&gt;
                              &lt;excludes&gt;
                                  &lt;exclude&gt;org/xmlsoap/schemas/**&lt;/exclude&gt;
                                  &lt;exclude&gt;org/apache/ws/commons/schema/**&lt;/exclude&gt;
                              &lt;/excludes&gt;
                          &lt;/configuration&gt;
                      &lt;/plugin&gt;
                  &lt;/plugins&gt;
              &lt;/pluginManagement&gt;
              &lt;plugins&gt;
                  &lt;plugin&gt;
                      &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                      &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                      &lt;version&gt;${maven-compiler-plugin.version}&lt;/version&gt;
                      &lt;configuration&gt;
                          &lt;source&gt;${java.version}&lt;/source&gt;
                          &lt;target&gt;${java.version}&lt;/target&gt;
                      &lt;/configuration&gt;
                  &lt;/plugin&gt;
  
                  &lt;plugin&gt;
                      &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                      &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt;
                      &lt;version&gt;${maven-jar-plugin.version}&lt;/version&gt;
                      &lt;configuration&gt;
                          &lt;archive&gt;
                              &lt;manifest&gt;
                                  &lt;addClasspath&gt;true&lt;/addClasspath&gt;
                                  &lt;mainClass&gt;${main.class}&lt;/mainClass&gt;
                              &lt;/manifest&gt;
                          &lt;/archive&gt;
                      &lt;/configuration&gt;
                  &lt;/plugin&gt;
  
                  &lt;plugin&gt;
                      &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                      &lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt;
                      &lt;version&gt;${maven-assembly-plugin.version}&lt;/version&gt;
                      &lt;configuration&gt;
                          &lt;descriptorRefs&gt;
                              &lt;descriptorRef&gt;jar-with-dependencies&lt;/descriptorRef&gt;
                          &lt;/descriptorRefs&gt;
                          &lt;archive&gt;
                              &lt;manifest&gt;
                                  &lt;mainClass&gt;${main.class}&lt;/mainClass&gt;
                              &lt;/manifest&gt;
                          &lt;/archive&gt;
                      &lt;/configuration&gt;
                  &lt;/plugin&gt;
  
                  &lt;plugin&gt;
                      &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                      &lt;artifactId&gt;maven-shade-plugin&lt;/artifactId&gt;
                      &lt;version&gt;${maven-shade-plugin.version}&lt;/version&gt;
                      &lt;executions&gt;
                          &lt;execution&gt;
                              &lt;phase&gt;package&lt;/phase&gt;
                              &lt;goals&gt;
                                  &lt;goal&gt;shade&lt;/goal&gt;
                              &lt;/goals&gt;
                              &lt;configuration&gt;
                                  &lt;transformers&gt;
                                      &lt;transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"&gt;
                                          &lt;mainClass&gt;${main.class}&lt;/mainClass&gt;
                                      &lt;/transformer&gt;
                                      &lt;transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"&gt;
                                          &lt;resource&gt;META-INF/spring.handlers&lt;/resource&gt;
                                      &lt;/transformer&gt;
                                      &lt;transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"&gt;
                                          &lt;resource&gt;META-INF/spring.schemas&lt;/resource&gt;
                                      &lt;/transformer&gt;
                                      &lt;transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"&gt;
                                          &lt;resource&gt;META-INF/spring.tooling&lt;/resource&gt;
                                      &lt;/transformer&gt;
                                  &lt;/transformers&gt;
                                  &lt;shadedArtifactAttached&gt;true&lt;/shadedArtifactAttached&gt;
                                  &lt;shadedClassifierName&gt;with-dependencies&lt;/shadedClassifierName&gt;
                              &lt;/configuration&gt;
                          &lt;/execution&gt;
                      &lt;/executions&gt;
                  &lt;/plugin&gt;
                  &lt;plugin&gt;
                      &lt;groupId&gt;org.jacoco&lt;/groupId&gt;
                      &lt;artifactId&gt;jacoco-maven-plugin&lt;/artifactId&gt;
                  &lt;/plugin&gt;
              &lt;/plugins&gt;
          &lt;/build&gt;
      &lt;/project&gt;
  </code></pre>
  
  <p>I think this will only address prepare-agent issue. How about achieving remaining goals like report and prepare-package. Can anybody please address(attached answer)</p>