Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1211992

Summary: Importing mavenized jar is not handled correctly - pom import from custom repository
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:47:09 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 11:21:57 UTC
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