使用Maven或JBoss Tools在Eclipse上添加JBoss AS 7模块 [英] Adding JBoss AS 7 modules on Eclipse using Maven or JBoss Tools

查看:124
本文介绍了使用Maven或JBoss Tools在Eclipse上添加JBoss AS 7模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将我的项目迁移到JBoss AS 7,我已经阅读了一些关于它的模块的内容。我的问题很简单(我认为),我不知道如何在开发阶段包含这些模块。例如,我使用hibernate,在Eclipse中,使用JBoss Tools和JBoss AS 6,我只需要说该项目将使用JBoss 7并且所有的jar都可用。但是使用JBoss 7,我无法使用hibernate-core。我知道我可以选择在我的pom上添加hibernate-core作为提供,但还有另一种方法吗?

I'm migrating my project to JBoss AS 7, and I've read a little about its modules. My problem is simple (I think), I have no idea how to include this modules during development phase. For example, I use hibernate, and inside Eclipse, with JBoss Tools and JBoss AS 6, I just need to say that the project will use JBoss 7 and all their "jars" are available. But using JBoss 7, hibernate-core isn't available to me. I know I have an option to add the hibernate-core as "provided" on my pom, but there is another way?

推荐答案

看看这些链接:

服务器提供的工件: http://mvnrepository.com/artifact/org.jboss.as/jboss-as-api/7.1.0.CR1

所有其他工件(我不确定哪种工具最适合你): http://mvnrepository.com/artifact/org.jboss.as

All other artifacts (I'm not sure which will be the most suitable for you): http://mvnrepository.com/artifact/org.jboss.as

这篇关于使用Maven或JBoss Tools在Eclipse上添加JBoss AS 7模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆