maven-ear-plugin 和 JBoss AS 7
我正在迁移到 JBoss AS 7,并使用 maven 构建,在我看来,maven-ear-plugin 还不支持 JBoss AS 7。默认情况下它使用 JBoss AS 4。
这会导致问题吗?
我还在尝试弄清楚如何构建我的档案,现在遇到了与 JBoss AS 7 类加载器工作方式的变化相关的问题。
I am in the process of migrating to JBoss AS 7, and using maven build, seems to me the maven-ear-plugin does not support JBoss AS 7 yet. By default it uses JBoss AS 4.
Does this cause problem?
I am also still trying to figure out as I go along how to structure my archives, right now having issues related to the changes in the way JBoss AS 7 class loader works.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不认为
maven-ear-plugin
是 JBoss 特定的。但您必须在配置中指定 JavaEE6
:要获得 JBoss7 EAR 的工作示例,您可以使用以下原型创建一个新项目:
org.jboss.spec.archetypes:jboss-javaee6-ear-webapp:7.0.2.CR1
上面显示的示例取自此原型。
I don't think the
maven-ear-plugin
is JBoss specific. But you have to specify the JavaEE<version>6</version>
in your configuration:To get a working example of a JBoss7 EAR you can create a new project using the following archetype:
org.jboss.spec.archetypes:jboss-javaee6-ear-webapp:7.0.2.CR1
The example shown above is taken from this archetype.