BPMN_Projekt/Rechnungseingang/README.md
2020-05-21 20:05:31 +02:00

4.1 KiB

Camunda BPM Process Application

A Process Application for Camunda BPM.

This project has been generated by the Maven archetype camunda-archetype-servlet-war-7.11.1.

Show me the important parts!

BPMN Process

BPMN Process

How does it work?

How to use it?

Unit Test

You can run the JUnit test InMemoryH2Test in your IDE or using:

mvn clean test

Deployment to an Application Server

You can also build and deploy the process application to an application server. For an easy start you can download Apache Tomcat with a pre-installed Camunda from our Download Page.

Manually

  1. Build the application using:
mvn clean package
  1. Copy the *.war file from the target directory to the deployment directory of your application server e.g. tomcat/webapps or wildfly/standalone/deployments. For a faster 1-click (re-)deployment see the alternatives below.

Apache Tomcat (using Maven AntRun Plugin)

  1. First copy the file build.properties.example to build.properties
  2. Edit the build.properties file and put the path to your Tomcat into deploy.tomcat.dir.
  3. Build and deploy the process application using:
mvn clean package antrun:run

Alternatively, you can also copy the build.properties file to ${user.home}/.camunda/build.properties to have a central configuration that works with all projects generated by the Camunda Maven Archetypes e.g. the examples provided by the Camunda Consulting Team.

Apache Tomcat (using Tomcat Maven Plugin)

  1. Create a user in Tomcat with the role manager-script.
  2. Add the user's credentials to the tomcat7-maven-plugin configuration in the pom.xml file.
  3. Build and deploy the process application using:
mvn clean tomcat7:deploy

Wildfly (using Wildfly Maven Plugin)

  1. Build and deploy the process application using:
mvn clean wildfly:deploy

JBoss AS7 (using JBoss AS Maven Plugin)

  1. Build and deploy the process application using:
mvn clean jboss-as:deploy

Ant (and Maven)

  1. First copy the file build.properties.example to build.properties
  2. Edit the build.properties file and put the path to your application server inside it.
  3. Build and deploy the process application using:
ant deploy.tomcat

or

ant deploy.jboss

Alternatively, you can also copy the build.properties file to ${user.home}/.camunda/build.properties to have a central configuration that works with all projects generated by the Camunda Maven Archetypes e.g. the examples provided by the Camunda Consulting Team.

Run and Inspect with Tasklist and Cockpit

Once you deployed the application you can run it using Camunda Tasklist and inspect it using Camunda Cockpit.

Environment Restrictions

Built and tested against Camunda BPM version 7.11.0.

Known Limitations

License

Apache License, Version 2.0.