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

enter image description here

3) add maven nature project

4) try install/compile can see following error on problems tab:

enter image description here

project build error: unknown packaging: kjar

question is: kjar packaging ? how project working in demo enviroment ?

my eclipse is:

enter image description here

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

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -