Plugin execution not covered by lifecycle configuration: com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.5.0:generate-sources

后端 未结 1 661
迷失自我
迷失自我 2021-01-04 02:03

I have an Android application, which is built using pom.xml file given below. mvn clean install works without errors, but in Eclipse I get followi

1条回答
  •  有刺的猬
    2021-01-04 02:48

    One way to solve it is by adding the following section to your pom.xml (or parent pom.xml):

    
       org.eclipse.m2e
       lifecycle-mapping
       1.0.0
       
          
             
                
                   
                      com.jayway.maven.plugins.android.generation2
                      android-maven-plugin
                      [3.5.0,)
                                                                                     
                         generate-sources      
                         proguard
                         emma
                         dex
                         apk
                         internal-pre-integration-test
                         internal-integration-test                                         
                      
                   
                   
                      
                   
                
             
          
       
    
    

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