This content has been marked as final.
Show 1 reply
-
1. Re: JBoss 5.0.1.GA Native Maven2 Eclipse POM dependencies: d
sinjem Aug 19, 2009 2:47 PM (in response to sinjem)So I'll respond to my own post just in case anyone else runs into a similar problem. I finally figured out the dependency that allows me to reference JBoss from within an Eclipse workspace and run my deployed web service on a local JBoss Runtime Server.
You'll need the following dependency in your pom.xml file:<dependency> <groupId>org.jboss.jbossas</groupId> <artifactId>jboss-as-main</artifactId> <version>5.0.1.GA</version> <scope>provided</scope> </dependency>
By adding this dependency I was able to call my mavenized JEE web service, bundled in an ear (as a war with an associated ejb.jar) all deployed to an Eclipse JBoss Runtime with nothing on my project classpath other than the JDK and Maven references.
Hope this helps any one else who is struggling with something similar