Hello,
I think this is a bug in the kie-maven-plugin as it does not execute the process-test-resources phase by default. I created a PR with the fix: https://github.com/droolsjbpm/drools/pull/365
You can workaround this issue by specifying the testResources phase explicitly in your pom.xml (see my last comment on https://issues.jboss.org/browse/DROOLS-495 for more info).
Thanks,
Petr
On Fri 25 Jul 2014 17:54:58 CEST, Matteo Mortari wrote:
_______________________________________________Ciao, speaking of the kie maven plugin, can I kindly ask for a
feedback about https://issues.jboss.org/browse/DROOLS-495 , please?
I normally use src/test/resources directory to store test files for
some Unit test. Typically by "test files" I mean xml files, which get
un-marshaled and used for some additional testing of rule behavior. It
seems to me:
- that setting in the pom.xml the <packaging> to 'kjar' does not make
these file resources available during the test phase.
- setting the <packaging> to 'jar' solve the issue, but this exclude
the kie-maven-plugin from the maven phases.
At least this is my experience, as detailed in the Jira with
reproducer, and personally I'm currently using other
not-very-beautiful means to overcome the issue.
Just asking to know, thank you in advance.
(also "not a bug" or "reject" would be acceptable feedback of course)
Ciao,
Matteo
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users