]
Mario Fusco reassigned DROOLS-599:
----------------------------------
Assignee: Mario Fusco (was: Mark Proctor)
kjar archertype
---------------
Key: DROOLS-599
URL:
https://issues.jboss.org/browse/DROOLS-599
Project: Drools
Issue Type: Feature Request
Affects Versions: 6.1.0.Final
Reporter: Matteo Mortari
Assignee: Mario Fusco
Fix For: 6.2.0.CR1
I'm opening this JIRA as I will later open PR related to
https://groups.google.com/d/msg/drools-development/uO17-kC4mvc/aBRunEcZ_b4J
The version of the archetype defaults for non-CEP, non-Eclipse plugin in pom. There are
property which user can change default value to have CEP, and Eclipse plug-in.
For reference,
* Set-up the new project's pom:
** Change Java version to 1.6 or greater, by including the maven-compiler-plugin
** Add Drools dependencies
** Change JUnit dependencies to version 4
** Add kie-maven-plugin
** [option] Add plug-in org.eclipse.m2e/lifecycle-mapping settings, to avoid Eclipse
ERROR at the pom.xml line defining the kie-maven-plugin
** Set packaging to 'kjar'
* ( ALT + F5 in betweens )
* Creation of an initial .drl file in src/main/resources
* Creation of minimal kmodule.xml in src/main/resources/META-INF directory
* Create a simple JUnit test for:
** Creation of KieBase [option ->] with STREAM option for CEP features
** Creation of KieSession [option ->] with pseudo-clock
** [option: Advance] / Insert / Fire template
** ... and other verification/output patterns
* Include SLF4J and LOG4J binding for logging, including a log4j.properties file in
src/test/resources