Details
-
Bug
-
Resolution: Done
-
Critical
-
6.3.0.GA
-
None
-
CR1
-
Description
Business Central started without an access to product maven repository creates an error message is server log:
05:52:07,296 ERROR [org.kie.api.builder.KieScanner] (MSC service thread
1-2) Unable to create MavenProject from InputStream:
org.apache.maven.project.ProjectBuildingException: 1 problem was
encountered while building the effective model for
org.guvnor:guvnor-asset-mgmt-project:[unknown-version]
[FATAL] Non-resolvable parent POM: Failure to find
org.guvnor:guvnor-asset-mgmt:pom:6.4.0.Final-redhat-3 in
https://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 @ line 4, column 11
for project org.guvnor:guvnor-asset-mgmt-project:[unknown-version]
at
This is caused by attempt to build asset-mgmt project when it's parent POM is missing. Issue can be fixed by pointing Business Central to product maven repository, which can be achieved by providing proper settings.xml via system property -Dkie.maven.settings.custom=<your maven settings file>. The settings.xml must contain reference to either online product repository [1] or define a local maven repository, which had been initialized by unzipping offline product repository there.
Additional info:
There had been a similar issue specific for Tomcat container where this matter had been discussed https://issues.jboss.org/browse/RHBRMS-1483.
In case This issue cannot be fix, it should be at least documented well that product maven repository has to be specified before running Business Central
[1] http://download.eng.bos.redhat.com/brewroot/repos/jb-bxms-6.3-build/latest/maven/
Attachments
Issue Links
- duplicates
-
RHBRMS-2491 [GSS] (6.3.z) Business Central shows error in server log if started without access to central maven repository
- Closed
- is duplicated by
-
RHBRMS-2490 [GSS] Business Central shows error in server log if started without access to central maven repository
- Verified