解决Maven报Plugin execution not covered by lifecycle configurat

今天加入


<build>
        <plugins>
            <plugin>
                <groupId>org.springframework.bootgroupId>
                <artifactId>spring-boot-maven-pluginartifactId>
            plugin>
            <plugin>
                ...... 
            <executions>  
            <execution>  
           ...... 
            execution>  
            executions>  
          ...... 
            plugin> 
        plugins>

    build>

报错,execution标签。

解决, 即 标签外再套一个 pluginManagement 标签,:


    
        
             ... 
             ... 
                  ....
        
    

你可能感兴趣的:(error)