2 Replies Latest reply on Oct 24, 2011 3:23 PM by Mariano Kocalka Machala

    JBoss-6.1.0-Final and missing maven dependencies?

    Mariano Kocalka Machala Newbie

      Hi everyone

      Im facing an issue with brand new Jboss-6.1, and ejb3 maven dependencies resolutions.

       

      This is the thing:

      I've just updated our project pointing to this maven dependency.

       

      <dependency>

        <groupId>org.jboss.jbossas</groupId>

        <artifactId>jboss-as-ejb3</artifactId>

        <version>6.1.0.Final</version>

        <scope>provided</scope>

      </dependency>

       

      At maven compile time i'm getting these warnings, and subsecuents build failures.

       

      [WARNING] The POM for com.sun.istack:istack-commons-runtime:jar:1.1 is missing, no dependency information available

      [WARNING] The POM for woodstox:wstx-asl:jar:3.2.1 is missing, no dependency information available

      [WARNING] The POM for ws-commons:policy:jar:1.0 is missing, no dependency information available

       

      Using the nexus public repository, and browsing the contents im able to see that dependencies above are not present anymore.

      https://repository.jboss.org/nexus/index.html#nexus-search;quick~istack-commons-runtime

       

      Couple of notes

      1. These dependencies are transitive ones.

      2. Im not using them directly, so they are referenced by other jboss artifacts as shown in maven depency graph (for example: aop)

      3. These issues were not present in jboss-as-ejb3:6.0.milestones series

      4. seems like org.jboss.jbossas:jboss-as-ejb3:6.1.0.Final maven dependencies are not up to date, since they are still pointing to older versions.

       

      Is this a bug ?

      Is there a plannig date to update public jboss repo ?

      i did not found a ticket within jira.

       

      Any help, suggestions or notes would be too much appreciated.

      thks in advance!

        • 1. Re: JBoss-6.1.0-Final and missing maven dependencies?
          James C Newbie

          Not sure what you are updating from but when I began using 6.1.0.Final I started using the following dependency.

           

          {code:xml}<dependency>

                      <groupId>org.jboss.ejb3</groupId>

                      <artifactId>jboss-ejb3-ext-api</artifactId>

                      <scope>provided</scope>

                      <exclusions>

                          <exclusion>

                              <groupId>org.jboss.javaee</groupId>

                              <artifactId>jboss-ejb-api</artifactId>

                          </exclusion>

                          <exclusion>

                              <groupId>org.jboss.metadata</groupId>

                              <artifactId>jboss-metadata</artifactId>

                          </exclusion>

                      </exclusions>

                  </dependency>{code}

           

           

          I got this from the webpage

          http://entjavastuff.blogspot.com/2010/07/migrating-to-jboss-51-from-jboss-42x.html

          • 2. Re: JBoss-6.1.0-Final and missing maven dependencies?
            Mariano Kocalka Machala Newbie

            James

            Thank you very much for the reply,

            After your suggestion i was doing a final research and found that new releases of dependency were available.

            At this point, what i need is not only ejb3 and jpa stuff, instead a complete reference of jboss as (as convenient)

             

            I've used

            <dependency>

                <groupId>org.jboss.as</groupId>

                <artifactId>jboss-as-ejb3</artifactId>

                <version>7.0.2.Final</version>

                <scope>provided</scope>

            </dependency>

             

            and all above started to work again, without warnings/errors (seems to be a maven clean/compile issue); Also i'd added some new dependencies as jboss-logging, and the proper log4j who prevously seems to be contained within the oldest dependency.

             

            Thank you very much for your help.

            Reagrds !