Uploaded image for project: 'HornetQ'
  1. HornetQ
  2. HORNETQ-857

RHQ plugin: several dependencies in pom.xml should have provided scope

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      hornetq-jopr-plugin v2.0.0.Final

      Description

      The following deps should be changed to provided scope, because they are provided by the RHQ plugin container at runtime:

      <dependency>
      <groupId>org.jboss.integration</groupId>
      <artifactId>jboss-profileservice-spi</artifactId>
      <version>6.0.0.Alpha9</version>
      </dependency>

      <dependency>
      <groupId>org.jboss.man</groupId>
      <artifactId>jboss-managed</artifactId>
      <version>2.1.1.SP1</version>
      </dependency>

      <dependency>
      <groupId>org.rhq</groupId>
      <artifactId>rhq-core-domain</artifactId>
      <version>1.4.0.B01</version>
      <scope>compile</scope>
      </dependency>

      <dependency>
      <groupId>org.rhq</groupId>
      <artifactId>rhq-core-plugin-api</artifactId>
      <version>1.4.0.B01</version>
      <scope>compile</scope>
      </dependency>

      <dependency>
      <groupId>org.rhq</groupId>
      <artifactId>rhq-jmx-plugin</artifactId>
      <version>1.4.0.B01</version>
      <scope>provided</scope>
      </dependency>

      <!-we dont compile without these, some strange annotation dependency->
      <dependency>
      <groupId>org.hibernate.javax.persistence</groupId>
      <artifactId>hibernate-jpa-2.0-api</artifactId>
      <version>1.0.0-CR-1</version>
      </dependency>

      <dependency>
      <groupId>org.hibernate</groupId>
      <artifactId>hibernate-annotations</artifactId>
      <version>3.5.0-CR-1</version>
      </dependency>

      The two jbossas deps (jboss-profileservice-spi and jboss-managed) are especially problematic, because they are not available from the public JBoss Maven repo, and therefore cause the JON build to fail when we try to add a dependency on v2.0.0.Final of the hornetq plugin.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ataylor Andy Taylor
                Reporter:
                ips Ian Springer
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: