-
Notifications
You must be signed in to change notification settings - Fork 1
JBoss BPM Suite: How to build KJar from command line with maven
Thomas Qvarnström edited this page Apr 10, 2014
·
1 revision
There is a known issue in JBoss BPM Suite 6.0.[0,1] where the pom.xml generated by business-central doesn't contain a dependency to org.jbpm:jbpm-bmpn2. When building from the business-central it will automatically add this dependency, but we in order to build from the command line we need to add it manually to the pom.xml like this:
<plugins>
<plugin>
<groupId>org.kie</groupId>
<artifactId>kie-maven-plugin</artifactId>
<version>6.0.2-redhat-6</version>
<extensions>true</extensions>
<dependencies>
<dependency>
<groupId>org.jbpm</groupId>
<artifactId>jbpm-bpmn2</artifactId>
<version>6.0.2-redhat-6</version>
</dependency>
</dependencies>
</plugin>
</plugins>
This requires that you have jboss maven repository configured, see here for an example of settings.xml.
After this mvn clean package etc should work fine even though the packaging type is kjar.