首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >插件执行不在生命周期配置范围内(JBossas 7 EAR原型)

插件执行不在生命周期配置范围内(JBossas 7 EAR原型)
EN

Stack Overflow用户
提问于 2012-02-05 00:47:58
回答 9查看 234.2K关注 0票数 124

我正在使用Eclipse3.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 (执行:默认生成应用程序-xml,阶段:生成资源)

<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>
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/9142533

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档