Plugin execution not covered by lifecycle configuration: org.apache.maven.plugin

转:http://stackoverflow.com/questions/6352208/how-to-solve-plugin-execution-not-covered-by-lifecycle-configuration-for-sprin

maven报错:

Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-antrun-plugin:1.6:run (execution: default, phase: compile)

解决方法:添加pluginManagement标签

<build>
    <pluginManagement>
        <plugins>
            <plugin> ... </plugin>
            <plugin> ... </plugin>
                  ....
        </plugins>
    </pluginManagement>
</build>

猜你喜欢

转载自blackproof.iteye.com/blog/2148707
今日推荐