Created attachment 999783 [details] Fuse log warning Description of problem: Native Maven parser used by KIE-CI fails to instantiate in OSGi environment, which leads to fallback to MinimalPomParser which is a very simple pom parser implementation provided by Drools. The limitation in that case is the following: MinimalPomParser ignores some pom file parts, e.g. kJar's parent pom. This means that users must not rely on those pom features (such as dependencies declared in parent pom in their kJars) when using KIE-CI in OSGi environment. The problem manifested during verification of BZ 1100860 - the Fuse log file contains the following warnings (complete stacktrace attached): 16:15:46,942 | WARN | NAPSHOT-thread-2 | Sisu | 299 - org.kie.scanner.osgi - 6.2.0.201503032251 | Error injecting: org.apache.maven.execution.DefaultMavenExecutionRequestPopulator com.google.inject.ProvisionException: Guice provision errors: 1) No implementation for org.apache.maven.repository.RepositorySystem was bound. while locating org.apache.maven.execution.DefaultMavenExecutionRequestPopulator Version-Release number of selected component (if applicable): BRMS 6.1.0 ER6 Fuse 6.1.1 How reproducible: always Steps to Reproduce: 1. run the reproducer from BZ 1100860 2. watch fuse log file for warnings Actual results: Log file contains warnings, certain pom features (such as parent) are not parsed by KIE-CI. Expected results: Log files does not contain the above warnings, KIE-CI parses kJar's parent pom.
Fixed by https://github.com/droolsjbpm/drools/commit/e80b85407
Verified in BRMS 6.2.0 ER4 with Fuse 6.2.0. The warnings are no longer present in Fuse log.