Red Hat Bugzilla – Bug 985363
A command to build a project via CLI is missing
Last modified: 2014-08-06 16:09:31 EDT
Description of problem:
When I look at all the commands, which CLI provides, there is nothing I could use to build a project, because I need to build it first. After that I can add the deployment config.
I found the all commands here https://github.com/droolsjbpm/kie-wb-distributions/tree/master/kie-config-cli/src/main/java/org/kie/config/cli/command/impl
Version-Release number of selected component (if applicable):
Steps to Reproduce:
kie-config-cli is meant for handling configuration data needed by kie-wb; e.g. setting up Groups, adding Repositories, managing permissions on these artifacts.
AFAIK KIE modules (KJAR's, or projects) can be built with Maven from the CLI (but don't ask me what the maven plugin is).. assigning to Mario (sorry) for comment...
Michael is right; it is possible to build KIE modules from the maven CLI. To do that it is enough to add the drools-maven-plugin to your pom as in this example:
Verified that drools-maven-plugin enables to build a kjar project.