Getting the following error after changing the pom.xml file with the one you provided.



0

Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-antrun-plugin:1.3:run (execution: default, phase: generate-resources)

How to resolve this error in Eclipse?


1 Answer(s)


0

Hi Sanjay,

This is the issue on plugin management. Add the following code block <pluginManagement> after <build> and before <plugins>in the pom.xml file.

       <build>
        <pluginManagement>
          <plugins>
              <plugin> ... </plugin>
          </plugins>
        </pluginManagement>
        </build>

 

Then update your maven.

 

Regards,

Sakhuja