Bug 985363 - A command to build a project via CLI is missing
Summary: A command to build a project via CLI is missing
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER3
: 6.0.0
Assignee: Mario Fusco
QA Contact: Ivo Bek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-17 10:58 UTC by Ivo Bek
Modified: 2014-08-06 20:09 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:09:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ivo Bek 2013-07-17 10:58:26 UTC
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):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 manstis 2013-07-18 15:56:01 UTC
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...

Comment 2 Mario Fusco 2013-08-19 08:17:19 UTC
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:

https://github.com/droolsjbpm/drools/blob/master/drools-maven-plugin-example/pom.xml

Comment 4 Ivo Bek 2013-09-19 15:03:20 UTC
Verified that drools-maven-plugin enables to build a kjar project.


Note You need to log in before you can comment on or make changes to this bug.