使用Maven安装运行JBPM
使用Maven安装运行吧,在你的项目中加入这个pom.xml文件:
<?xml version="1.0" encoding="UTF-8"?>?
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"?
??? xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">?
??? <modelVersion>4.0.0</modelVersion>?
??? <groupId>com.hotct</groupId>?
??? <artifactId>mydemo</artifactId>?
??? <packaging>war</packaging>?
??? <name>jBPM Demo</name>?
??? <version>0.0.1</version>?
??? <description />?
?
??? <properties>?
??????? <jbpm4.version>4.4</jbpm4.version>?
?
??????? <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>?
??? </properties>?
?????
??? <repositories>?
??????? <repository>?
??????????? <id>JBossRepo</id>?
??????????? <name>Jboss</name>?
??????????? <url>http://repository.jboss.com/maven2/</url>?
??????? </repository>?
??? </repositories>?
?
??? <dependencies>?
??????????? <dependency>?
????????? <groupId>org.jbpm.jbpm4</groupId>?
????????? <artifactId>jbpm-jpdl</artifactId>?
????????? <version>${jbpm4.version}</version>?
??????????? <exclusions>?
????????????? <exclusion>?
??????????????? <groupId>juel</groupId>?
??????????????? <artifactId>juel</artifactId>?
????????????? </exclusion>?
??????????? </exclusions>?
??????? </dependency>?
??????? <dependency>?
????????? <groupId>org.jbpm.jbpm4</groupId>?
????????? <artifactId>jbpm-api</artifactId>?
????????? <version>${jbpm4.version}</version>?
??????? </dependency>?
??????? <dependency>?
????????? <groupId>org.jbpm.jbpm4</groupId>?
????????? <artifactId>jbpm-jpdl</artifactId>?
????????? <version>${jbpm4.version}</version>?
??????? </dependency>?
??????? <dependency>?
????????? <groupId>org.jbpm.jbpm4</groupId>?
????????? <artifactId>jbpm-log</artifactId>?
????????? <version>${jbpm4.version}</version>?
??????? </dependency>?
??????? <dependency>?
????????? <groupId>org.jbpm.jbpm4</groupId>?
????????? <artifactId>jbpm-pvm</artifactId>?
????????? <version>${jbpm4.version}</version>?
??????? </dependency>?
??? </dependencies>?
</project>
?
运行mvn package即可