Bug 1211963

Summary: Importing mavenized jar with parent is not handled correctly - version from parent's dep. management
Product: [Retired] JBoss BRMS Platform 6 Reporter: Zuzana Krejčová <zkrejcov>
Component: Business CentralAssignee: manstis
Status: CLOSED EOL QA Contact: Lukáš Petrovický <lpetrovi>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1.0CC: kverlaen, lpetrovi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 19:40:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Zuzana Krejčová 2015-04-15 10:16:10 UTC
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