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

Importing mavenized jar with parent is not handled correctly - version from parent's dep. management

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:
      A project may have a dependency declared, but without the version element, if the version is defined in the project's parent, in dependency management. Uploading such a project/jar to business-central gives you an Error modal, similar to bug 1187068, and some errors are printed to server log. The jar is otherwise uploaded just fine.

      ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/business-central].[M2Servlet]] (http-/10.40.2.203:8080-3) 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] 'dependencies.dependency.version' for ch.qos.cal10n:cal10n-api:jar is missing. @ test:child:[unknown-version], line 22, 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: