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

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

    Goto workspace/rtc-ws/.metadata/.plugins/org.eclipse.m2e.core/lifecycle-mapping-metadata.xml then create lifecycle-mapping-metadata.xml file and paste below and reload configuration as below

    If you are using Eclipse 4.2 and have troubles with mapping and won't put mess into yours pom.xml create new file lifecycle-mapping-metadata.xml configure it in Windows -> Preferences -> Lifecycle mapping (don't forget press Reload workspace lifecycle mappings metadata after each change of this file!). Here is example based on eclipse/plugins/org.eclipse.m2e.lifecyclemapping.defaults_1.2.0.20120903-1050.jar/lifecycle-mapping-metadata.xml

    
    
        
            
                
                    org.codehaus.mojo
                    buildnumber-maven-plugin
                    
                        create-timestamp
                    
                    [0.0,)
                
                
                    
                
            
    
            
                
                    org.apache.maven.plugins
                    maven-dependency-plugin
                    
                        list
                    
                    [0.0,)
                
                
                    
                
            
    
            
                
                    org.zeroturnaround
                    jrebel-maven-plugin
                    
                        generate
                    
                    [0.0,)
                
                
                    
                
            
    
            
                
                    org.codehaus.mojo
                    gwt-maven-plugin
                    
                        compile
                    
                    [0.0,)
                
                
                    
                
            
    
            
                
                    org.apache.maven.plugins
                    maven-dependency-plugin
                    
                        copy-dependencies
                        unpack
                    
                    [0.0,)
                
                
                    
                
            
    
            
                
                    org.apache.maven.plugins
                    maven-antrun-plugin
                    [1.7,)
                    
                        run
                    
                
                
                    
                
            
    
    
            
                
                    org.apache.maven.plugins
                    maven-checkstyle-plugin
                    [2.8,)
                    
                        check
                    
                
                
                    
                
            
    
        
    
    

提交回复
热议问题