Details
-
Bug
-
Resolution: Done
-
Critical
-
6.0.0
-
None
Description
At the moment we parse the pom.xml file also of the project running drools (and not only of the KieProject itself) with the purpose of trying to figure out if the user declared some additional repository in that pom so we could try to download the KieProject also from there.
However parsing the pom.xml file of the running project is not always possible as reported here http://drools.46999.n3.nabble.com/rules-users-Avoid-parsiong-project-pom-xml-when-running-Drools-td4028690.html and when it happens the whole KieContainer creation fails.
I think we should keep this feature but also fail silently (or probably just emit a warning) when for any reason we are not able to parse the pom of the running project as in that case. This means that when this happens we will just use the repositories declared in the settings.xml file.