Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-2178

Set test scope for org.jboss.javaee:jboss-persistence-api dependency in ejbref resolver

    XMLWordPrintable

    Details

    • Component Fix Version(s):
      jboss-ejb3-ejbref-resolver:1.0.0-alpha-3

      Description

      The org.jboss.ejb3.ejbref.resolver:ejbref-resolver-ejb31-impl has the following "runtime" dependency:

      <dependency>
      <groupId>org.jboss.javaee</groupId>
      <artifactId>jboss-persistence-api</artifactId>
      <version>3.0.0.CR1</version>
      <scope>runtime</scope>
      </dependency>

      It should instead be set to "test" scope, because it's only used in tests.

      [INFO] [dependency:tree]
      [INFO] org.jboss.ejb3.ejbref.resolver:ejbref-resolver-ejb31-impl:jar:1.0.0-alpha-3-SNAPSHOT
      [INFO] +- org.jboss.ejb3.ejbref.resolver:ejbref-resolver-spi:jar:1.0.0-alpha-3-SNAPSHOT:compile
      [INFO] +- org.jboss.metadata:jboss-metadata-ejb:jar:2.0.0-alpha-18:compile
      [INFO] | +- org.jboss.spec.javax.ejb:jboss-ejb-api_3.1_spec:jar:1.0.0.Beta2:compile
      [INFO] | | +- org.jboss.spec.javax.transaction:jboss-transaction-api_1.1_spec:jar:1.0.0.Beta1:compile
      [INFO] | | - org.jboss.ws.native:jbossws-native-jaxrpc:jar:3.2.2.GA:compile
      [INFO] | | - org.jboss.ws.native:jbossws-native-saaj:jar:3.2.2.GA:compile
      [INFO] | +- org.jboss.metadata:jboss-metadata-common:jar:2.0.0.Alpha15:compile
      [INFO] | | +- org.jboss.logging:jboss-logging-spi:jar:2.1.1.GA:compile (version managed from 2.2.0.CR1)
      [INFO] | | +- org.jboss:jboss-common-core:jar:2.2.14.GA:compile
      [INFO] | | +- org.jboss.javaee:jboss-ejb-api:jar:3.0.0.GA:compile
      [INFO] | | | - org.jboss.javaee:jboss-transaction-api:jar:1.0.1.GA:compile
      [INFO] | | +- org.hibernate:ejb3-persistence:jar:1.0.2.GA:compile
      [INFO] | | +- org.jboss.javaee:jboss-jms-api:jar:1.1.0.GA:compile
      [INFO] | | +- org.jboss.ws:jbossws-spi:jar:1.3.0.Beta4:compile
      [INFO] | | | +- org.apache.ant:ant:jar:1.7.1:compile
      [INFO] | | | | - org.apache.ant:ant-launcher:jar:1.7.1:compile
      [INFO] | | | +- dom4j:dom4j:jar:1.6.1:compile
      [INFO] | | | | - xml-apis:xml-apis:jar:1.0.b2:compile
      [INFO] | | | - gnu-getopt:getopt:jar:1.0.13:compile
      [INFO] | | +- jboss.jbossws:jboss-jaxws:jar:3.0.1-native-2.0.4.GA:compile
      [INFO] | | +- org.jboss:jboss-vfs:jar:3.0.0.CR1:compile
      [INFO] | | +- org.jboss:jboss-mdr:jar:2.0.0.GA:compile
      [INFO] | | +- sun-jaxb:jaxb-api:jar:2.1.4:compile
      [INFO] | | - apache-xerces:xml-apis:jar:2.9.1:compile
      [INFO] | +- org.jboss.ejb3:jboss-ejb3-ext-api:jar:1.1.0:compile
      [INFO] | - org.jboss:jbossxb:jar:2.0.2.Beta7:compile
      [INFO] | +- org.jboss:jboss-reflect:jar:2.0.2.GA:compile
      [INFO] | +- apache-xerces:xercesImpl:jar:2.9.1:compile
      [INFO] | +- wutka-dtdparser:dtdparser121:jar:1.2.1:compile
      [INFO] | - javax.activation:activation:jar:1.1.1:compile
      [INFO] +- org.jboss.ejb3.ejbref.resolver:ejbref-resolver-ejb30-impl:jar:1.0.0-alpha-3-SNAPSHOT:compile
      [INFO] +- org.jboss.deployers:jboss-deployers-spi:jar:2.0.9.GA:provided
      [INFO] | - org.jboss.deployers:jboss-deployers-structure-spi:jar:2.0.9.GA:provided
      [INFO] | +- org.jboss.deployers:jboss-deployers-client-spi:jar:2.0.9.GA:provided
      [INFO] | | +- org.jboss.deployers:jboss-deployers-core-spi:jar:2.0.9.GA:provided
      [INFO] | | - org.jboss.man:jboss-managed:jar:2.1.1.CR1:provided
      [INFO] | | - org.jboss.man:jboss-metatype:jar:2.1.1.CR1:provided
      [INFO] | +- org.jboss.microcontainer:jboss-dependency:jar:2.0.9.GA:provided
      [INFO] | - org.jboss.integration:jboss-classloading-spi:jar:5.1.0.SP1:provided
      [INFO] +- junit:junit:jar:4.7:test
      [INFO] +- org.jboss.ejb3.ejbref.resolver:ejbref-resolver-ejb30-impl:test-jar:tests:1.0.0-alpha-3-SNAPSHOT:test
      [INFO] | - org.jboss.metadata:jboss-metadata:jar:1.0.4:test
      [INFO] - org.jboss.javaee:jboss-persistence-api:jar:3.0.0.CR1:runtime

        Attachments

          Activity

            People

            Assignee:
            jaikiran Jaikiran Pai (Inactive)
            Reporter:
            jaikiran Jaikiran Pai (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: