3 Replies Latest reply on Jan 25, 2008 11:06 AM by pmuir

    JBoss Cache POMS

    pmuir

      I'm upgrading from JBoss Cache 1.4 -> 2.1 in Seam (http://jira.jboss.com/jira/browse/JBSEAM-2522). Seam uses Maven for its dependency management, so I'm trying to use the published POMs on repository.jboss.org/maven2.

      As I understand it, JBoss Cache should be usable outside a JavaEE environment running in JBoss AS which uses sleepycat je, c3p0 etc. (you get the point ;)

      If so, the POMs should specify any optional dependencies as optional, like:


      org.jboss
      jboss-common-core
      true


      Otherwise consumers of JBoss Cache end up with a load of exclusions.


      org.jboss.cache
      jbosscache-pojo
      2.1.0.CR3


      jdbm
      jdbm


      c3p0
      c3p0


      sleepycat
      je


      org.jboss.javaee
      jboss-javaee


      org.jboss.microcontainer
      jboss-container


      org.jboss
      jboss-common-core


      net.jcip
      jcip-annotations




      Thanks!

        • 1. Re: JBoss Cache POMS
          pmuir

          Oops, let me try again:

          I'm upgrading from JBoss Cache 1.4 -> 2.1 in Seam (http://jira.jboss.com/jira/browse/JBSEAM-2522). Seam uses Maven for its dependency management, so I'm trying to use the published POMs on repository.jboss.org/maven2.

          As I understand it, JBoss Cache should be usable outside a JavaEE environment running in JBoss AS which uses sleepycat je, c3p0 etc. (you get the point ;)

          If so, the POMs should specify any optional dependencies as optional, like:

          <dependency>
           <groupId>org.jboss</groupId>
           <artifactId>jboss-common-core</artifactId>
           <optional>true</optional>
          </dependency>


          Otherwise consumers of JBoss Cache end up with a load of exclusions.
           <dependency>
           <groupId>org.jboss.cache</groupId>
           <artifactId>jbosscache-pojo</artifactId>
           <version>2.1.0.CR3</version>
           <exclusions>
           <exclusion>
           <groupId>jdbm</groupId>
           <artifactId>jdbm</artifactId>
           </exclusion>
           <exclusion>
           <groupId>c3p0</groupId>
           <artifactId>c3p0</artifactId>
           </exclusion>
           <exclusion>
           <groupId>sleepycat</groupId>
           <artifactId>je</artifactId>
           </exclusion>
           <exclusion>
           <groupId>org.jboss.javaee</groupId>
           <artifactId>jboss-javaee</artifactId>
           </exclusion>
           <exclusion>
           <groupId>org.jboss.microcontainer</groupId>
           <artifactId>jboss-container</artifactId>
           </exclusion>
           <exclusion>
           <groupId>org.jboss</groupId>
           <artifactId>jboss-common-core</artifactId>
           </exclusion>
           <exclusion>
           <groupId>net.jcip</groupId>
           <artifactId>jcip-annotations</artifactId>
           </exclusion>
           </exclusions>
           </dependency>


          Thanks!


          • 2. Re: JBoss Cache POMS
            manik

            I presume you're referring to this?

            http://jira.jboss.org/jira/browse/JBCACHE-1276

            • 3. Re: JBoss Cache POMS
              pmuir

              Ah, thanks Manik, I didn't look in JIRA, oops ;)