<div dir="ltr">Thank you Petr, for the fix on master and the workaround, works for me.<div><br></div><div>Ciao,</div><div>Matteo</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 25, 2014 at 7:43 PM, Petr Široký <span dir="ltr"><<a href="mailto:psiroky@redhat.com" target="_blank">psiroky@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
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: <a href="https://github.com/droolsjbpm/drools/pull/365" target="_blank">https://github.com/droolsjbpm/<u></u>drools/pull/365</a><br>
<br>
You can workaround this issue by specifying the testResources phase explicitly in your pom.xml (see my last comment on <a href="https://issues.jboss.org/browse/DROOLS-495" target="_blank">https://issues.jboss.org/<u></u>browse/DROOLS-495</a> for more info).<br>
<br>
Thanks,<br>
Petr<div><div class="h5"><br>
<br>
On Fri 25 Jul 2014 17:54:58 CEST, Matteo Mortari wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Ciao, speaking of the kie maven plugin, can I kindly ask for a<br>
feedback about <a href="https://issues.jboss.org/browse/DROOLS-495" target="_blank">https://issues.jboss.org/<u></u>browse/DROOLS-495</a> , please?<br>
<br>
I normally use src/test/resources directory to store test files for<br>
some Unit test. Typically by "test files" I mean xml files, which get<br>
un-marshaled and used for some additional testing of rule behavior. It<br>
seems to me:<br>
- that setting in the pom.xml the <packaging> to 'kjar' does not make<br>
these file resources available during the test phase.<br>
- setting the <packaging> to 'jar' solve the issue, but this exclude<br>
the kie-maven-plugin from the maven phases.<br>
<br>
At least this is my experience, as detailed in the Jira with<br>
reproducer, and personally I'm currently using other<br>
not-very-beautiful means to overcome the issue.<br>
<br>
Just asking to know, thank you in advance.<br>
(also "not a bug" or "reject" would be acceptable feedback of course)<br>
Ciao,<br>
Matteo<br>
<br>
<br></div></div>
______________________________<u></u>_________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/<u></u>mailman/listinfo/rules-users</a><br>
</blockquote>
</blockquote></div><br></div></div>