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

Importing mavenized jar with parent pom specified is not handled correctly

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

XMLWordPrintable

      Description of problem:
      See also bug 1007437.
      If you try to upload a mavenized jar with a parent pom (that is not in the maven central), you get an Error modal (see screenshot) and quite a few error messages in the server log.
      The jar is uploaded though and can be used as a dependency.
      User will get the same Error modal when trying to download the jar via the provided 'Download' button/link.

      The business-central is set to use custom maven settings.xml, where we define the location of the 'local' repository, point to productization repo and kie-wb-m2-repo.

      The error logs say things like:
      [ERROR] Non-resolvable import POM: Could not find artifact org.drools:drools-bom:pom:6.2.0.CR4-redhat-1 in central (http://repo.maven.apache.org/maven2)
      Though the artifact is present in both the 'local' repo and the productization repo.

      The root of that might be this:
      ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/business-central].[M2Servlet]] ... JBWEB000236: Servlet.service() for servlet M2Servlet threw exception: java.lang.IllegalStateException: ServletConfig has not been initialized

      (When fixing this issue, could you also please look at the format of the Error modal message in this area? See bug 999876.)

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

        1. screenshot.png
          screenshot.png
          46 kB
        2. server log.log
          70 kB

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

                Created:
                Updated:
                Resolved:
                Archived: