首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > XML SOAP >

maven 项目 pom.xml 疏失

2012-06-30 
maven 项目 pom.xml 出错1,missing ***.jar那就添加 dependency2,报:Plugin execution not covered by lif

maven 项目 pom.xml 出错
1,missing ***.jar
那就添加 dependency

2,报:
Plugin execution not covered by lifecycle configuration:
org.apache.maven.plugins:maven-antrun-plugin:1.3:run (execution: default, phase: compile)
错误信息格式为 groupId:artifactId:version:goal

在</plugins>后添加

<pluginManagement><plugins><!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself. --><plugin><groupId>org.eclipse.m2e</groupId><artifactId>lifecycle-mapping</artifactId><version>1.0.0</version><configuration><lifecycleMappingMetadata><pluginExecutions><pluginExecution><pluginExecutionFilter><groupId>org.apache.maven.plugins</groupId><artifactId>maven-antrun-plugin</artifactId><versionRange>[1.3,)</versionRange><goals><goal>run</goal></goals></pluginExecutionFilter><action><ignore></ignore></action></pluginExecution></pluginExecutions></lifecycleMappingMetadata></configuration></plugin></plugins></pluginManagement>

热点排行