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

前端 未结 30 2722
小蘑菇
小蘑菇 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:39

    I had the same problem with Eclipse v3.7 (Indigo) and m2eclipse as my Maven plugin. The error was easily solved by explicitly stating the execution phase within the plugin definition. So my pom looks like this:

    
        ...
        
            ...
            
                
    
                    org.codehaus.mojo
                    buildnumber-maven-plugin
                    1.0
    
                    
                        yyyy-MM-dd_HH-mm-ss
                    
    
                    
                        
                            *post-clean*
                            
                                create-timestamp
                            
                        
                    
                
            
            ...
    

提交回复
热议问题