1 of 1 people found this helpful
build your project with maven (mvn clean install) and then go to the jbpm-console web interface and use Deployments view to create new deployment unit. On the new deployment unit screen you need to specify GAV (group, artifact, version) of your maven project you created in eclipse.
Thanks! Just one thing: I cannot find any "Upload" button in the Deployments unit. How do I upload my artifact to the console? should the .JAR file be packaged in the application server's classpath or into the jbpm-console ?
Well I have tried to upload at first the JAR file in the Artifact Repository. That works, however when I go back to the Deploy menu and choose to upload the artifact, I get as return the following error: Deployment of unit com.sample:jbpm-example:1.0.0-SNAPSHOT failed: number of transferred bytes cannot be negative
Is this the same issue described here: https://issues.jboss.org/browse/JBPM-4202 ??
My Project is the default Maven project created with Eclipse (sample.bpmn) project.