Why am I receiving a “Plugin execution not covered by lifecycle configuration with GWT” error?

前端 未结 1 1567
悲哀的现实
悲哀的现实 2020-12-13 14:31

I\'m using STS and I imported a GWT project from another machine. The project uses m2eclipse. I\'m getting these two errors when building the project:

Plugin         


        
1条回答
  •  时光说笑
    2020-12-13 15:16

    If you use Eclipse Indigo (3.7) you have to activate the lifecycle plugin. See here for more details.

    Just add this pluginManagement section to your build section of your pom.xml file

    
        
            
                org.eclipse.m2e
                lifecycle-mapping
                1.0.0
                
                    
                        
                            
                                
                                    org.codehaus.mojo
                                    gwt-maven-plugin
                                    [2.4.0,)
                                    
                                        resources
                                        compile
                                        i18n
                                        generateAsync
                                    
                                
                                
                                    
                                
                            
                            
                                
                                    org.apache.maven.plugins
                                    maven-war-plugin
                                    [2.1.1,)
                                    
                                        exploded
                                    
                                
                                
                                    
                                
                            
                        
                    
                
            
        
    
    

    0 讨论(0)
提交回复
热议问题