[jboss-jira] [JBoss JIRA] (DROOLS-599) kjar archertype

Matteo Mortari (JIRA) issues at jboss.org
Sun Sep 14 06:02:02 EDT 2014


Matteo Mortari created DROOLS-599:
-------------------------------------

             Summary: 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: Mark Proctor


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



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jboss-jira mailing list