[jboss-jira] [JBoss JIRA] (DROOLS-153) KieBuilder requires KieModule to contain a KBase to build
Michael Anstis (JIRA)
jira-events at lists.jboss.org
Wed May 29 06:34:55 EDT 2013
[ https://issues.jboss.org/browse/DROOLS-153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777768#comment-12777768 ]
Michael Anstis commented on DROOLS-153:
---------------------------------------
I have another test in drools-wb that fails if the KBase is missing too.
This drools-wb test uses a programmatically configured M2 Repository and isn't easy to replicate in kie-ci.
Could you also look at the drools-wb test when you get to this JIRA? The error in drools-wb if the KBase is missing from kmodule.xml is that the classes in the child/dependent module cannot be resolved. If I add a KBase definition to the project's kmodule.xml the classes can be resolved. The test is at https://github.com/droolsjbpm/guvnor/blob/master/kie-wb-common/kie-wb-common-services/kie-wb-common-builder/src/test/java/org/kie/workbench/common/services/builder/BuildServiceImplTest.java#L74 - currently we've patched the test so the kmodule.xml has a kbase definition.
> KieBuilder requires KieModule to contain a KBase to build
> ----------------------------------------------------------
>
> Key: DROOLS-153
> URL: https://issues.jboss.org/browse/DROOLS-153
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 6.0.0.Beta2
> Reporter: Michael Anstis
> Assignee: Mark Proctor
>
> KieBuilder does not build (NPE) if a KJAR depends on another JAR where the parent (i.e. the one depending on the other) does not contain at least one KBase definition in kmodule.xml.
> See kie-ci/KieModuleBuilderTest.testKieModuleUsingPOMMissingKBaseDefinition() at http://github.com/droolsjbpm/drools/commit/1f9065e46
> This test is @Ignored at the moment.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list