Create Java project with Maven archetype kie-drools-archetype

A basic kjar template with Drools rule example, JUnit 4 and logging binding. Use property droolsVersion to specify which version of Drools to use in generated kjar. Use property exampleWithCEP for a CEP rule example and related JUnit test case. Use property pomEclipseCompatible for pom-plug-in settings for Eclipse (will setup org.eclipse.m2e lifecycle-mapping plug-in).

Create a Java Project by archetype kie-drools-archetype with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DdroolsVersion="My-droolsVersion"   -Dslf4jVersion="My-slf4jVersion"   -DjunitVersion="My-junitVersion"   -DpomEclipseCompatible="My-pomEclipseCompatible"   -DexampleWithCEP="My-exampleWithCEP"   -DarchetypeGroupId="org.kie"   -DarchetypeArtifactId="kie-drools-archetype"   -DarchetypeVersion="8.23.0.Beta"   -DinteractiveMode=false 

Required parameters for generate java project:

droolsVersion
validationRegex: none
slf4jVersion
validationRegex: none
junitVersion
validationRegex: none
pomEclipseCompatible
validationRegex: none
exampleWithCEP
validationRegex: none

Details about maven archetype kie-drools-archetype

License

License

GroupId

GroupId

org.kie
ArtifactId

ArtifactId

kie-drools-archetype
Version

Version

8.23.0.Beta
Type

Type

maven-archetype
Description

Description

KIE :: Drools Maven Archetype
A basic kjar template with Drools rule example, JUnit 4 and logging binding. Use property droolsVersion to specify which version of Drools to use in generated kjar. Use property exampleWithCEP for a CEP rule example and related JUnit test case. Use property pomEclipseCompatible for pom-plug-in settings for Eclipse (will setup org.eclipse.m2e lifecycle-mapping plug-in).
Project URL

Project URL

http://drools.org
Project Organization

Project Organization

JBoss by Red Hat

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=org.kie -DarchetypeArtifactId=kie-drools-archetype -DarchetypeVersion=8.23.0.Beta -DinteractiveMode=false

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.