-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
6.1.0
-
None
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
- is related to
-
RHBPMS-1853 Remote server declared in pom.xml is ignored in business central project
- Verified
-
RHBRMS-1102 Importing mavenized jar with parent pom specified is not handled correctly
- Verified
- relates to
-
RHBPMS-1853 Remote server declared in pom.xml is ignored in business central project
- Verified
-
RHBRMS-1102 Importing mavenized jar with parent pom specified is not handled correctly
- Verified