Uploaded image for project: 'JBoss BRMS Platform'
  1. JBoss BRMS Platform
  2. RHBRMS-1079

Importing mavenized jar is not handled correctly - pom import from custom repository

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 6.1.0
    • Business Central
    • None

      Description of problem:
      Maven project that uses:
      <dependency>
      ...
      <scope>import</scope>
      <type>pom</type>
      ...
      and a non-default repository, specified in pom.xml - e.g. a project that imports a BOM from our product repository. Such a project/jar can be still uploaded into business-central, though doing that results in the typical error modal (see bug 1187068) and errors logged into the serer log:

      ERROR ....[/business-central].[M2Servlet]] ... JBWEB000236: Servlet.service() for servlet M2Servlet threw exception: java.lang.RuntimeException: org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
      [ERROR] Non-resolvable import POM: Failure to find org.kie:kie-bom:pom:6.2.0.Final-redhat-4 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced @ org.drools:drools-bom:[unknown-version], /home/zkrejcov/kie-maven-repo/org/drools/drools-bom/6.2.0.Final-redhat-4/drools-bom-6.2.0.Final-redhat-4.pom, line 24, column 19

      Version-Release number of selected component (if applicable):
      6.1 CR2

              manstis@redhat.com Michael Anstis
              zkrejcov Zuzka Krejčová (Inactive)
              Archiver:
              rhn-support-ceverson Clark Everson
              Jan Hrcek Jan Hrcek (Inactive)
              Jan Hrcek Jan Hrcek (Inactive)
              Kris Verlaenen

                Created:
                Updated:
                Resolved:
                Archived: