Hi guys,
Drools 5 was so nice. I am struggling with 6. (6.0.1-Final)
So I've made a Maven project, ctCharges-0.1-SNAPSHOT, to contain my rules,
and it's basically the same as the named-kiesession example, without any
java files in it. Same kmodule.xml, just my own parentless maven group
instead of org.drools.
I add the dependency to my main project, but when I try this:
KieServices kServices = KieServices.Factory.get();
KieContainer kContainer = kServices.getKieClasspathContainer();
KieSession ksession = kContainer.newKieSession("ksession1");
it gets this:
Found kmodule:
vfs:/C:/jboss-eap/standalone/deployments/iconRules6.war/WEB-INF/lib/ctCharges-0.1-SNAPSHOT.jar/META-INF/kmodule.xml
Virtual file physical path =
C:\jboss-eap\standalone\tmp\vfs\deployment\deployment59bc0232401e9992\ctCharges-0.1-SNAPSHOT.jar-2808edf3c95bef92\ctCharges-0.1-SNAPSHOT.jar
*Unable to load pom.properties*
from\jboss-eap\standalone\tmp\vfs\deployment\deployment59bc0232401e9992\ctCharges-0.1-SNAPSHOT.jar-2808edf3c95bef92\ctCharges-0.1-SNAPSHOT.jar
null
(And then repeats this error couple of times)
If I look in the jar, I see:
META-INF/maven/com.mycompany/myArtifactName/pom.xml and pom.properties
What is going on?
--
View this message in context:
http://drools.46999.n3.nabble.com/Drools-6-Unable-to-load-pom-properties-...
Sent from the Drools: User forum mailing list archive at
Nabble.com.