jbpm - Project build error: Unknown packaging: kjar -
using jbpm 6.4.0 full installer here: http://www.jbpm.org/download/download.html
1) start demo: ant start.demo
2) using eclipse, create new jbpm project jbpm playground 6.3 , select translations project
3) add maven nature project
4) try install/compile can see following error on problems tab:
project build error: unknown packaging: kjar
question is: kjar packaging ? how project working in demo enviroment ?
my eclipse is:
edit:
i've found definition on kjar, in particular part on official documentation:
version 6, on other hand moves away proprietary packages in favor of, known , mature, apache maven based packaging - known knowledge archives - kjar. processes, rules etc (aka business assets) part of simple jar file built , managed maven. along business assets, java classes , other file types stored in jar file too. moreover, other maven artifact, kjar can have defined dependencies on other artifacts including other kjars. makes kjar special when compared regular jars single descriptor file kept inside meta-inf directory of kjar - kmodule.xml. descriptor allows define:
knowledge bases , properties
knowledge sessions , properties
work item handlers
event listeners
by default, descriptor empty (just kmodule root element) , considered marker file. whenever runtime component (such jbpm console) process kjar looks kmodule.xml build runtime representation. in addition kmodule.xml deployment descriptor (that provides fine graind control on deployment) available (since 6.1).
after reading it's not clear how build these kjar , why official online example jbpm include kjar packaging value
¿did test if commenting line works? comment line 8: change this:
<packaging>kjar</packaging>
into this:
<!-- <packaging>kjar</packaging> -->
im not sure, think there version mismatch between code , documentation. think default packaging jar, removing line 8 configuration work.
Comments
Post a Comment