我将Eclipse 3.7 Indigo与Maven M2E插件1.0.100一起使用。使用JBoss 7.x JavaEE 6 EAR原型,EAR的pom给了我这个错误:生命周期配置未涵盖插件执行:org.apache.maven.plugins:maven-ear-plugin:2.6:generate-application-xml(执行:default-generate-application-xml,阶段:generate-resources)<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-ear-plugin</artifactId> <version>2.6</version> <configuration> <!-- Tell Maven we are using Java EE 6 --> <version>6</version> <!-- Use Java EE ear libraries as needed. Java EE ear libraries are in easy way to package any libraries needed in the ear, and automatically have any modules (EJB-JARs and WARs) use them --> <defaultLibBundleDir>lib</defaultLibBundleDir> <modules></modules> </configuration><plugin>
3 回答
- 3 回答
- 0 关注
- 639 浏览
添加回答
举报
0/150
提交
取消