Bug 1211963 - Importing mavenized jar with parent is not handled correctly - version from parent's dep. management
Summary: Importing mavenized jar with parent is not handled correctly - version from p...
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: manstis
QA Contact: Lukáš Petrovický
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-15 10:16 UTC by Zuzana Krejčová
Modified: 2020-03-27 19:40 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-03-27 19:40:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1187068 0 unspecified CLOSED Importing mavenized jar with parent pom specified is not handled correctly 2021-02-22 00:41:40 UTC

Internal Links: 1187068

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


Note You need to log in before you can comment on or make changes to this bug.