Создать Java проект на основе Maven архетипа 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).
Консольная команда для создания Java-проекта на основе архетипа kie-drools-archetype:
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="7.46.0.t20201030" -DinteractiveMode=false
Обязательные параметры для создания java проекта:
- droolsVersion
-
validationRegex: нет
- slf4jVersion
-
validationRegex: нет
- junitVersion
-
validationRegex: нет
- pomEclipseCompatible
-
validationRegex: нет
- exampleWithCEP
-
validationRegex: нет
Подробная информация об архетипе kie-drools-archetype
| Группа |
Группаorg.kie |
| Идентификатор |
Идентификаторkie-drools-archetype |
| Версия |
Версия7.46.0.t20201030 |
| Тип |
Типmaven-archetype |
Как подключить последнюю версию