do you want to add all libs from JBoss7 or do you only want the same versions of some libs used by JBoss7 added to your maven project?
can I have both =)
but... let me understand...
when you say "do you want to add all libs from JBoss7", you want to say that there is a public repository that maintains the updated versions of all JBoss 7 libs?
for my project, I simply need all libs that ships with JBoss 7 server (libs inside the "JBOSS_HOME/modules" directory)
hibernate, jpa, logger and etc...
Does this help?
hi David Beaumont
you posted an artifactId called "jboss-javaee-6.0"
this artifactId refer to the "Everything (NOT Java EE6 Certified)" JBoss version?
if I want the libs of "Web Profile Only (Java EE6 Certified)" JBoss version, should I use the artifactId called "jboss-javaee-web-6.0"?
thanks in advance
While I cannot help you directly, here are some tips:
Why do you need all the libs? You usually only need the libs you use in your mvn project. If a dependency needs another lib, it will automatically resolve this as well.
Also, many of the libs in as7 are also built with mvn, so you can simply open up the artefact and go to META-INF/maven and get the artefactId & groupId from there.
Oh, and if you are unsure what you need (and this is not pretty) you can simply grep for the class and see what jar pops up, then include that in the dependencies. Though you might have multiple hits, then you have to find the correct one.