This is a useful plugin intended to be used with JBPM projects. The most important feature is the ability to deploy process directly to the jbpm database without the need of the runnig servlet provided with the jbpm-console. It's particulary useful for automating deployment scenarios (move-to-production, etc) of the Build system, as it no more requires manipulation from IDE (like the JBPM plugin for Eclipse and its deployment screen).
prerequisites
- Maven 2.0.9
- Jboss JBPM 3.2.3 (version 1.0.0 targetted this version of JBPM)
- The plugin is best used with JBPM projects generated via the JBPM Archetype, where it requires no extra configuration (see Archetype below)
Setup and usage
The follwing page
gives more details about using the JBPM maven plugin
Working with Jboss JBPM in conjunction with maven could be made simpler and easier when using this little useful maven archetype to generate starting-block jbpm projects. I built this artifact on top of the skeleton project generate under Eclipse by the Jboss JBPM Eclipse plugin, but with much more enhancement.
Features
- Junit tests are upgraded to junit 4, and use the hamcrest assertions
- All required configuration files are included and default DataBase is MySQL 5
- There are 2 junit tests : one for testing the process from a local process definition XML, and one for making the same test but loading the process from a Database (this means the process should be deployed in prior)
- Maven dependencies are included, even a C3PO pool connection manager
- No more "default" package. The desired package name for java classes could be chosen when generating the project and the filtering mechanism will applied to java classes packages declarations as well as "class" attribute for Action elements in the process definition.
- It works smoothely with JBPM 3.2.3 (latest stable release) and integrates seamlessly with M2Eclipse maven plugin under Eclipse Ganymede.
- Generated projects are targeting jdk 1.5
prerequisites
- Maven 2.0.9
- Jboss JBPM 3.2.3 Eclipse plugin
- M2Eclipse maven plugin for Eclipse (Optional)