Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-62

business-central not able to handle pom type dependencies.

XMLWordPrintable

    • DR2
    • Hide

      1. Create a simple Maven project which holds only a POJO
      2. Set jboss-as-ejb-client-bom and jboss-as-jms-client-bom as dependency in the pom.xml of this project
      3. Build jar file and upload it to Business-central maven repository
      4. Create simple project in business-central and add dependency on artifact uploaded in step-3
      5. Hit the "Build & Deploy" button, the build does fail. log file attached to case.

      Show
      1. Create a simple Maven project which holds only a POJO 2. Set jboss-as-ejb-client-bom and jboss-as-jms-client-bom as dependency in the pom.xml of this project 3. Build jar file and upload it to Business-central maven repository 4. Create simple project in business-central and add dependency on artifact uploaded in step-3 5. Hit the "Build & Deploy" button, the build does fail. log file attached to case.

      I created a project in business-central, this project has a dependency on an EJB module. In this EJB module, has dependencies on below artifacts:

      <dependency>
        <groupId>org.jboss.as</groupId>
        <artifactId>jboss-as-ejb-client-bom</artifactId>
        <version>7.1.1.Final</version>
        <type>pom</type>
      </dependency>
      <dependency>
        <groupId>org.jboss.as</groupId>
        <artifactId>jboss-as-jms-client-bom</artifactId>
        <version>7.1.1.Final</version>
        <type>pom</type>
      </dependency>
      

      In Artifact repository of business-central these BOM's(jboss-as-ejb-client & jboss-as-jms-client-bom) are available. business-central cannot handle "pom" type dependencies, which is making the compilation of project to fails.

              mfusco@redhat.com Mario Fusco
              rhn-support-abhumbe Abhijit Humbe
              Tomas David Tomas David
              Tomas David Tomas David
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: