How to solve “Plugin execution not covered by lifecycle configuration” for Spring Data Maven Builds

前端 未结 30 2798
小蘑菇
小蘑菇 2020-11-21 15:10

I am trying to work with Spring Data and Neo4j. I started by trying to follow this guide linked to by the main site. In particular I based my pom.xml off of the \"Hello, Wor

30条回答
  •  我寻月下人不归
    2020-11-21 15:36

    Suggested solution from Eclipse m2e documentation:

    1. Use quick-fix on the error in pom.xml and select Permanently mark goal run in pom.xml as ignored in Eclipse build - this will generate the required boilerplate code for you.

    2. To instruct Eclipse to run your plugin during build - just replace the tag with tag in the generated configuration:

      
          
      
      

      Alternatively you can instruct Eclipse to run the plugin on incremental builds as well:

      
          
              true
          
      
      

提交回复
热议问题