生命周期配置未涵盖插件执行(JBossas 7 EAR原型)

我将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>


潇湘沐
浏览 640回答 3
3回答
打开App,查看更多内容
随时随地看视频慕课网APP