1 Reply Latest reply on Jun 5, 2006 10:45 AM by Peter Johnson

    Maven 2

    Martin Gilday Newbie

      I am trying to move my web projects from Ant over to Maven 2. Before I would just include the contents of the JBoss AS lib folder on my Ant classpath and everything was fine.

      The problem I am having is with setting up this JBoss dependency in my Maven 2 POM. There seem to be numerous entries for JBoss in the Ibiblio repository but none specifically for the AS. What groupID and artifactID should I be using for web projects using JBoss?

      The guides I can find all just use the Geronimo 1.0 spec. Is this ok?
      What are other people doing?

      Thank you.

        • 1. Re: Maven 2
          Peter Johnson Master

          If the Maven2 repository doesn't have the specific library I want (there is no consistency, some libraries go up to 4.0.2, others are still at 3.2.3), I followed the 3rd-party library steps to load the desired JBoss libraries into my local repository (http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html), of course following the existing groupId (jboss) and artifactId (jar file name).

          Here is one of my dependencies in my pom: