[jbpm-commits] JBoss JBPM SVN: r6503 - in jbpm4/tags: jbpm-4.4 and 26 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Fri Jul 16 19:38:23 EDT 2010


Author: alex.guizar at jboss.com
Date: 2010-07-16 19:38:19 -0400 (Fri, 16 Jul 2010)
New Revision: 6503

Added:
   jbpm4/tags/jbpm-4.4/
   jbpm4/tags/jbpm-4.4/modules/api/pom.xml
   jbpm4/tags/jbpm-4.4/modules/bpmn/pom.xml
   jbpm4/tags/jbpm-4.4/modules/db/pom.xml
   jbpm4/tags/jbpm-4.4/modules/devguide/pom.xml
   jbpm4/tags/jbpm-4.4/modules/distro/pom.xml
   jbpm4/tags/jbpm-4.4/modules/distro/src/main/files/examples/build.xml
   jbpm4/tags/jbpm-4.4/modules/distro/src/main/files/install/build.xml
   jbpm4/tags/jbpm-4.4/modules/distro/src/main/files/install/src/tomcat/server.xml
   jbpm4/tags/jbpm-4.4/modules/enterprise/pom.xml
   jbpm4/tags/jbpm-4.4/modules/examples/pom.xml
   jbpm4/tags/jbpm-4.4/modules/integration/console/pom.xml
   jbpm4/tags/jbpm-4.4/modules/integration/form-plugin/pom.xml
   jbpm4/tags/jbpm-4.4/modules/integration/graphView-plugin/pom.xml
   jbpm4/tags/jbpm-4.4/modules/integration/pom.xml
   jbpm4/tags/jbpm-4.4/modules/integration/report/pom.xml
   jbpm4/tags/jbpm-4.4/modules/integration/tomcat/pom.xml
   jbpm4/tags/jbpm-4.4/modules/jboss/pom.xml
   jbpm4/tags/jbpm-4.4/modules/jpdl/pom.xml
   jbpm4/tags/jbpm-4.4/modules/log/pom.xml
   jbpm4/tags/jbpm-4.4/modules/migration/pom.xml
   jbpm4/tags/jbpm-4.4/modules/pvm/pom.xml
   jbpm4/tags/jbpm-4.4/modules/test-base/pom.xml
   jbpm4/tags/jbpm-4.4/modules/test-db/pom.xml
   jbpm4/tags/jbpm-4.4/modules/test-pojo/pom.xml
   jbpm4/tags/jbpm-4.4/modules/userguide/pom.xml
   jbpm4/tags/jbpm-4.4/pom.xml
   jbpm4/tags/jbpm-4.4/qa/build.xml
   jbpm4/tags/jbpm-4.4/qa/hudson-jbpm4-db.sh
   jbpm4/tags/jbpm-4.4/qa/hudson-jbpm4-enterprise.sh
   jbpm4/tags/jbpm-4.4/qa/hudson-jbpm4-jboss.sh
   jbpm4/tags/jbpm-4.4/qa/hudson-jbpm4-tomcat.sh
   jbpm4/tags/jbpm-4.4/qa/hudson-jbpm4-upgrade.sh
Removed:
   jbpm4/tags/jbpm-4.4/modules/api/pom.xml
   jbpm4/tags/jbpm-4.4/modules/bpmn/pom.xml
   jbpm4/tags/jbpm-4.4/modules/db/pom.xml
   jbpm4/tags/jbpm-4.4/modules/devguide/pom.xml
   jbpm4/tags/jbpm-4.4/modules/distro/pom.xml
   jbpm4/tags/jbpm-4.4/modules/distro/src/main/files/examples/build.xml
   jbpm4/tags/jbpm-4.4/modules/distro/src/main/files/install/build.xml
   jbpm4/tags/jbpm-4.4/modules/distro/src/main/files/install/src/tomcat/server.xml
   jbpm4/tags/jbpm-4.4/modules/enterprise/pom.xml
   jbpm4/tags/jbpm-4.4/modules/examples/pom.xml
   jbpm4/tags/jbpm-4.4/modules/integration/console/pom.xml
   jbpm4/tags/jbpm-4.4/modules/integration/form-plugin/pom.xml
   jbpm4/tags/jbpm-4.4/modules/integration/graphView-plugin/pom.xml
   jbpm4/tags/jbpm-4.4/modules/integration/pom.xml
   jbpm4/tags/jbpm-4.4/modules/integration/report/pom.xml
   jbpm4/tags/jbpm-4.4/modules/integration/tomcat/pom.xml
   jbpm4/tags/jbpm-4.4/modules/jboss/pom.xml
   jbpm4/tags/jbpm-4.4/modules/jpdl/pom.xml
   jbpm4/tags/jbpm-4.4/modules/log/pom.xml
   jbpm4/tags/jbpm-4.4/modules/migration/pom.xml
   jbpm4/tags/jbpm-4.4/modules/pvm/pom.xml
   jbpm4/tags/jbpm-4.4/modules/test-base/pom.xml
   jbpm4/tags/jbpm-4.4/modules/test-db/pom.xml
   jbpm4/tags/jbpm-4.4/modules/test-pojo/pom.xml
   jbpm4/tags/jbpm-4.4/modules/userguide/pom.xml
   jbpm4/tags/jbpm-4.4/pom.xml
   jbpm4/tags/jbpm-4.4/qa/build.xml
   jbpm4/tags/jbpm-4.4/qa/hudson-jbpm4-db.sh
   jbpm4/tags/jbpm-4.4/qa/hudson-jbpm4-enterprise.sh
   jbpm4/tags/jbpm-4.4/qa/hudson-jbpm4-jboss.sh
   jbpm4/tags/jbpm-4.4/qa/hudson-jbpm4-tomcat.sh
   jbpm4/tags/jbpm-4.4/qa/hudson-jbpm4-upgrade.sh
Log:
[maven-release-plugin]  copy for tag jbpm-4.4

Copied: jbpm4/tags/jbpm-4.4 (from rev 6494, jbpm4/trunk)

Deleted: jbpm4/tags/jbpm-4.4/modules/api/pom.xml
===================================================================
--- jbpm4/trunk/modules/api/pom.xml	2010-07-15 11:23:41 UTC (rev 6494)
+++ jbpm4/tags/jbpm-4.4/modules/api/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -1,120 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ====================================================================== -->
-<!--  jBPM: Workflow in Java                                                -->
-<!--                                                                        -->
-<!--  Distributable under LGPL license.                                     -->
-<!--  See terms of license at http://www.gnu.org.                           -->
-<!-- ====================================================================== -->
-
-<!-- $Id$ -->
-
-<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">
-
-  <!-- Module info -->
-  <modelVersion>4.0.0</modelVersion>
-  <name>jBPM 4 - API</name>
-  <groupId>org.jbpm.jbpm4</groupId>
-  <artifactId>jbpm-api</artifactId>
-  <packaging>jar</packaging>
-
-  <!-- Parent -->
-  <parent>
-    <groupId>org.jbpm.jbpm4</groupId>
-    <artifactId>jbpm</artifactId>
-    <version>4.4-SNAPSHOT</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-
-  <!-- Dependencies -->
-  <dependencies>
-    <dependency>
-      <groupId>jboss</groupId>
-      <artifactId>jboss-j2ee</artifactId>
-      <scope>provided</scope>
-    </dependency>
-  </dependencies>
-
-  <!-- Profiles -->
-  <profiles>
-    <profile>
-      <id>docs</id>
-      <build>
-        <plugins>
-          <plugin>
-            <artifactId>maven-javadoc-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>attach-javadocs</id>
-                <goals>
-                  <goal>jar</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-          <plugin>
-            <artifactId>maven-javadoc-plugin</artifactId>
-          </plugin>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-dependency-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>unpack</id>
-                <phase>process-resources</phase>
-                <goals>
-                  <goal>unpack</goal>
-                </goals>
-                <configuration>
-                  <artifactItems>
-                    <artifactItem>
-                      <groupId>org.jbpm.jbpm4.dependencies.xsddoctool</groupId>
-                      <artifactId>xsddoctool</artifactId>
-                      <version>1.0</version>
-                      <type>zip</type>
-                      <outputDirectory>target/xsddoctool</outputDirectory>
-                    </artifactItem>
-                  </artifactItems>
-                </configuration>
-              </execution>
-            </executions>
-          </plugin>
-          <plugin>
-            <artifactId>maven-antrun-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>schemadocs-generation</id>
-                <phase>compile</phase>
-                <goals>
-                  <goal>run</goal>
-                </goals>
-                <configuration>
-                  <tasks>
-                    <java classname="com.docflex.xml.Generator" maxmemory="512m" fork="true">
-                      <classpath>
-                        <pathelement location="target/xsddoctool/xercesImpl.jar" />
-                        <pathelement location="target/xsddoctool/docflex-xml-re.jar" />
-                      </classpath>
-                      <!-- specify the template -->
-                      <arg value="-template" />
-                      <arg value="target/xsddoctool/XSDDoc/FramedDoc.tpl" />
-                      <arg value="-format" />
-                      <arg value="HTML" />
-                      <arg value="-d" />
-                      <arg value="target/schemadocs" />
-                      <arg value="-nodialog" />
-                      <arg value="-launchviewer=false" />
-                      <arg value="-p:docTitle=jPDL 4.0 Schema" />
-                      <arg value="src/main/resources/jpdl-4.0.xsd" />
-                    </java>
-                  </tasks>
-                </configuration>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
-</project>
\ No newline at end of file

Copied: jbpm4/tags/jbpm-4.4/modules/api/pom.xml (from rev 6502, jbpm4/trunk/modules/api/pom.xml)
===================================================================
--- jbpm4/tags/jbpm-4.4/modules/api/pom.xml	                        (rev 0)
+++ jbpm4/tags/jbpm-4.4/modules/api/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -0,0 +1,119 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!--  jBPM: Workflow in Java                                                -->
+<!--                                                                        -->
+<!--  Distributable under LGPL license.                                     -->
+<!--  See terms of license at http://www.gnu.org.                           -->
+<!-- ====================================================================== -->
+
+<!-- $Id$ -->
+
+<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">
+
+  <!-- Module info -->
+  <modelVersion>4.0.0</modelVersion>
+  <name>jBPM 4 - API</name>
+  <groupId>org.jbpm.jbpm4</groupId>
+  <artifactId>jbpm-api</artifactId>
+  <packaging>jar</packaging>
+
+  <!-- Parent -->
+  <parent>
+    <groupId>org.jbpm.jbpm4</groupId>
+    <artifactId>jbpm</artifactId>
+    <version>4.4</version>
+    <relativePath>../../pom.xml</relativePath>
+  </parent>
+
+  <!-- Dependencies -->
+  <dependencies>
+    <dependency>
+      <groupId>jboss</groupId>
+      <artifactId>jboss-j2ee</artifactId>
+      <scope>provided</scope>
+    </dependency>
+  </dependencies>
+
+  <!-- Profiles -->
+  <profiles>
+    <profile>
+      <id>docs</id>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-javadoc-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>attach-javadocs</id>
+                <goals>
+                  <goal>jar</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <artifactId>maven-javadoc-plugin</artifactId>
+          </plugin>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-dependency-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>unpack</id>
+                <phase>process-resources</phase>
+                <goals>
+                  <goal>unpack</goal>
+                </goals>
+                <configuration>
+                  <artifactItems>
+                    <artifactItem>
+                      <groupId>org.jbpm.jbpm4.dependencies.xsddoctool</groupId>
+                      <artifactId>xsddoctool</artifactId>
+                      <version>1.0</version>
+                      <type>zip</type>
+                      <outputDirectory>target/xsddoctool</outputDirectory>
+                    </artifactItem>
+                  </artifactItems>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>schemadocs-generation</id>
+                <phase>compile</phase>
+                <goals>
+                  <goal>run</goal>
+                </goals>
+                <configuration>
+                  <tasks>
+                    <java classname="com.docflex.xml.Generator" maxmemory="512m" fork="true">
+                      <classpath>
+                        <pathelement location="target/xsddoctool/xercesImpl.jar" />
+                        <pathelement location="target/xsddoctool/docflex-xml-re.jar" />
+                      </classpath>
+                      <!-- specify the template -->
+                      <arg value="-template" />
+                      <arg value="target/xsddoctool/XSDDoc/FramedDoc.tpl" />
+                      <arg value="-format" />
+                      <arg value="HTML" />
+                      <arg value="-d" />
+                      <arg value="target/schemadocs" />
+                      <arg value="-nodialog" />
+                      <arg value="-launchviewer=false" />
+                      <arg value="-p:docTitle=jPDL 4.0 Schema" />
+                      <arg value="src/main/resources/jpdl-4.0.xsd" />
+                    </java>
+                  </tasks>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+</project>
\ No newline at end of file

Deleted: jbpm4/tags/jbpm-4.4/modules/bpmn/pom.xml
===================================================================
--- jbpm4/trunk/modules/bpmn/pom.xml	2010-07-15 11:23:41 UTC (rev 6494)
+++ jbpm4/tags/jbpm-4.4/modules/bpmn/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -1,81 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ====================================================================== -->
-<!--  jBPM: Workflow in Java                                                -->
-<!--                                                                        -->
-<!--  Distributable under LGPL license.                                     -->
-<!--  See terms of license at http://www.gnu.org.                           -->
-<!-- ====================================================================== -->
-
-<!-- $Id: pom.xml 5246 2009-07-06 11:07:48Z tom.baeyens at jboss.com $ -->
-
-<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">
-
-  <!-- Module Info -->
-  <modelVersion>4.0.0</modelVersion>
-  <name>jBPM 4 - BPMN</name>
-  <groupId>org.jbpm.jbpm4</groupId>
-  <artifactId>jbpm-bpmn</artifactId>
-  <packaging>jar</packaging>
-
-  <!-- Parent -->
-  <parent>
-    <groupId>org.jbpm.jbpm4</groupId>
-    <artifactId>jbpm</artifactId>
-    <version>4.4-SNAPSHOT</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-
-  <!-- Dependencies -->
-  <dependencies>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-pvm</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.beanshell</groupId>
-      <artifactId>bsh</artifactId>
-      <version>2.0b4</version>
-    </dependency>
-    <!-- 3rd Party -->
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-    </dependency>
-  </dependencies>
-
-  <!-- Plugins -->
-  <build>
-    <plugins>
-      <plugin>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <configuration>
-          <excludes>
-            <exclude>org/jbpm/test/xml/DbGenTest.java</exclude>
-          </excludes>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-
-  <!-- Profiles -->
-  <profiles>
-    <!--
-      skip tests if this is an integration test run (only examples and test-db are part of the
-      integration test runs)
-    -->
-    <profile>
-      <id>integration.test</id>
-      <activation>
-        <property>
-          <name>bind.address</name>
-        </property>
-      </activation>
-      <properties>
-        <skipTests>true</skipTests>
-      </properties>
-    </profile>
-  </profiles>
-</project>
\ No newline at end of file

Copied: jbpm4/tags/jbpm-4.4/modules/bpmn/pom.xml (from rev 6502, jbpm4/trunk/modules/bpmn/pom.xml)
===================================================================
--- jbpm4/tags/jbpm-4.4/modules/bpmn/pom.xml	                        (rev 0)
+++ jbpm4/tags/jbpm-4.4/modules/bpmn/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!--  jBPM: Workflow in Java                                                -->
+<!--                                                                        -->
+<!--  Distributable under LGPL license.                                     -->
+<!--  See terms of license at http://www.gnu.org.                           -->
+<!-- ====================================================================== -->
+
+<!-- $Id: pom.xml 5246 2009-07-06 11:07:48Z tom.baeyens at jboss.com $ -->
+
+<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">
+
+  <!-- Module Info -->
+  <modelVersion>4.0.0</modelVersion>
+  <name>jBPM 4 - BPMN</name>
+  <groupId>org.jbpm.jbpm4</groupId>
+  <artifactId>jbpm-bpmn</artifactId>
+  <packaging>jar</packaging>
+
+  <!-- Parent -->
+  <parent>
+    <groupId>org.jbpm.jbpm4</groupId>
+    <artifactId>jbpm</artifactId>
+    <version>4.4</version>
+    <relativePath>../../pom.xml</relativePath>
+  </parent>
+
+  <!-- Dependencies -->
+  <dependencies>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-pvm</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.beanshell</groupId>
+      <artifactId>bsh</artifactId>
+      <version>2.0b4</version>
+    </dependency>
+    <!-- 3rd Party -->
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+    </dependency>
+  </dependencies>
+
+  <!-- Plugins -->
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <excludes>
+            <exclude>org/jbpm/test/xml/DbGenTest.java</exclude>
+          </excludes>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
+  <!-- Profiles -->
+  <profiles>
+    <!--
+      skip tests if this is an integration test run (only examples and test-db are part of the
+      integration test runs)
+    -->
+    <profile>
+      <id>integration.test</id>
+      <activation>
+        <property>
+          <name>bind.address</name>
+        </property>
+      </activation>
+      <properties>
+        <skipTests>true</skipTests>
+      </properties>
+    </profile>
+  </profiles>
+</project>
\ No newline at end of file

Deleted: jbpm4/tags/jbpm-4.4/modules/db/pom.xml
===================================================================
--- jbpm4/trunk/modules/db/pom.xml	2010-07-15 11:23:41 UTC (rev 6494)
+++ jbpm4/tags/jbpm-4.4/modules/db/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -1,165 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ====================================================================== -->
-<!--                                                                        -->
-<!--  JBoss, the OpenSource J2EE webOS                                      -->
-<!--                                                                        -->
-<!--  Distributable under LGPL license.                                     -->
-<!--  See terms of license at http://www.gnu.org.                           -->
-<!--                                                                        -->
-<!-- ====================================================================== -->
-
-<!-- $Id: pom.xml 3010 2008-11-20 08:30:16Z tom.baeyens at jboss.com $ -->
-<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">
-
-  <!-- Module Info -->
-  <modelVersion>4.0.0</modelVersion>
-  <name>jBPM 4 - DB</name>
-  <groupId>org.jbpm.jbpm4</groupId>
-  <artifactId>jbpm-db</artifactId>
-  <packaging>jar</packaging>
-
-  <!-- Parent -->
-  <parent>
-    <groupId>org.jbpm.jbpm4</groupId>
-    <artifactId>jbpm</artifactId>
-    <version>4.4-SNAPSHOT</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-
-  <profiles>
-    <profile>
-      <id>schema</id>
-      <build>
-        <plugins>
-          <plugin>
-            <artifactId>maven-antrun-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>create-drop-script</id>
-                <phase>generate-resources</phase>
-                <goals>
-                  <goal>run</goal>
-                </goals>
-                <configuration>
-                  <tasks>
-                    <property name="project.output.dir" value="${project.build.outputDirectory}" />
-                    <ant antfile="scripts/antrun-schema.xml" target="create-schema" inheritRefs="yes" />
-                  </tasks>
-                </configuration>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-
-    <profile>
-      <id>upgrade</id>
-      <activation>
-        <property>
-          <name>old.version</name>
-        </property>
-      </activation>
-
-      <properties>
-        <old.scripts.directory>${project.build.directory}/create-drop-${old.version}</old.scripts.directory>
-      </properties>
-
-      <dependencies>
-        <dependency>
-          <groupId>com.oracle</groupId>
-          <artifactId>ojdbc14</artifactId>
-          <version>${oracle.version}</version>
-          <scope>compile</scope>
-        </dependency>
-      </dependencies>
-
-      <repositories>
-        <repository>
-          <id>qa.jboss.com</id>
-          <url>http://www.qa.jboss.com/jdbc-drivers/maven2</url>
-        </repository>
-      </repositories>
-
-      <build>
-        <plugins>
-
-          <plugin>
-            <artifactId>maven-dependency-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>previous-version</id>
-                <phase>generate-resources</phase>
-                <goals>
-                  <goal>unpack</goal>
-                </goals>
-                <configuration>
-                  <artifactItems>
-                    <artifactItem>
-                      <groupId>org.jbpm.jbpm4</groupId>
-                      <artifactId>jbpm-db</artifactId>
-                      <version>${old.version}</version>
-                    </artifactItem>
-                  </artifactItems>
-                  <outputDirectory>${old.scripts.directory}</outputDirectory>
-                </configuration>
-              </execution>
-            </executions>
-          </plugin>
-
-          <plugin>
-            <artifactId>maven-antrun-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>upgrade-script</id>
-                <phase>compile</phase>
-                <goals>
-                  <goal>run</goal>
-                </goals>
-                <configuration>
-                  <tasks>
-                    <!-- keep directory properties, explicit paths are bad practice -->
-                    <property name="project.output.dir" value="${project.build.outputDirectory}" />
-                    <property name="old.scripts.dir" value="${old.scripts.directory}"/>
-                    <!-- upgrade scripts could be written to distro directly -->
-                    <property name="upgrade.scripts.dir"
-                      value="${project.build.directory}/upgrade-${old.version}-to-${project.version}" />
-                    <!-- for some reason that i don't get, the user.home must be passed explicitly -->
-                    <property name="user.home" value="${user.home}" />
-                    <ant antfile="scripts/antrun-schema.xml" target="schema-upgrade"
-                      inheritRefs="yes" />
-                  </tasks>
-                </configuration>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-    
-  </profiles>
-
-  <!-- Dependencies -->
-  <dependencies>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-jpdl</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>hsqldb</groupId>
-      <artifactId>hsqldb</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>mysql</groupId>
-      <artifactId>mysql-connector-java</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>postgresql</groupId>
-      <artifactId>postgresql</artifactId>
-    </dependency>
-  </dependencies>
-
-
-</project>
\ No newline at end of file

Copied: jbpm4/tags/jbpm-4.4/modules/db/pom.xml (from rev 6502, jbpm4/trunk/modules/db/pom.xml)
===================================================================
--- jbpm4/tags/jbpm-4.4/modules/db/pom.xml	                        (rev 0)
+++ jbpm4/tags/jbpm-4.4/modules/db/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -0,0 +1,162 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!--                                                                        -->
+<!--  JBoss, the OpenSource J2EE webOS                                      -->
+<!--                                                                        -->
+<!--  Distributable under LGPL license.                                     -->
+<!--  See terms of license at http://www.gnu.org.                           -->
+<!--                                                                        -->
+<!-- ====================================================================== -->
+
+<!-- $Id: pom.xml 3010 2008-11-20 08:30:16Z tom.baeyens at jboss.com $ -->
+<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">
+
+  <!-- Module Info -->
+  <modelVersion>4.0.0</modelVersion>
+  <name>jBPM 4 - DB</name>
+  <groupId>org.jbpm.jbpm4</groupId>
+  <artifactId>jbpm-db</artifactId>
+  <packaging>jar</packaging>
+
+  <!-- Parent -->
+  <parent>
+    <groupId>org.jbpm.jbpm4</groupId>
+    <artifactId>jbpm</artifactId>
+    <version>4.4</version>
+    <relativePath>../../pom.xml</relativePath>
+  </parent>
+
+  <profiles>
+    <profile>
+      <id>schema</id>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>create-drop-script</id>
+                <phase>generate-resources</phase>
+                <goals>
+                  <goal>run</goal>
+                </goals>
+                <configuration>
+                  <tasks>
+                    <property name="project.output.dir" value="${project.build.outputDirectory}" />
+                    <ant antfile="scripts/antrun-schema.xml" target="create-schema" inheritRefs="yes" />
+                  </tasks>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+
+    <profile>
+      <id>upgrade</id>
+      <activation>
+        <property>
+          <name>old.version</name>
+        </property>
+      </activation>
+
+      <properties>
+        <old.scripts.directory>${project.build.directory}/create-drop-${old.version}</old.scripts.directory>
+      </properties>
+
+      <dependencies>
+        <dependency>
+          <groupId>com.oracle</groupId>
+          <artifactId>ojdbc14</artifactId>
+          <version>${oracle.version}</version>
+          <scope>compile</scope>
+        </dependency>
+      </dependencies>
+
+      <repositories>
+        <repository>
+          <id>qa.jboss.com</id>
+          <url>http://www.qa.jboss.com/jdbc-drivers/maven2</url>
+        </repository>
+      </repositories>
+
+      <build>
+        <plugins>
+
+          <plugin>
+            <artifactId>maven-dependency-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>previous-version</id>
+                <phase>generate-resources</phase>
+                <goals>
+                  <goal>unpack</goal>
+                </goals>
+                <configuration>
+                  <artifactItems>
+                    <artifactItem>
+                      <groupId>org.jbpm.jbpm4</groupId>
+                      <artifactId>jbpm-db</artifactId>
+                      <version>${old.version}</version>
+                    </artifactItem>
+                  </artifactItems>
+                  <outputDirectory>${old.scripts.directory}</outputDirectory>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+
+          <plugin>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>upgrade-script</id>
+                <phase>compile</phase>
+                <goals>
+                  <goal>run</goal>
+                </goals>
+                <configuration>
+                  <tasks>
+                    <!-- keep directory properties, explicit paths are bad practice -->
+                    <property name="project.output.dir" value="${project.build.outputDirectory}" />
+                    <property name="old.scripts.dir" value="${old.scripts.directory}" />
+                    <!-- upgrade scripts could be written to distro directly -->
+                    <property name="upgrade.scripts.dir" value="${project.build.directory}/upgrade-${old.version}-to-${project.version}" />
+                    <!-- for some reason that i don't get, the user.home must be passed explicitly -->
+                    <property name="user.home" value="${user.home}" />
+                    <ant antfile="scripts/antrun-schema.xml" target="schema-upgrade" inheritRefs="yes" />
+                  </tasks>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+    
+  </profiles>
+
+  <!-- Dependencies -->
+  <dependencies>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-jpdl</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>hsqldb</groupId>
+      <artifactId>hsqldb</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>mysql</groupId>
+      <artifactId>mysql-connector-java</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>postgresql</groupId>
+      <artifactId>postgresql</artifactId>
+    </dependency>
+  </dependencies>
+
+
+</project>
\ No newline at end of file

Deleted: jbpm4/tags/jbpm-4.4/modules/devguide/pom.xml
===================================================================
--- jbpm4/trunk/modules/devguide/pom.xml	2010-07-15 11:23:41 UTC (rev 6494)
+++ jbpm4/tags/jbpm-4.4/modules/devguide/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -1,99 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-  <!-- ====================================================================== -->
-  <!--                                                                        -->
-  <!--  JBoss, the OpenSource J2EE webOS                                      -->
-  <!--                                                                        -->
-  <!--  Distributable under LGPL license.                                     -->
-  <!--  See terms of license at http://www.gnu.org.                           -->
-  <!--                                                                        -->
-  <!-- ====================================================================== -->
-
-  <!-- $Id: pom.xml 2693 2008-10-31 09:12:32Z tom.baeyens at jboss.com $ -->
-
-<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>
-
-  <name>jBPM 4 - Developers Guide</name>
-  <groupId>org.jbpm.jbpm4</groupId>
-  <artifactId>jbpm-devguide</artifactId>
-  <packaging>pom</packaging>
-
-  <!-- Parent -->
-  <parent>
-    <groupId>org.jbpm.jbpm4</groupId>
-    <artifactId>jbpm</artifactId>
-    <version>4.4-SNAPSHOT</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-
-  <dependencies>
-    <!-- 
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-pvm</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    -->
-  </dependencies>
-
-  <build>
-    <!-- ### PLUGINS ###################################################### -->
-    <plugins>
-
-      <plugin>
-        <groupId>org.jboss.maven.plugins</groupId>
-        <artifactId>maven-jdocbook-plugin</artifactId>
-        <version>2.1.2</version>
-        <extensions>true</extensions>
-
-        <executions>
-          <execution>
-            <phase>package</phase>
-            <goals>
-              <goal>resources</goal>
-              <goal>generate</goal>
-            </goals>
-          </execution>
-         </executions>
-
-        <dependencies>
-          <dependency>
-            <groupId>org.jboss</groupId>
-            <artifactId>jbossorg-docbook-xslt</artifactId>
-            <version>1.1.0</version>
-          </dependency>
-          <dependency>
-            <groupId>org.jbpm.jbpm4</groupId>
-            <artifactId>docbook-style</artifactId>
-            <version>1.0.0</version>
-            <type>jdocbook-style</type>
-          </dependency>
-        </dependencies>
-
-        <configuration>
-          <sourceDocumentName>master.xml</sourceDocumentName>
-          <masterTranslation>en</masterTranslation>
-          <imageResource>
-            <directory>${basedir}/src/main/docbook/en</directory>
-            <includes>
-              <include>images/*.png</include>
-            </includes>
-          </imageResource>
-          <formats>
-            <format>
-              <formatName>html_single</formatName>
-              <stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
-              <finalName>index.html</finalName>
-            </format>
-          </formats>
-        </configuration>
-
-      </plugin>
-
-    </plugins>
-  </build>
-
-</project>
\ No newline at end of file

Copied: jbpm4/tags/jbpm-4.4/modules/devguide/pom.xml (from rev 6502, jbpm4/trunk/modules/devguide/pom.xml)
===================================================================
--- jbpm4/tags/jbpm-4.4/modules/devguide/pom.xml	                        (rev 0)
+++ jbpm4/tags/jbpm-4.4/modules/devguide/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+  <!-- ====================================================================== -->
+  <!--                                                                        -->
+  <!--  JBoss, the OpenSource J2EE webOS                                      -->
+  <!--                                                                        -->
+  <!--  Distributable under LGPL license.                                     -->
+  <!--  See terms of license at http://www.gnu.org.                           -->
+  <!--                                                                        -->
+  <!-- ====================================================================== -->
+
+  <!-- $Id: pom.xml 2693 2008-10-31 09:12:32Z tom.baeyens at jboss.com $ -->
+
+<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>
+
+  <name>jBPM 4 - Developers Guide</name>
+  <groupId>org.jbpm.jbpm4</groupId>
+  <artifactId>jbpm-devguide</artifactId>
+  <packaging>pom</packaging>
+
+  <!-- Parent -->
+  <parent>
+    <groupId>org.jbpm.jbpm4</groupId>
+    <artifactId>jbpm</artifactId>
+    <version>4.4</version>
+    <relativePath>../../pom.xml</relativePath>
+  </parent>
+
+  <dependencies>
+    <!-- 
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-pvm</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    -->
+  </dependencies>
+
+  <build>
+    <!-- ### PLUGINS ###################################################### -->
+    <plugins>
+
+      <plugin>
+        <groupId>org.jboss.maven.plugins</groupId>
+        <artifactId>maven-jdocbook-plugin</artifactId>
+        <version>2.1.2</version>
+        <extensions>true</extensions>
+
+        <executions>
+          <execution>
+            <phase>package</phase>
+            <goals>
+              <goal>resources</goal>
+              <goal>generate</goal>
+            </goals>
+          </execution>
+         </executions>
+
+        <dependencies>
+          <dependency>
+            <groupId>org.jboss</groupId>
+            <artifactId>jbossorg-docbook-xslt</artifactId>
+            <version>1.1.0</version>
+          </dependency>
+          <dependency>
+            <groupId>org.jbpm.jbpm4</groupId>
+            <artifactId>docbook-style</artifactId>
+            <version>1.0.0</version>
+            <type>jdocbook-style</type>
+          </dependency>
+        </dependencies>
+
+        <configuration>
+          <sourceDocumentName>master.xml</sourceDocumentName>
+          <masterTranslation>en</masterTranslation>
+          <imageResource>
+            <directory>${basedir}/src/main/docbook/en</directory>
+            <includes>
+              <include>images/*.png</include>
+            </includes>
+          </imageResource>
+          <formats>
+            <format>
+              <formatName>html_single</formatName>
+              <stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
+              <finalName>index.html</finalName>
+            </format>
+          </formats>
+        </configuration>
+
+      </plugin>
+
+    </plugins>
+  </build>
+
+</project>
\ No newline at end of file

Deleted: jbpm4/tags/jbpm-4.4/modules/distro/pom.xml
===================================================================
--- jbpm4/trunk/modules/distro/pom.xml	2010-07-15 11:23:41 UTC (rev 6494)
+++ jbpm4/tags/jbpm-4.4/modules/distro/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -1,235 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ====================================================================== -->
-<!--  jBPM: Workflow in Java                                                -->
-<!--                                                                        -->
-<!--  Distributable under LGPL license.                                     -->
-<!--  See terms of license at http://www.gnu.org.                           -->
-<!-- ====================================================================== -->
-
-<!-- $Id$ -->
-
-<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>
-  <name>jBPM 4 - Distro</name>
-  <groupId>org.jbpm.jbpm4</groupId>
-  <artifactId>jbpm-distro</artifactId>
-
-  <!-- Parent -->
-  <parent>
-    <groupId>org.jbpm.jbpm4</groupId>
-    <artifactId>jbpm</artifactId>
-    <version>4.4-SNAPSHOT</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-  
-  <!-- Dependencies -->
-  <dependencies>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-api</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-examples</artifactId>
-      <classifier>tests</classifier>
-    </dependency>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-db</artifactId>      
-    </dependency>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-enterprise</artifactId>      
-    </dependency>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-console-integration</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-console-form-plugin</artifactId>
-    </dependency>
-     <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-console-graphView-plugin</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-console-reports</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-jboss</artifactId>      
-    </dependency>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-tomcat6</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-jpdl</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-bpmn</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-gpd</artifactId>
-      <type>zip</type>
-    </dependency>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-log</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-pvm</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-test-db</artifactId>
-      <classifier>tests</classifier>
-    </dependency>
-    <dependency>
-      <groupId>org.eclipse.birt</groupId>
-      <artifactId>report-engine</artifactId>
-      <type>zip</type>
-    </dependency>
-    <dependency>
-      <groupId>org.freemarker</groupId>
-      <artifactId>freemarker</artifactId>
-    </dependency>
-
-    <dependency>
-      <groupId>hsqldb</groupId>
-      <artifactId>hsqldb</artifactId>
-      <scope>test</scope>
-    </dependency>
-
-    <!-- GWT Console -->
-    <dependency>
-      <groupId>org.jboss.bpm</groupId>
-      <artifactId>gwt-console</artifactId>
-      <classifier>jbpm</classifier>
-      <type>war</type>
-    </dependency>
-    <dependency>
-      <groupId>org.jboss.bpm</groupId>
-      <artifactId>gwt-console-server</artifactId>
-      <classifier>jbpm</classifier>
-      <type>war</type>
-    </dependency>
-    <dependency>
-      <groupId>org.jboss.bpm</groupId>
-      <artifactId>gwt-console-server-integration</artifactId>          
-    </dependency>
-    <dependency>
-      <groupId>org.jboss.bpm</groupId>
-      <artifactId>gwt-console-rpc</artifactId>      
-      <scope>provided</scope>
-    </dependency>
-    
-    <!--  Signavio -->
-    <dependency>
-      <groupId>org.jbpm.jbpm4.dependencies.signavio</groupId>
-      <artifactId>jbpmeditor</artifactId>
-      <type>war</type>
-    </dependency>
-
-    <!-- Database Drivers -->
-    <dependency>
-      <groupId>mysql</groupId>
-      <artifactId>mysql-connector-java</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>postgresql</groupId>
-      <artifactId>postgresql</artifactId>
-    </dependency>
-  </dependencies>
-
-  <!-- Plugins -->
-  <build>
-    <finalName>jbpm-${project.version}</finalName>
-    <plugins>
-      <plugin>
-        <artifactId>maven-assembly-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>create-jbpm-single-jar</id>
-            <phase>process-resources</phase>
-            <goals>
-              <goal>single</goal>
-            </goals>
-            <configuration>
-              <finalName>jbpm</finalName>
-              <ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
-              <appendAssemblyId>false</appendAssemblyId>
-              <descriptors>
-                <descriptor>scripts/assembly-jbpm-single-jar.xml</descriptor>
-              </descriptors>
-            </configuration>
-          </execution>
-
-          <execution>
-            <id>create-distribution-package</id>
-            <phase>package</phase>
-            <goals>
-              <goal>single</goal>
-            </goals>
-            <configuration>
-              <finalName>jbpm-${project.version}</finalName>
-              <ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
-              <appendAssemblyId>false</appendAssemblyId>
-              <descriptors>
-                <descriptor>scripts/assembly-distro.xml</descriptor>
-              </descriptors>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-dependency-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>get.oracle.driver.and.junit.lib</id>
-            <phase>package</phase>
-            <goals>
-              <goal>copy</goal>
-            </goals>
-            <configuration>
-              <artifactItems>
-                <artifactItem>
-                  <groupId>com.oracle</groupId>
-                  <artifactId>ojdbc14</artifactId>
-                  <version>${oracle.version}</version>
-                  <destFileName>ojdbc14.jar</destFileName>
-                </artifactItem>
-                <artifactItem>
-                  <groupId>junit</groupId>
-                  <artifactId>junit</artifactId>
-                  <version>${junit.version}</version>
-                  <destFileName>junit.jar</destFileName>
-                </artifactItem>
-              </artifactItems>
-              <outputDirectory>target/libs</outputDirectory>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-
-  <repositories>
-    <repository>
-      <id>qa.jboss.com</id>
-      <url>http://www.qa.jboss.com/jdbc-drivers/maven2</url>
-    </repository>
-  </repositories>
-</project>

Copied: jbpm4/tags/jbpm-4.4/modules/distro/pom.xml (from rev 6502, jbpm4/trunk/modules/distro/pom.xml)
===================================================================
--- jbpm4/tags/jbpm-4.4/modules/distro/pom.xml	                        (rev 0)
+++ jbpm4/tags/jbpm-4.4/modules/distro/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -0,0 +1,233 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!--  jBPM: Workflow in Java                                                -->
+<!--                                                                        -->
+<!--  Distributable under LGPL license.                                     -->
+<!--  See terms of license at http://www.gnu.org.                           -->
+<!-- ====================================================================== -->
+
+<!-- $Id$ -->
+
+<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>
+  <name>jBPM 4 - Distro</name>
+  <groupId>org.jbpm.jbpm4</groupId>
+  <artifactId>jbpm-distro</artifactId>
+
+  <!-- Parent -->
+  <parent>
+    <groupId>org.jbpm.jbpm4</groupId>
+    <artifactId>jbpm</artifactId>
+    <version>4.4</version>
+    <relativePath>../../pom.xml</relativePath>
+  </parent>
+  
+  <!-- Dependencies -->
+  <dependencies>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-api</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-examples</artifactId>
+      <classifier>tests</classifier>
+    </dependency>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-db</artifactId>      
+    </dependency>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-enterprise</artifactId>      
+    </dependency>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-console-integration</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-console-form-plugin</artifactId>
+    </dependency>
+     <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-console-graphView-plugin</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-console-reports</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-jboss</artifactId>      
+    </dependency>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-tomcat6</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-jpdl</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-bpmn</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-gpd</artifactId>
+      <type>zip</type>
+    </dependency>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-log</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-pvm</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-test-db</artifactId>
+      <classifier>tests</classifier>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.birt</groupId>
+      <artifactId>report-engine</artifactId>
+      <type>zip</type>
+    </dependency>
+    <dependency>
+      <groupId>org.freemarker</groupId>
+      <artifactId>freemarker</artifactId>
+    </dependency>
+
+    <dependency>
+      <groupId>hsqldb</groupId>
+      <artifactId>hsqldb</artifactId>
+      <scope>test</scope>
+    </dependency>
+
+    <!-- GWT Console -->
+    <dependency>
+      <groupId>org.jboss.bpm</groupId>
+      <artifactId>gwt-console</artifactId>
+      <classifier>jbpm</classifier>
+      <type>war</type>
+    </dependency>
+    <dependency>
+      <groupId>org.jboss.bpm</groupId>
+      <artifactId>gwt-console-server</artifactId>
+      <classifier>jbpm</classifier>
+      <type>war</type>
+    </dependency>
+    <dependency>
+      <groupId>org.jboss.bpm</groupId>
+      <artifactId>gwt-console-server-integration</artifactId>          
+    </dependency>
+    <dependency>
+      <groupId>org.jboss.bpm</groupId>
+      <artifactId>gwt-console-rpc</artifactId>      
+      <scope>provided</scope>
+    </dependency>
+    
+    <!--  Signavio -->
+    <dependency>
+      <groupId>org.jbpm.jbpm4.dependencies.signavio</groupId>
+      <artifactId>jbpmeditor</artifactId>
+      <type>war</type>
+    </dependency>
+
+    <!-- Database Drivers -->
+    <dependency>
+      <groupId>mysql</groupId>
+      <artifactId>mysql-connector-java</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>postgresql</groupId>
+      <artifactId>postgresql</artifactId>
+    </dependency>
+  </dependencies>
+
+  <!-- Plugins -->
+  <build>
+    <finalName>jbpm-${project.version}</finalName>
+    <plugins>
+      <plugin>
+        <artifactId>maven-assembly-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>create-jbpm-single-jar</id>
+            <phase>process-resources</phase>
+            <goals>
+              <goal>single</goal>
+            </goals>
+            <configuration>
+              <finalName>jbpm</finalName>
+              <ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
+              <appendAssemblyId>false</appendAssemblyId>
+              <descriptors>
+                <descriptor>scripts/assembly-jbpm-single-jar.xml</descriptor>
+              </descriptors>
+            </configuration>
+          </execution>
+
+          <execution>
+            <id>create-distribution-package</id>
+            <phase>package</phase>
+            <goals>
+              <goal>single</goal>
+            </goals>
+            <configuration>
+              <finalName>jbpm-${project.version}</finalName>
+              <ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
+              <appendAssemblyId>false</appendAssemblyId>
+              <descriptors>
+                <descriptor>scripts/assembly-distro.xml</descriptor>
+              </descriptors>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-dependency-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>get.oracle.driver.and.junit.lib</id>
+            <phase>package</phase>
+            <goals>
+              <goal>copy</goal>
+            </goals>
+            <configuration>
+              <artifactItems>
+                <artifactItem>
+                  <groupId>com.oracle</groupId>
+                  <artifactId>ojdbc14</artifactId>
+                  <version>${oracle.version}</version>
+                  <destFileName>ojdbc14.jar</destFileName>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>junit</groupId>
+                  <artifactId>junit</artifactId>
+                  <version>${junit.version}</version>
+                  <destFileName>junit.jar</destFileName>
+                </artifactItem>
+              </artifactItems>
+              <outputDirectory>target/libs</outputDirectory>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+
+  <repositories>
+    <repository>
+      <id>qa.jboss.com</id>
+      <url>http://www.qa.jboss.com/jdbc-drivers/maven2</url>
+    </repository>
+  </repositories>
+</project>

Deleted: jbpm4/tags/jbpm-4.4/modules/distro/src/main/files/examples/build.xml
===================================================================
--- jbpm4/trunk/modules/distro/src/main/files/examples/build.xml	2010-07-15 11:23:41 UTC (rev 6494)
+++ jbpm4/tags/jbpm-4.4/modules/distro/src/main/files/examples/build.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -1,117 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ====================================================================== -->
-<!--  jBPM: Workflow in Java                                                -->
-<!--                                                                        -->
-<!--  Distributable under LGPL license.                                     -->
-<!--  See terms of license at http://www.gnu.org.                           -->
-<!-- ====================================================================== -->
-
-<!-- $Id$ -->
-
-<project name="jbpm.examples">
-
-  <!-- DEVELOPER SPECIFIC CONFIGURATIONS -->
-  <property file="${user.home}/.jbpm4/build.properties" />
-
-  <!-- DEFAULT PROPERTY VALUES -->
-  <property name="database" value="hsqldb" />
-  <property name="jbpm.parent.dir" value="../.." />
-  <property name="jbpm.version" value="4.4-SNAPSHOT" />
-  <property name="jboss.version" value="5.0.0.GA" />
-  <property name="jbpm.home" value="${jbpm.parent.dir}/jbpm-${jbpm.version}" />
-
-  <!-- JDBC PROPERTIES -->
-  <property file="${user.home}/.jbpm4/jdbc/${database}.properties" />
-  <property file="${jbpm.home}/db/jdbc/${database}.properties" />
-
-  <!-- ### LOG PROPERTIES ################################################# -->
-  <target name="log.properties">
-    <echo message="database: ${database}" />
-    <echo message="jdbc.driver........ ${jdbc.driver}" />
-    <echo message="jdbc.url........... ${jdbc.url}" />
-    <echo message="jdbc.username...... ${jdbc.username}" />
-    <echo message="jbpm.version....... ${jbpm.version}" />
-    <echo message="jbpm.home.......... ${jbpm.home}" />
-  </target>
-
-  <target name="jbpm.libs.path">
-    <path id="jbpm.libs.incl.dependencies">
-      <pathelement location="${jbpm.home}/examples/target/classes" />
-      <pathelement location="${jbpm.home}/jbpm.jar" />
-      <fileset dir="${jbpm.home}/lib" includes="*.jar" />
-    </path>
-  </target>
-
-  <!-- ### DEPLOY EXAMPLE BUSINESS ARCHIVES ############################### -->
-  <target name="create.and.deploy.examples" depends="jbpm.libs.path, examples.jar">
-    <mkdir dir="${jbpm.home}/examples/target" />
-    <copy file="${jbpm.home}/install/src/cfg/hibernate/jdbc/${database}.hibernate.cfg.xml"
-          tofile="${jbpm.home}/examples/target/classes/jbpm.hibernate.cfg.xml"
-          overwrite="true">
-      <filterset filtersfile="${jbpm.home}/install/jdbc/${database}.properties" />
-    </copy>
-    <jar destfile="${jbpm.home}/examples/target/examples.bar">
-      <fileset dir="${jbpm.home}/examples/src">
-        <exclude name="jbpm.cfg.xml" />
-        <exclude name="jbpm.hibernate.cfg.xml" />
-        <exclude name="jbpm.mail.properties" />
-        <exclude name="jbpm.mail.templates.xml" />
-        <exclude name="logging.properties" />
-        <exclude name="org/jbpm/examples/task/swimlane/process.jpdl.xml" />
-        <exclude name="org/jbpm/examples/task/candidates/process.jpdl.xml" />
-        <exclude name="org/jbpm/examples/concurrency/graphbased/process.jpdl.xml" />
-        <exclude name="org/jbpm/examples/timer/repeat/process.jpdl.xml" />
-        <exclude name="org/jbpm/examples/script/text/process.jpdl.xml" />
-        <exclude name="org/jbpm/examples/decision/handler/process.jpdl.xml" />
-        <exclude name="org/jbpm/examples/mail/template/process.jpdl.xml" />
-        <exclude name="org/jbpm/examples/script/expression/process.jpdl.xml" />
-        <exclude name="org/jbpm/examples/task/assignee/process.jpdl.xml" />
-        <exclude name="org/jbpm/examples/mail/inline/process.jpdl.xml" />
-        <exclude name="org/jbpm/examples/mail/template/process.jpdl.xml" />
-        <exclude name="org/jbpm/examples/eventlistener/process.jpdl.xml" />
-        <exclude name="org/jbpm/examples/timer/event/process.jpdl.xml" />
-        <exclude name="org/jbpm/examples/task/assignmenthandler/process.jpdl.xml" />
-        <exclude name="org/jbpm/examples/java/JavaInstantiateTest.java" />
-        <exclude name="org/jbpm/examples/decision/conditions/process.jpdl.xml" />
-        <exclude name="org/jbpm/examples/decision/expression/process.jpdl.xml" />
-        <exclude name="org/jbpm/examples/java/process.jpdl.xml" />
-        <exclude name="org/jbpm/examples/task/notification process.jpdl.xml" />
-        <exclude name="org/jbpm/examples/task/reminder process.jpdl.xml" />
-        <exclude name="org/jbpm/examples/rulesdecision/process.jpdl.xml" />
-        <exclude name="org/jbpm/examples/task/notification/process.jpdl.xml" />
-        <exclude name="org/jbpm/examples/task/reminder/process.jpdl.xml" />
-        <exclude name="org/jbpm/examples/bpmn/event/terminateend/terminate_end_event.bpmn.xml" />
-        <exclude name="org/jbpm/examples/bpmn/gateway/exclusive/exclusive_gateway.bpmn.xml" />
-        <exclude name="org/jbpm/examples/bpmn/gateway/exclusive/exclusive_gateway_default_seq_flow.bpmn.xml" />
-        <exclude name="org/jbpm/examples/bpmn/gateway/parallel/parallel_gateway.bpmn.xml" />
-        <exclude name="org/jbpm/examples/bpmn/task/service/service_task_java.bpmn.xml" />
-        <exclude name="org/jbpm/examples/bpmn/task/usertask/user_task_human_performer_variable.bpmn.xml" />
-        <exclude name="org/jbpm/examples/bpmn/task/script/script_task.bpmn.xml" />
-      </fileset>
-    </jar>
-    <taskdef name="jbpm-deploy"
-             classname="org.jbpm.pvm.internal.ant.JbpmDeployTask"
-             classpathref="jbpm.libs.incl.dependencies" />
-    <jbpm-deploy file="${jbpm.home}/examples/target/examples.bar" />
-  </target>
-
-  <target name="examples.jar" depends="jbpm.libs.path">
-    <mkdir dir="${jbpm.home}/examples/target/classes" />
-    <javac srcdir="${jbpm.home}/examples/src"
-           destdir="${jbpm.home}/examples/target/classes"
-           source="1.5"
-           classpathref="jbpm.libs.incl.dependencies" />
-    <copy todir="${jbpm.home}/examples/target/classes">
-      <fileset dir="${jbpm.home}/examples/src">
-        <exclude name="**/*.java" />
-      </fileset>
-    </copy>
-    <jar destfile="${jbpm.home}/examples/target/examples.jar">
-      <fileset dir="${jbpm.home}/examples/target/classes">
-        <include name="**/*.class" />
-      </fileset>
-    </jar>
-  </target>
-
-</project>

Copied: jbpm4/tags/jbpm-4.4/modules/distro/src/main/files/examples/build.xml (from rev 6500, jbpm4/trunk/modules/distro/src/main/files/examples/build.xml)
===================================================================
--- jbpm4/tags/jbpm-4.4/modules/distro/src/main/files/examples/build.xml	                        (rev 0)
+++ jbpm4/tags/jbpm-4.4/modules/distro/src/main/files/examples/build.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -0,0 +1,116 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!--  jBPM: Workflow in Java                                                -->
+<!--                                                                        -->
+<!--  Distributable under LGPL license.                                     -->
+<!--  See terms of license at http://www.gnu.org.                           -->
+<!-- ====================================================================== -->
+
+<!-- $Id$ -->
+
+<project name="jbpm.examples">
+
+  <!-- DEVELOPER SPECIFIC CONFIGURATIONS -->
+  <property file="${user.home}/.jbpm4/build.properties" />
+
+  <!-- DEFAULT PROPERTY VALUES -->
+  <property name="database" value="hsqldb" />
+  <property name="jboss.version" value="5.1.0.GA" />
+  <condition property="jbpm.home" value="${jbpm.parent.dir}/jbpm-4.x" else="${basedir}/..">
+    <isset property="jbpm.parent.dir" />
+  </condition>
+
+  <!-- JDBC PROPERTIES -->
+  <property file="${user.home}/.jbpm4/jdbc/${database}.properties" />
+  <property file="${jbpm.home}/db/jdbc/${database}.properties" />
+
+  <!-- ### LOG PROPERTIES ################################################# -->
+  <target name="log.properties">
+    <echo message="database: ${database}" />
+    <echo message="jdbc.driver........ ${jdbc.driver}" />
+    <echo message="jdbc.url........... ${jdbc.url}" />
+    <echo message="jdbc.username...... ${jdbc.username}" />
+    <echo message="jbpm.home.......... ${jbpm.home}" />
+  </target>
+
+  <target name="jbpm.libs.path">
+    <path id="jbpm.libs.incl.dependencies">
+      <pathelement location="${jbpm.home}/examples/target/classes" />
+      <pathelement location="${jbpm.home}/jbpm.jar" />
+      <fileset dir="${jbpm.home}/lib" includes="*.jar" />
+    </path>
+  </target>
+
+  <!-- ### DEPLOY EXAMPLE BUSINESS ARCHIVES ############################### -->
+  <target name="create.and.deploy.examples" depends="jbpm.libs.path, examples.jar">
+    <mkdir dir="${jbpm.home}/examples/target" />
+    <copy file="${jbpm.home}/install/src/cfg/hibernate/jdbc/${database}.hibernate.cfg.xml"
+          tofile="${jbpm.home}/examples/target/classes/jbpm.hibernate.cfg.xml"
+          overwrite="true">
+      <filterset filtersfile="${jbpm.home}/install/jdbc/${database}.properties" />
+    </copy>
+    <jar destfile="${jbpm.home}/examples/target/examples.bar">
+      <fileset dir="${jbpm.home}/examples/src">
+        <exclude name="jbpm.cfg.xml" />
+        <exclude name="jbpm.hibernate.cfg.xml" />
+        <exclude name="jbpm.mail.properties" />
+        <exclude name="jbpm.mail.templates.xml" />
+        <exclude name="logging.properties" />
+        <exclude name="org/jbpm/examples/task/swimlane/process.jpdl.xml" />
+        <exclude name="org/jbpm/examples/task/candidates/process.jpdl.xml" />
+        <exclude name="org/jbpm/examples/concurrency/graphbased/process.jpdl.xml" />
+        <exclude name="org/jbpm/examples/timer/repeat/process.jpdl.xml" />
+        <exclude name="org/jbpm/examples/script/text/process.jpdl.xml" />
+        <exclude name="org/jbpm/examples/decision/handler/process.jpdl.xml" />
+        <exclude name="org/jbpm/examples/mail/template/process.jpdl.xml" />
+        <exclude name="org/jbpm/examples/script/expression/process.jpdl.xml" />
+        <exclude name="org/jbpm/examples/task/assignee/process.jpdl.xml" />
+        <exclude name="org/jbpm/examples/mail/inline/process.jpdl.xml" />
+        <exclude name="org/jbpm/examples/mail/template/process.jpdl.xml" />
+        <exclude name="org/jbpm/examples/eventlistener/process.jpdl.xml" />
+        <exclude name="org/jbpm/examples/timer/event/process.jpdl.xml" />
+        <exclude name="org/jbpm/examples/task/assignmenthandler/process.jpdl.xml" />
+        <exclude name="org/jbpm/examples/java/JavaInstantiateTest.java" />
+        <exclude name="org/jbpm/examples/decision/conditions/process.jpdl.xml" />
+        <exclude name="org/jbpm/examples/decision/expression/process.jpdl.xml" />
+        <exclude name="org/jbpm/examples/java/process.jpdl.xml" />
+        <exclude name="org/jbpm/examples/task/notification process.jpdl.xml" />
+        <exclude name="org/jbpm/examples/task/reminder process.jpdl.xml" />
+        <exclude name="org/jbpm/examples/rulesdecision/process.jpdl.xml" />
+        <exclude name="org/jbpm/examples/task/notification/process.jpdl.xml" />
+        <exclude name="org/jbpm/examples/task/reminder/process.jpdl.xml" />
+        <exclude name="org/jbpm/examples/bpmn/event/terminateend/terminate_end_event.bpmn.xml" />
+        <exclude name="org/jbpm/examples/bpmn/gateway/exclusive/exclusive_gateway.bpmn.xml" />
+        <exclude name="org/jbpm/examples/bpmn/gateway/exclusive/exclusive_gateway_default_seq_flow.bpmn.xml" />
+        <exclude name="org/jbpm/examples/bpmn/gateway/parallel/parallel_gateway.bpmn.xml" />
+        <exclude name="org/jbpm/examples/bpmn/task/service/service_task_java.bpmn.xml" />
+        <exclude name="org/jbpm/examples/bpmn/task/usertask/user_task_human_performer_variable.bpmn.xml" />
+        <exclude name="org/jbpm/examples/bpmn/task/script/script_task.bpmn.xml" />
+      </fileset>
+    </jar>
+    <taskdef name="jbpm-deploy"
+             classname="org.jbpm.pvm.internal.ant.JbpmDeployTask"
+             classpathref="jbpm.libs.incl.dependencies" />
+    <jbpm-deploy file="${jbpm.home}/examples/target/examples.bar" />
+  </target>
+
+  <target name="examples.jar" depends="jbpm.libs.path">
+    <mkdir dir="${jbpm.home}/examples/target/classes" />
+    <javac srcdir="${jbpm.home}/examples/src"
+           destdir="${jbpm.home}/examples/target/classes"
+           source="1.5"
+           classpathref="jbpm.libs.incl.dependencies" />
+    <copy todir="${jbpm.home}/examples/target/classes">
+      <fileset dir="${jbpm.home}/examples/src">
+        <exclude name="**/*.java" />
+      </fileset>
+    </copy>
+    <jar destfile="${jbpm.home}/examples/target/examples.jar">
+      <fileset dir="${jbpm.home}/examples/target/classes">
+        <include name="**/*.class" />
+      </fileset>
+    </jar>
+  </target>
+
+</project>

Deleted: jbpm4/tags/jbpm-4.4/modules/distro/src/main/files/install/build.xml
===================================================================
--- jbpm4/trunk/modules/distro/src/main/files/install/build.xml	2010-07-15 11:23:41 UTC (rev 6494)
+++ jbpm4/tags/jbpm-4.4/modules/distro/src/main/files/install/build.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -1,944 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ====================================================================== -->
-<!--  jBPM: Workflow in Java                                                -->
-<!--                                                                        -->
-<!--  Distributable under LGPL license.                                     -->
-<!--  See terms of license at http://www.gnu.org.                           -->
-<!-- ====================================================================== -->
-
-<!-- $Id$ -->
-
-<project name="jbpm.install">
-
-  <!-- DEVELOPER SPECIFIC CONFIGURATIONS -->
-  <property file="${user.home}/.jbpm4/build.properties" />
-
-  <!-- USER CUSTOMIZABLE PROPERTIES -->
-  <!-- {hsqldb | mysql | oracle | postgresql} -->
-  <property name="database" value="hsqldb" />
-  <!-- {standalone | jta | spring} -->
-  <property name="tx" value="standalone" />
-
-  <!-- INTERNAL PROPERTY DEFAULTS -->
-  <property name="jbpm.version" value="4.4-SNAPSHOT" />
-  <property name="jbpm.parent.dir" value="../.." />
-  <property name="jbpm.home" value="${jbpm.parent.dir}/jbpm-${jbpm.version}" />
-  <!-- jdbc | datasource -->
-  <property name="hibernate.connection.type" value="jdbc" />
-  <!-- jdk | none -->
-  <property name="logging" value="jdk" />
-  <property name="cfg.dest.dir" value="${jbpm.home}/install/generated/cfg" />
-  <property name="install.src.dir" value="${jbpm.home}/install/src" />
-  <!-- default | testsuite -->
-  <property name="mail.cfg" value="default" />
-
-  <property name="bind.address" value="localhost" />
-
-  <property name="jdbc.properties.dir" value="${jbpm.home}/install/jdbc" />
-  <property file="${jdbc.properties.dir}/${database}.properties" />
-
-  <property name="examples.file" value="${jbpm.home}/examples/target/examples.jar" />
-
-  <property name="tomcat.version" value="6.0.26" />
-  <property name="tomcat.parent.dir" value="${jbpm.home}" />
-  <property name="tomcat.home" value="${tomcat.parent.dir}/apache-tomcat-${tomcat.version}" />
-  <property name="tomcat.filename" value="apache-tomcat-${tomcat.version}.zip" />
-  <property name="tomcat.distro.dir" value="downloads" />
-  <property name="tomcat.distro.url"
-            value="http://www.apache.org/dist/tomcat/tomcat-6/v${tomcat.version}/bin/${tomcat.filename}" />
-  <property name="tomcat.distro.path" value="${tomcat.distro.dir}/${tomcat.filename}" />
-  <property name="tomcat.lib.dir" value="${tomcat.home}/lib" />
-  <property name="tomcat.webapps.dir" value="${tomcat.home}/webapps" />
-
-  <property name="hsqldb.server.install.dir" value="${jbpm.home}/hsqldb-server" />
-  <property name="hsqldb.server.source.dir" value="${jbpm.home}/install/src/hsqldb-server" />
-
-  <property name="jboss.version" value="5.1.0.GA" />
-  <property name="jboss.parent.dir" value="${jbpm.home}" />
-  <property name="jboss.home" value="${jboss.parent.dir}/jboss-${jboss.version}" />
-  <property name="jboss.filename" value="jboss-${jboss.version}.zip" />
-  <property name="jboss.distro.dir" value="downloads" />
-  <property name="jboss.distro.url"
-            value="http://downloads.sourceforge.net/jboss/${jboss.filename}" />
-  <property name="jboss.distro.path" value="${jboss.distro.dir}/${jboss.filename}" />
-  <property name="jboss.server.configuration" value="default" />
-  <property name="jboss.server.config.dir"
-            value="${jboss.home}/server/${jboss.server.configuration}" />
-  <property name="jboss.server.data.dir"
-            value="${jboss.home}/server/${jboss.server.configuration}/data" />
-  <property name="jboss.server.deploy.dir"
-            value="${jboss.home}/server/${jboss.server.configuration}/deploy" />
-
-  <property name="signavio.war.file.name" value="jbpmeditor.war" />
-  <property name="signavio.src.dir" value="${jbpm.home}/install/src/signavio" />
-  <property name="signavio.tmp.dir" value="${jbpm.home}/install/generated/signavio-war" />
-  <property name="signavio.repo.dir.name" value="signavio-repository" />
-
-  <!-- CONTAINER CONDITIONS -->
-  <condition property="is.jboss.distro.available">
-    <available file="${jboss.distro.path}" />
-  </condition>
-  <condition property="is.tomcat.distro.available">
-    <available file="${tomcat.distro.path}" />
-  </condition>
-  <condition property="is.hsqldb">
-    <equals arg1="${database}" arg2="hsqldb" />
-  </condition>
-
-  <!-- OS CONDITIONS -->
-  <condition property="is.windows">
-    <os family="windows" />
-  </condition>
-  <condition property="is.unix">
-    <os family="unix" />
-  </condition>
-
-  <!-- JBOSS CONDITIONS -->
-  <condition property="is.jboss.500">
-    <equals arg1="${jboss.version}" arg2="5.0.0.GA" />
-  </condition>
-  <condition property="is.jboss.510">
-    <equals arg1="${jboss.version}" arg2="5.1.0.GA" />
-  </condition>
-
-  <!-- ECLIPSE CONDITIONS -->
-  <condition property="eclipse.filename" value="eclipse-jee-galileo-win32.zip">
-    <os family="windows" />
-  </condition>
-  <condition property="eclipse.tarfilename" value="eclipse-jee-galileo-macosx-cocoa.tar">
-    <os name="Mac OS X" />
-  </condition>
-  <condition property="eclipse.filename" value="${eclipse.tarfilename}.gz">
-    <os name="Mac OS X" />
-  </condition>
-  <condition property="eclipse.tarfilename" value="eclipse-jee-galileo-linux-gtk.tar">
-    <os name="Linux" arch="i386" />
-  </condition>
-  <condition property="eclipse.filename" value="${eclipse.tarfilename}.gz">
-    <os name="Linux" arch="i386" />
-  </condition>
-  <condition property="eclipse.tarfilename" value="eclipse-jee-galileo-linux-gtk-x86_64.tar">
-    <os name="Linux" arch="x86_64" />
-  </condition>
-  <condition property="eclipse.filename" value="${eclipse.tarfilename}.gz">
-    <os name="Linux" arch="x86_64" />
-  </condition>
-  <property name="eclipse.distro.url"
-            value="http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/galileo/R/${eclipse.filename}" />
-  <property name="eclipse.distro.dir" value="downloads" />
-  <property name="eclipse.parent.dir" value="${jbpm.home}" />
-  <property name="eclipse.distro.path" value="${eclipse.distro.dir}/${eclipse.filename}" />
-
-  <!-- ### DEMO SETUP JBOSS ##################################################### -->
-  <target name="demo.setup.jboss"
-          depends="install.jboss, install.jbpm.into.jboss"
-          description="installs jboss and jbpm, starts jboss, creates the db schema, deploys examples, loads example identities, installs and starts eclipse">
-    <antcall target="internal.enable.jboss.debug.jboss500" />
-    <antcall target="internal.enable.jboss.debug.jboss510" />
-    <antcall target="install.hsqldb.server" />
-    <antcall target="start.hsqldb.server" />
-    <antcall target="create.jbpm.schema" />
-    <antcall target="start.jboss" />
-    <antcall target="install.examples.into.jboss" />
-    <antcall target="load.example.identities" />
-    <antcall target="install.eclipse" />
-    <antcall target="start.eclipse" />
-  </target>
-
-  <!-- ### DEMO TEARDOWN JBOSS ##################################################### -->
-  <target name="demo.teardown.jboss" description="drops the db schema and stops jboss">
-    <antcall target="drop.jbpm.schema" />
-    <antcall target="stop.hsqldb.server" />
-    <antcall target="stop.jboss" />
-  </target>
-
-  <!-- ### CLEAN CONFIGURATION DIR ########################################### -->
-  <target name="clean.cfg.dir" description="Deletes the ${cfg.dest.dir}">
-    <delete dir="${cfg.dest.dir}" />
-  </target>
-
-  <!-- ### CREATE CONFIGURATION ########################################### -->
-  <target name="create.cfg" description="Creates a configuration in ${cfg.dest.dir}">
-    <mkdir dir="${cfg.dest.dir}" />
-    <copy tofile="${cfg.dest.dir}/jbpm.cfg.xml"
-          file="${install.src.dir}/cfg/jbpm/${tx}.jbpm.cfg.xml"
-          overwrite="true" failonerror="false"  />
-    <copy tofile="${cfg.dest.dir}/jbpm.hibernate.cfg.xml"
-          file="${install.src.dir}/cfg/hibernate/${hibernate.connection.type}/${database}.hibernate.cfg.xml"
-          overwrite="true">
-      <filterset filtersfile="${jdbc.properties.dir}/${database}.properties" />
-    </copy>
-    <replace file="${cfg.dest.dir}/jbpm.hibernate.cfg.xml"
-             token="$${bind.address}"
-             value="${bind.address}" />
-    <copy todir="${cfg.dest.dir}" overwrite="true">
-      <fileset dir="${install.src.dir}/cfg/logging/${logging}" />
-    </copy>
-    <copy tofile="${cfg.dest.dir}/jbpm.mail.properties"
-          file="${install.src.dir}/cfg/mail/jbpm.mail.${mail.cfg}.properties"
-          overwrite="true">
-      <filterset>
-        <filter token="bind.address" value="${bind.address}" />
-      </filterset>
-    </copy>
-
-    <!-- If the target environment uses Spring, also copy the applicationContext.xml file-->
-    <condition property="is.spring.environment">
-      <contains string="${tx}" substring="spring" />
-    </condition>
-    <antcall target="internal.copy.spring.applicationContext" />
-  </target>
-
-  <target name="internal.copy.spring.applicationContext" if="is.spring.environment">
-    <copy todir="${cfg.dest.dir}"
-          overwrite="true"
-          file="${install.src.dir}/cfg/spring/applicationContext.xml">
-      <filterset filtersfile="${jdbc.properties.dir}/${database}.properties" />
-    </copy>
-  </target>
-
-  <!-- ### CREATE USER WEBAPP ########################################## -->
-  <target name="create.user.webapp"
-          depends="create.cfg"
-          description="Generates a configuration in dir /install/generated/user-webapp">
-    <delete dir="${jbpm.home}/install/generated/user-webapp" />
-    <mkdir dir="${jbpm.home}/install/generated/user-webapp/WEB-INF/classes" />
-    <mkdir dir="${jbpm.home}/install/generated/user-webapp/WEB-INF/lib" />
-    <copy todir="${jbpm.home}/install/generated/user-webapp">
-      <fileset dir="${install.src.dir}/user-webapp" />
-    </copy>
-    <copy todir="${jbpm.home}/install/generated/user-webapp/WEB-INF/classes">
-      <fileset dir="${cfg.dest.dir}">
-        <exclude name="logging.properties" />
-      </fileset>
-    </copy>
-    <copy todir="${jbpm.home}/install/generated/user-webapp/WEB-INF/lib">
-      <fileset dir="${jbpm.home}">
-        <include name="jbpm.jar" />
-      </fileset>
-      <fileset dir="${jbpm.home}/lib">
-        <include name="activation.jar" />
-        <include name="antlr.jar" />
-        <include name="antlr-runtime.jar" />
-        <include name="commons-collections.jar" />
-        <include name="dom4j.jar" />
-        <include name="drools-api.jar" />
-        <include name="drools-core.jar" />
-        <include name="drools-compiler.jar" />
-        <include name="freemarker.jar" />
-        <include name="hibernate-core.jar" />
-        <include name="cglib.jar" />
-        <include name="janino.jar" />
-        <include name="javassist.jar" />
-        <include name="jta.jar" />
-        <include name="juel*.jar" />
-        <include name="livetribe-jsr223.jar" />
-        <include name="mail.jar" />
-        <include name="joda-time.jar" />
-        <include name="mvel2.jar" />
-        <include name="slf4j-api.jar" />
-        <include name="slf4j-jdk14.jar" />
-      </fileset>
-    </copy>
-
-    <!-- copy database driver -->
-    <property name="database.driver.destination.dir"
-              value="${jbpm.home}/install/generated/user-webapp/WEB-INF/lib" />
-    <property name="is.tomcat" value="true" />
-    <antcall target="internal.copy.database.driver" />
-  </target>
-
-  <!-- ### REINSTALL JBOSS ################################################ -->
-  <target name="reinstall.jboss"
-          depends="delete.jboss, install.jboss"
-          description="Deletes the previous jboss installation and re-installs jboss" />
-
-  <target name="reinstall.jboss.and.jbpm"
-          depends="delete.jboss, install.jboss, install.jbpm.into.jboss"
-          description="Deletes the previous jboss installation and re-installs jboss and installs jbpm in it" />
-
-  <!-- ### DELETE JBOSS ################################################### -->
-  <target name="delete.jboss" description="Deletes jboss installation">
-    <delete dir="${jboss.home}" />
-  </target>
-
-  <!-- ### INSTALL JBOSS ################################################## -->
-  <target name="install.jboss"
-          depends="get.jboss"
-          description="Downloads jboss to ${jboss.distro.dir} if its not available and then unzips jboss">
-    <unzip src="${jboss.distro.path}" dest="${jboss.parent.dir}" />
-    <chmod perm="a+x" file="${jboss.home}/bin/run.sh" />
-    <chmod perm="a+x" file="${jboss.home}/bin/shutdown.sh" />
-  </target>
-
-  <!-- ### GET JBOSS ###################################################### -->
-  <target name="get.jboss"
-          unless="is.jboss.distro.available"
-          description="Downloads jboss into ${jboss.distro.dir}">
-    <mkdir dir="${jboss.distro.dir}" />
-    <get src="${jboss.distro.url}" dest="${jboss.distro.path}" />
-  </target>
-
-  <!-- ### INSTALL JBPM INTO JBOSS ######################### -->
-  <target name="install.jbpm.into.jboss"
-          depends="create.cfg"
-          description="Installs jBPM into JBoss">
-    <!-- copy static configuration files -->
-    <copy todir="${jboss.server.config.dir}" overwrite="true">
-      <fileset dir="${jbpm.home}/install/src/jboss/config" />
-    </copy>
-
-    <!-- copy the right hibernate configuration file -->
-    <copy file="${jbpm.home}/install/src/cfg/hibernate/datasource/${database}.hibernate.cfg.xml"
-          tofile="${jboss.server.config.dir}/deploy/jbpm/jbpm-service.sar/jbpm.hibernate.cfg.xml"
-          overwrite="true" />
-
-    <!-- copy the right datasource configuration file and replace the jdbc properties with
-         the values in the jdbc/${database}.properties file -->
-    <copy file="${jbpm.home}/install/src/jboss/datasources/jbpm-${database}-ds.xml"
-          todir="${jboss.server.config.dir}/deploy/jbpm"
-          overwrite="true">
-      <filterset filtersfile="${jdbc.properties.dir}/${database}.properties" />
-    </copy>
-    <replace file="${jboss.server.config.dir}/deploy/jbpm/jbpm-${database}-ds.xml"
-             token="$${bind.address}"
-             value="${bind.address}" />
-
-    <!-- copy the right mail properties file -->
-    <copy file="${cfg.dest.dir}/jbpm.mail.properties"
-          todir="${jboss.server.config.dir}/deploy/jbpm/jbpm-service.sar"
-          overwrite="true" />
-
-    <!-- unzip console.war -->
-    <mkdir dir="${jboss.server.config.dir}/deploy/jbpm/gwt-console-jbpm.war" />
-    <unzip src="${jbpm.home}/lib/gwt-console-jbpm.war"
-           dest="${jboss.server.config.dir}/deploy/jbpm/gwt-console-jbpm.war" />
-
-    <copy todir="${jboss.server.config.dir}/deploy/jbpm" overwrite="true">
-      <fileset dir="${jbpm.home}/lib">
-        <include name="gwt-console-server-jbpm.war" />
-      </fileset>
-    </copy>
-
-    <copy todir="${jboss.server.config.dir}/deploy/jbpm/jbpm-service.sar" overwrite="true">
-      <fileset dir="${jbpm.home}">
-        <include name="jbpm.jar" />
-      </fileset>
-
-      <fileset dir="${jbpm.home}/lib">
-        <include name="antlr-runtime.jar" />
-        <!-- include name="core.jar" /-->
-        <include name="drools-api.jar" />
-        <include name="drools-core.jar" />
-        <include name="drools-compiler.jar" />
-        <include name="freemarker.jar" />
-        <include name="groovy-all.jar" />
-        <include name="gwt-console-server-integration.jar" />
-        <include name="gwt-console-rpc.jar" />
-        <include name="janino.jar" />
-        <include name="jbpm-jboss.jar" />
-        <include name="jbpm-console-integration.jar" />
-        <include name="jbpm-console-form-plugin.jar" />
-        <include name="jbpm-console-graphView-plugin.jar" />
-        <include name="joda-time.jar" />
-        <include name="juel-engine.jar" />
-        <include name="juel-impl.jar" />
-        <include name="livetribe-jsr223.jar" />
-      </fileset>
-    </copy>
-
-    <!-- move console libs -->
-    <move todir="${jboss.server.config.dir}/deploy/jbpm/jbpm-service.sar" verbose="true">
-      <fileset dir="${jboss.server.config.dir}/deploy/jbpm/gwt-console-jbpm.war/WEB-INF/lib">
-        <include name="*.jar" />
-      </fileset>
-    </move>
-
-    <!-- move errai config -->
-    <move todir="${jboss.server.config.dir}/deploy/jbpm/jbpm-service.sar" verbose="true">
-      <fileset dir="${jboss.server.config.dir}/deploy/jbpm/gwt-console-jbpm.war/WEB-INF/classes">
-        <include name="ErraiService.properties" />
-      </fileset>
-    </move>
-
-    <copy todir="${jboss.home}/common/lib" overwrite="true">
-      <fileset dir="${jbpm.home}/lib">
-        <include name="bsh.jar" />
-      </fileset>
-    </copy>
-
-    <mkdir dir="${jboss.home}/docs/examples/jbpm" />
-    <copy todir="${jboss.home}/docs/examples/jbpm" overwrite="true">
-      <fileset dir="${jbpm.home}/install/src/jboss/datasources" />
-    </copy>
-
-    <!-- reporting -->
-    <property name="birt.dir" value="${jboss.server.data.dir}/birt" />
-    <mkdir dir="${birt.dir}" />
-    <unzip src="${jbpm.home}/lib/report-engine.zip" dest="${birt.dir}" />
-    <unzip src="${jbpm.home}/lib/jbpm-console-reports.jar" dest="${birt.dir}" />
-
-    <property name="database.driver.destination.dir"
-              value="${jboss.server.config.dir}/deploy/jbpm/jbpm-service.sar" />
-    <antcall target="internal.copy.database.driver" />
-
-    <!-- Signavio -->
-    <antcall target="install.signavio.into.jboss" />
-  </target>
-
-  <!-- ### INSTALL EXAMPLES INTO JBOSS ################################################ -->
-  <target name="install.examples.into.jboss">
-    <ant antfile="${jbpm.home}/examples/build.xml" target="create.and.deploy.examples" />
-    <mkdir dir="${jboss.server.config.dir}/deploy/jbpm/userlibs" />
-    <copy file="${examples.file}"
-          todir="${jboss.server.config.dir}/deploy/jbpm/userlibs"
-          overwrite="true" />
-  </target>
-
-  <!-- ### START JBOSS ################################################### -->
-  <target name="start.jboss"
-          description="starts jboss and waits till jboss is booted, then lets jboss run in the background">
-    <exec executable="${jboss.home}/bin/run.bat"
-          os="Windows 7,Windows Vista,Windows XP,Windows 2000"
-          spawn="yes">
-      <arg value="-b" />
-      <arg value="${bind.address}" />
-    </exec>
-    <exec executable="${jboss.home}/bin/run.sh" spawn="yes" os="Linux,Mac OS X">
-      <arg value="-b" />
-      <arg value="${bind.address}" />
-    </exec>
-    <waitfor maxwait="5"
-             maxwaitunit="minute"
-             checkevery="30"
-             checkeveryunit="second"
-             timeoutproperty="jboss.timeout">
-      <socket server="${bind.address}" port="8080" />
-    </waitfor>
-    <fail if="jboss.timeout" message="jboss did not start within 5 minutes" />
-  </target>
-
-  <!-- ### STOP JBOSS ################################################### -->
-  <target name="stop.jboss"
-          description="signals jboss to stop, but doesn't wait till its finished">
-    <exec executable="${jboss.home}/bin/shutdown.bat"
-          os="Windows 7,Windows Vista,Windows XP,Windows 2000">
-      <arg value="-s" />
-      <arg value="jnp://${bind.address}:1099" />
-      <arg value="-S" />
-    </exec>
-    <exec executable="${jboss.home}/bin/shutdown.sh" os="Linux,Mac OS X">
-      <arg value="-s" />
-      <arg value="jnp://${bind.address}:1099" />
-      <arg value="-S" />
-    </exec>
-  </target>
-
-  <!-- ### DEMO SETUP TOMCAT ################################################ -->
-  <target name="demo.setup.tomcat"
-          depends="delete.tomcat, install.tomcat, install.jbpm.into.tomcat"
-          description="installs tomcat, installs jbpm into tomcat, starts tomcat, creates the jBPM DB schema, deploys examples, loads example identities, installs and starts eclipse">
-    <antcall target="install.hsqldb.server" />
-    <antcall target="start.hsqldb.server" />
-    <antcall target="create.jbpm.schema" />
-    <antcall target="install.examples.into.tomcat" />
-    <antcall target="load.example.identities" />
-    <antcall target="start.tomcat" />
-    <antcall target="install.eclipse" />
-    <antcall target="start.eclipse" />
-  </target>
-
-  <!-- ### DEMO TEARDOWN TOMCAT ################################################ -->
-  <target name="demo.teardown.tomcat"
-          depends="stop.tomcat, stop.hsqldb.server"
-          description="stops tomcat and then the hsqldb server if needed">
-  </target>
-
-  <!-- ### REINSTALL TOMCAT ################################################ -->
-  <target name="reinstall.tomcat"
-          depends="delete.tomcat, install.tomcat"
-          description="Deletes the previous tomcat installation and re-installs tomcat" />
-
-  <target name="reinstall.tomcat.and.jbpm"
-          depends="delete.tomcat, install.tomcat, install.jbpm.into.tomcat"
-          description="Deletes the previous tomcat installation and re-installs tomcat and installs jbpm in it" />
-
-  <!-- ### DELETE TOMCAT ################################################### -->
-  <target name="delete.tomcat" description="Deletes tomcat installation">
-    <delete dir="${tomcat.home}" />
-  </target>
-
-  <!-- ### INSTALL TOMCAT ################################################## -->
-  <target name="install.tomcat"
-          depends="get.tomcat"
-          description="Downloads tomcat to ${tomcat.distro.dir} if its not available and then unzips tomcat">
-    <unzip src="${tomcat.distro.path}" dest="${tomcat.parent.dir}" />
-    <antcall target="install.tomcat.unix" />
-  </target>
-
-  <target name="install.tomcat.unix" if="is.unix">
-    <chmod perm="a+x">
-      <fileset dir="${tomcat.home}/bin">
-        <include name="*.sh" />
-      </fileset>
-    </chmod>
-  </target>
-
-  <!-- ### GET TOMCAT ###################################################### -->
-  <target name="get.tomcat"
-          unless="is.tomcat.distro.available"
-          description="Downloads tomcat into ${tomcat.distro.dir} if it is not available">
-    <mkdir dir="${tomcat.distro.dir}" />
-    <get src="${tomcat.distro.url}" dest="${tomcat.distro.path}" />
-  </target>
-
-  <!-- ### INSTALL JBPM INTO TOMCAT ####################################### -->
-  <target name="install.jbpm.into.tomcat"
-          depends="create.cfg"
-          description="Installs jBPM into tomcat">
-    <property name="is.tomcat" value="true" />
-
-    <!-- create the jbpm configuration jar file and drop in /lib -->
-    <jar destfile="${tomcat.home}/lib/jbpm.cfg.jar">
-      <fileset dir="${jbpm.home}/install/generated/cfg">
-        <exclude name="logging.properties" />
-      </fileset>
-    </jar>
-
-    <!-- Copy jBPM third party libs into /lib -->
-    <copy todir="${tomcat.home}/lib" overwrite="true">
-      <fileset dir="${jbpm.home}">
-        <include name="jbpm.jar" />
-      </fileset>
-      <fileset dir="${jbpm.home}/lib">
-        <include name="activation.jar" />
-        <include name="antlr.jar" />
-        <include name="antlr-runtime.jar" />
-        <include name="bsh.jar" />
-        <include name="commons-collections.jar" />
-        <include name="commons-logging.jar" />
-        <!-- include name="core.jar" /-->
-        <include name="dom4j.jar" />
-        <include name="drools-api.jar" />
-        <include name="drools-core.jar" />
-        <include name="drools-compiler.jar" />
-        <include name="freemarker.jar" />
-        <include name="groovy-all.jar" />
-        <include name="hibernate-core.jar" />
-        <include name="hibernate-cglib-repack.jar" />
-        <include name="janino.jar" />
-        <include name="javassist.jar" />
-        <include name="jbpm-spi.jar" />
-        <include name="jbpm-tomcat6.jar" />
-        <include name="joda-time.jar" />
-        <include name="jta.jar" />
-        <include name="juel*.jar" />
-        <include name="livetribe-jsr223.jar" />
-        <include name="log4j.jar" />
-        <include name="mail.jar" />
-        <include name="mvel2.jar" />
-        <include name="slf4j-api.jar" />
-        <include name="slf4j-jdk14.jar" />
-        <include name="gwt-console-server-integration.jar" />
-        <include name="gwt-console-rpc.jar" />
-        <include name="jbpm-console-integration.jar" />
-        <include name="jbpm-console-form-plugin.jar" />
-        <include name="jbpm-console-graphView-plugin.jar" />
-      </fileset>
-    </copy>
-
-    <!-- Copy jbpm-console wars and configuration into /webapps -->
-
-    <mkdir dir="${tomcat.home}/webapps/jbpm-console" />
-    <mkdir dir="${tomcat.home}/webapps/gwt-console-server" />
-
-    <unzip src="${jbpm.home}/lib/gwt-console-jbpm.war"
-           dest="${tomcat.home}/webapps/jbpm-console" />
-
-    <unzip src="${jbpm.home}/lib/gwt-console-server-jbpm.war"
-           dest="${tomcat.home}/webapps/gwt-console-server" />
-
-    <move todir="${tomcat.home}/lib">
-      <fileset dir="${tomcat.home}/webapps/jbpm-console/WEB-INF/lib">
-        <include name="guice*.jar" />
-        <include name="errai*.jar" />
-        <include name="mvel*.jar" />
-      </fileset>
-      <fileset dir="${tomcat.home}/webapps/jbpm-console/WEB-INF/classes">
-        <include name="ErraiService.properties" />
-        <include name="ErraiApp.properties" />
-      </fileset>
-    </move>
-
-    <!-- Copy Signavio war into /webapps -->
-    <antcall target="install.signavio.into.tomcat" />
-
-
-    <!-- reporting -->
-    <property name="birt.dir" value="${tomcat.home}/birt" />
-    <mkdir dir="${birt.dir}" />
-    <unzip src="${jbpm.home}/lib/report-engine.zip" dest="${birt.dir}" />
-    <unzip src="${jbpm.home}/lib/jbpm-console-reports.jar" dest="${birt.dir}" />
-
-    <!-- copy database driver -->
-    <property name="database.driver.destination.dir" value="${tomcat.home}/lib" />
-    <antcall target="internal.copy.database.driver" />
-
-    <!-- tweak the tomcat server config for the security domain -->
-    <copy file="${install.src.dir}/tomcat/server.xml"
-          tofile="${tomcat.home}/conf/server.xml"
-          overwrite="true">
-      <filterset filtersfile="${jdbc.properties.dir}/${database}.properties" />
-    </copy>
-    <replace file="${tomcat.home}/conf/server.xml"
-             token="@bind.address@"
-             value="${bind.address}" />
-  </target>
-
-  <!-- ### INSTALL EXAMPLES INTO TOMCAT ################################################ -->
-  <target name="install.examples.into.tomcat" description="deploys all the example processes">
-    <ant antfile="${jbpm.home}/examples/build.xml" target="create.and.deploy.examples" />
-    <copy file="${examples.file}" todir="${tomcat.home}/lib" overwrite="true" />
-  </target>
-
-  <!-- ### INSTALL HSQLDB SERVER ################################################ -->
-  <target name="install.hsqldb.server" if="is.hsqldb">
-    <delete dir="${hsqldb.server.install.dir}" />
-    <!-- Also deletes old data -->
-    <mkdir dir="${hsqldb.server.install.dir}" />
-    <copy file="${jbpm.home}/lib/hsqldb.jar" todir="${hsqldb.server.install.dir}" />
-    <copy todir="${hsqldb.server.install.dir}">
-      <fileset dir="${hsqldb.server.source.dir}" />
-    </copy>
-    <chmod perm="a+x">
-      <fileset dir="${hsqldb.server.install.dir}">
-        <include name="*.sh" />
-      </fileset>
-    </chmod>
-  </target>
-
-  <!-- ### START HSQLDB SERVER ################################################ -->
-  <target name="start.hsqldb.server" if="is.hsqldb">
-    <java classname="org.hsqldb.Server" fork="yes" spawn="yes">
-      <classpath location="${hsqldb.server.install.dir}/hsqldb.jar" />
-      <arg value="-address" />
-      <arg value="${bind.address}" />
-      <arg value="-port" />
-      <arg value="1701" />
-      <arg value="-dbname.0" />
-      <arg value="jbpmDatabase" />
-    </java>
-    <waitfor maxwait="1"
-             maxwaitunit="minute"
-             checkevery="10"
-             checkeveryunit="second"
-             timeoutproperty="hsqldb.timeout">
-      <socket server="${bind.address}" port="1701" />
-    </waitfor>
-    <fail if="hsqldb.timeout" message="hsqldb server did not start within one minute" />
-  </target>
-
-  <!-- ### SHUTDOWN HSQLDB SERVER ################################################ -->
-  <target name="stop.hsqldb.server" if="is.hsqldb">
-    <sql driver="${jdbc.driver}"
-         password="${jdbc.password}"
-         url="${jdbc.url}"
-         userid="${jdbc.username}"
-         autocommit="true"
-         src="${hsqldb.server.install.dir}/shutdown.sql">
-      <classpath>
-        <fileset dir="${hsqldb.server.install.dir}">
-          <include name="hsqldb.jar" />
-        </fileset>
-      </classpath>
-    </sql>
-  </target>
-
-  <!-- ### START TOMCAT ################################################### -->
-  <target name="start.tomcat"
-          description="Starts Tomcat and waits till it is booted, then lets Tomcat run in the background">
-    <taskdef name="start-tomcat" classname="org.jbpm.pvm.internal.ant.StartTomcatTask">
-      <classpath>
-        <fileset dir="${jbpm.home}">
-          <include name="jbpm.jar" />
-        </fileset>
-      </classpath>
-    </taskdef>
-    <start-tomcat tomcathome="${tomcat.home}" />
-  </target>
-
-  <!-- ### STOP TOMCAT ################################################### -->
-  <target name="stop.tomcat"
-          description="Signals Tomcat to stop, but doesn't wait till its finished">
-    <exec executable="${tomcat.home}/bin/catalina.bat"
-          dir="${tomcat.home}/bin"
-          spawn="yes"
-          os="Windows 7,Windows Vista,Windows XP,Windows 2000">
-      <arg value="stop" />
-    </exec>
-    <exec executable="${tomcat.home}/bin/catalina.sh"
-          dir="${tomcat.home}/bin"
-          spawn="yes"
-          os="Linux,Mac OS X">
-      <arg value="stop" />
-    </exec>
-  </target>
-
-  <!-- ### CREATE JBPM SCHEMA ############################################# -->
-  <target name="create.jbpm.schema"
-          depends="create.cfg"
-          description="creates the jbpm tables in the database">
-    <echo message="creating jbpm schema..." />
-    <copy tofile="${cfg.dest.dir}/jbpm.cfg.xml"
-          file="${install.src.dir}/cfg/jbpm/standalone.testsuite.jbpm.cfg.xml"
-          overwrite="true" />
-    <java classname="org.jbpm.db.Create" fork="true">
-      <arg value="${database}" />
-      <classpath>
-        <pathelement location="${jbpm.home}/install/generated/cfg" />
-        <pathelement location="${jbpm.home}/install/src/db" />
-        <fileset dir="${jbpm.home}">
-          <include name="jbpm.jar" />
-        </fileset>
-        <fileset dir="${jbpm.home}/lib">
-          <include name="*.jar" />
-        </fileset>
-      </classpath>
-    </java>
-  </target>
-
-  <!-- ### UPGRADE JBPM SCHEMA ############################################# -->
-  <target name="upgrade.jbpm.schema"
-          depends="create.cfg"
-          description="Upgrades the jBPM tables in the database to the current version">
-    <echo message="upgrading jbpm schema..." />
-    <copy tofile="${cfg.dest.dir}/jbpm.cfg.xml"
-          file="${install.src.dir}/cfg/jbpm/standalone.testsuite.jbpm.cfg.xml"
-          overwrite="true" />
-    <java classname="org.jbpm.db.Upgrade" fork="true">
-      <arg value="${database}" />
-      <classpath>
-        <pathelement location="${jbpm.home}/install/generated/cfg" />
-        <pathelement location="${jbpm.home}/install/src/db" />
-        <fileset dir="${jbpm.home}">
-          <include name="jbpm.jar" />
-        </fileset>
-        <fileset dir="${jbpm.home}/lib">
-          <include name="*.jar" />
-        </fileset>
-      </classpath>
-    </java>
-  </target>
-
-  <!-- ### DROP JBPM SCHEMA ############################################### -->
-  <target name="drop.jbpm.schema" description="drops the jbpm tables from the database">
-    <echo message="dropping jbpm schema in db ${jdbc.url}" />
-    <sql driver="${jdbc.driver}"
-         url="${jdbc.url}"
-         userid="${jdbc.username}"
-         password="${jdbc.password}"
-         onerror="continue"
-         src="${jbpm.home}/install/src/db/drop/jbpm.${database}.drop.sql">
-      <classpath>
-        <fileset dir="${jbpm.home}/lib">
-          <include name="*.jar" />
-        </fileset>
-      </classpath>
-    </sql>
-  </target>
-
-  <!-- ### LOAD EXAMPLE IDENTITIES ######################################## -->
-  <target name="load.example.identities"
-          description="loads the example users and groups into the database">
-    <echo message="loading example identities in ${jdbc.url}" />
-    <sql driver="${jdbc.driver}"
-         url="${jdbc.url}"
-         userid="${jdbc.username}"
-         password="${jdbc.password}"
-         onerror="continue">
-      <transaction src="${jbpm.home}/install/src/demo/example.identities.sql" />
-      <classpath>
-        <fileset dir="${jbpm.home}/lib">
-          <include name="*.jar" />
-        </fileset>
-      </classpath>
-    </sql>
-  </target>
-
-  <!-- ### START HSQLDB DATABASE MGR ##################################### -->
-  <target name="hsqldb.databasemanager" description="start the hsqldb database manager">
-    <java classname="org.hsqldb.util.DatabaseManager" fork="true">
-      <arg value="-url" />
-      <arg value="jdbc:hsqldb:hsql://${bind.address}:1701" />
-      <classpath>
-        <fileset dir="${jbpm.home}/lib">
-          <include name="hsqldb.jar" />
-        </fileset>
-      </classpath>
-    </java>
-  </target>
-
-  <!-- ### INSTALL ECLIPSE ################################################ -->
-  <target name="install.eclipse"
-          depends="get.eclipse"
-          description="unzips eclipse, downloads eclipse if it is not available in ${eclipse.distro.dir}">
-    <antcall target="internal.install.eclipse.unix" />
-    <antcall target="internal.install.eclipse.windows" />
-  </target>
-
-  <!-- ### GET ECLIPSE ##################################################### -->
-  <condition property="is.eclipse.distro.available">
-    <available file="${eclipse.distro.path}" />
-  </condition>
-  <target name="get.eclipse"
-          unless="is.eclipse.distro.available"
-          description="downloads eclipse to ${eclipse.distro.dir}">
-    <mkdir dir="${eclipse.distro.dir}" />
-    <get src="${eclipse.distro.url}" dest="${eclipse.distro.path}" />
-  </target>
-
-  <!-- ### START ECLIPSE ################################################## -->
-  <target name="start.eclipse" description="starts eclipse">
-    <!-- Windows -->
-    <exec executable="${jbpm.home}/eclipse/eclipse.exe"
-          spawn="yes"
-          os="Windows 7,Windows Vista,Windows XP,Windows 2000">
-      <arg value="-data" />
-      <arg value="${jbpm.home}/workspace" />
-    </exec>
-    <!-- Linux -->
-    <chmod file="${jbpm.home}/eclipse/eclipse" perm="a+x" os="Linux" />
-    <exec executable="${jbpm.home}/eclipse/eclipse" os="Linux">
-      <arg value="-data" />
-      <arg value="${jbpm.home}/workspace" />
-    </exec>
-    <!-- Mac OS X -->
-    <chmod file="${jbpm.home}/eclipse/Eclipse.app/Contents/MacOS/eclipse"
-           perm="a+x"
-           os="Mac OS X" />
-    <exec executable="${jbpm.home}/eclipse/Eclipse.app/Contents/MacOS/eclipse" os="Mac OS X">
-      <arg value="-data" />
-      <arg value="${jbpm.home}/workspace" />
-    </exec>
-  </target>
-
-  <target name="install.signavio.into.jboss"
-          depends="internal.set.signavio.repo.dir"
-          description="installs signavio into jboss">
-    <!-- Current version of Signavio needs to be unpacked in /deploy to work correctly -->
-    <unzip src="${signavio.src.dir}/${signavio.war.file.name}"
-           dest="${jboss.server.deploy.dir}/${signavio.war.file.name}" />
-  </target>
-
-  <target name="install.signavio.into.tomcat"
-          depends="internal.set.signavio.repo.dir"
-          description="installs signavio into tomcat">
-    <copy file="${signavio.src.dir}/${signavio.war.file.name}" todir="${tomcat.webapps.dir}" />
-  </target>
-
-  <!-- ######################## -->
-  <!-- ### INTERNAL TARGETS ### -->
-  <!-- ######################## -->
-
-  <target name="enable.jboss.debug"
-          depends="internal.enable.jboss.debug.jboss500, internal.enable.jboss.debug.jboss510" />
-
-  <target name="internal.enable.jboss.debug.jboss500" if="is.jboss.500">
-    <echo message="enabling debug on ${jboss.home}" />
-    <replace file="${jboss.home}/bin/run.bat"
-             token="rem set JAVA_OPTS=%JAVA_OPTS% -Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y"
-             value="set JAVA_OPTS=%JAVA_OPTS% -Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n" />
-    <echo message="copying customized log file to ${jboss.server.config.dir}/conf" />
-    <copy file="${jbpm.home}/install/src/jboss/log/jboss-log4j.xml"
-          todir="${jboss.server.config.dir}/conf"
-          overwrite="true" />
-  </target>
-
-  <target name="internal.enable.jboss.debug.jboss510" if="is.jboss.510">
-    <echo message="enabling debug on ${jboss.home}" />
-    <replace file="${jboss.home}/bin/run.conf.bat"
-             token="rem set &quot;JAVA_OPTS=%JAVA_OPTS% -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n&quot;"
-             value="set &quot;JAVA_OPTS=%JAVA_OPTS% -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n&quot;" />
-    <echo message="copying customized log file to ${jboss.server.config.dir}/conf" />
-    <copy file="${jbpm.home}/install/src/jboss/log/jboss-log4j.xml"
-          todir="${jboss.server.config.dir}/conf"
-          overwrite="true" />
-  </target>
-
-  <target name="internal.copy.database.driver">
-    <condition property="database.driver" value="mysql-connector-java.jar">
-      <equals arg1="${database}" arg2="mysql" />
-    </condition>
-    <condition property="database.driver" value="ojdbc14.jar">
-      <equals arg1="${database}" arg2="oracle" />
-    </condition>
-    <condition property="database.driver" value="mysql-connector-java.jar">
-      <equals arg1="${database}" arg2="mysql" />
-    </condition>
-    <condition property="database.driver" value="postgresql.jar">
-      <equals arg1="${database}" arg2="postgresql" />
-    </condition>
-    <condition property="database.driver" value="hsqldb.jar">
-      <and>
-        <equals arg1="${database}" arg2="hsqldb" />
-        <equals arg1="${is.tomcat}" arg2="true" />
-      </and>
-    </condition>
-    <antcall target="internal.copy.database.driver.if.needed" />
-  </target>
-
-  <target name="internal.copy.database.driver.if.needed" if="database.driver">
-    <available file="${jbpm.home}/lib/${database.driver}"
-               property="database.driver.jar.available" />
-    <fail message="please download the ${database} driver jar and put it in the ${jbpm.home}/lib directory"
-          unless="database.driver.jar.available" />
-    <echo message="Copying database driver ${database.driver} to ${database.driver.destination.dir}" />
-    <copy file="${jbpm.home}/lib/${database.driver}"
-          todir="${database.driver.destination.dir}" />
-  </target>
-
-  <target name="internal.set.signavio.repo.dir">
-    <mkdir dir="${jbpm.home}/${signavio.repo.dir.name}" />
-
-    <!-- unzip the signavio war -->
-    <delete dir="${signavio.tmp.dir}" />
-    <mkdir dir="${signavio.tmp.dir}" />
-    <unzip src="${jbpm.home}/install/src/signavio/${signavio.war.file.name}"
-           dest="${signavio.tmp.dir}" />
-
-    <!-- Replace Windows backslash with forward slash (see JBPM-2540) -->
-    <pathconvert property="signavio.repo.path" targetos="unix">
-      <map from="${basedir}/" to='' />
-      <map from="${basedir}\\" to='' />
-      <path location="${jbpm.home}/${signavio.repo.dir.name}" />
-    </pathconvert>
-
-    <!-- replace the repo dir in he unzipped WEB-INF/web.xml -->
-    <replaceregexp file="${signavio.tmp.dir}/WEB-INF/web.xml"
-                   flags="s"
-                   match="&lt;param-name&gt;fileSystemRootDirectory&lt;/param-name&gt;.*?&lt;param-value&gt;.*?&lt;/param-value&gt;"
-                   replace="&lt;param-name&gt;fileSystemRootDirectory&lt;/param-name&gt;&lt;param-value&gt;${signavio.repo.path}&lt;/param-value&gt;" />
-
-    <!-- zip it up again and copy it back to the signavio src dir-->
-    <zip destfile="${signavio.tmp.dir}/${signavio.war.file.name}"
-         basedir="${signavio.tmp.dir}" />
-    <copy file="${signavio.tmp.dir}/${signavio.war.file.name}"
-          todir="${signavio.src.dir}"
-          overwrite="true" />
-  </target>
-
-  <target name="internal.install.eclipse.windows" if="is.windows">
-    <unzip src="${eclipse.distro.dir}/${eclipse.filename}"
-           dest="${jbpm.home}"
-           overwrite="true" />
-  </target>
-
-  <target name="internal.install.eclipse.unix" if="is.unix">
-    <gunzip src="${eclipse.distro.dir}/${eclipse.filename}" dest="${eclipse.distro.dir}" />
-    <untar src="${eclipse.distro.dir}/${eclipse.tarfilename}"
-           dest="${jbpm.home}"
-           overwrite="true" />
-    <delete file="${eclipse.distro.dir}/${eclipse.tarfilename}" />
-  </target>
-</project>

Copied: jbpm4/tags/jbpm-4.4/modules/distro/src/main/files/install/build.xml (from rev 6500, jbpm4/trunk/modules/distro/src/main/files/install/build.xml)
===================================================================
--- jbpm4/tags/jbpm-4.4/modules/distro/src/main/files/install/build.xml	                        (rev 0)
+++ jbpm4/tags/jbpm-4.4/modules/distro/src/main/files/install/build.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -0,0 +1,944 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!--  jBPM: Workflow in Java                                                -->
+<!--                                                                        -->
+<!--  Distributable under LGPL license.                                     -->
+<!--  See terms of license at http://www.gnu.org.                           -->
+<!-- ====================================================================== -->
+
+<!-- $Id$ -->
+
+<project name="jbpm.install">
+
+  <!-- DEVELOPER SPECIFIC CONFIGURATIONS -->
+  <property file="${user.home}/.jbpm4/build.properties" />
+
+  <!-- USER CUSTOMIZABLE PROPERTIES -->
+  <!-- {hsqldb | mysql | oracle | postgresql} -->
+  <property name="database" value="hsqldb" />
+  <!-- {standalone | jta | spring} -->
+  <property name="tx" value="standalone" />
+
+  <!-- INTERNAL PROPERTY DEFAULTS -->
+  <condition property="jbpm.home" value="${jbpm.parent.dir}/jbpm-4.x" else="${basedir}/..">
+    <isset property="jbpm.parent.dir" />
+  </condition>
+  <!-- jdbc | datasource -->
+  <property name="hibernate.connection.type" value="jdbc" />
+  <!-- jdk | none -->
+  <property name="logging" value="jdk" />
+  <property name="cfg.dest.dir" value="${jbpm.home}/install/generated/cfg" />
+  <property name="install.src.dir" value="${jbpm.home}/install/src" />
+  <!-- default | testsuite -->
+  <property name="mail.cfg" value="default" />
+
+  <property name="bind.address" value="localhost" />
+
+  <property name="jdbc.properties.dir" value="${jbpm.home}/install/jdbc" />
+  <property file="${jdbc.properties.dir}/${database}.properties" />
+
+  <property name="examples.file" value="${jbpm.home}/examples/target/examples.jar" />
+
+  <property name="tomcat.version" value="6.0.26" />
+  <property name="tomcat.parent.dir" value="${jbpm.home}" />
+  <property name="tomcat.home" value="${tomcat.parent.dir}/apache-tomcat-${tomcat.version}" />
+  <property name="tomcat.filename" value="apache-tomcat-${tomcat.version}.zip" />
+  <property name="tomcat.distro.dir" value="downloads" />
+  <property name="tomcat.distro.url"
+            value="http://www.apache.org/dist/tomcat/tomcat-6/v${tomcat.version}/bin/${tomcat.filename}" />
+  <property name="tomcat.distro.path" value="${tomcat.distro.dir}/${tomcat.filename}" />
+  <property name="tomcat.lib.dir" value="${tomcat.home}/lib" />
+  <property name="tomcat.webapps.dir" value="${tomcat.home}/webapps" />
+
+  <property name="hsqldb.server.install.dir" value="${jbpm.home}/hsqldb-server" />
+  <property name="hsqldb.server.source.dir" value="${jbpm.home}/install/src/hsqldb-server" />
+
+  <property name="jboss.version" value="5.1.0.GA" />
+  <property name="jboss.parent.dir" value="${jbpm.home}" />
+  <property name="jboss.home" value="${jboss.parent.dir}/jboss-${jboss.version}" />
+  <property name="jboss.filename" value="jboss-${jboss.version}.zip" />
+  <property name="jboss.distro.dir" value="downloads" />
+  <property name="jboss.distro.url"
+            value="http://downloads.sourceforge.net/jboss/${jboss.filename}" />
+  <property name="jboss.distro.path" value="${jboss.distro.dir}/${jboss.filename}" />
+  <property name="jboss.server.configuration" value="default" />
+  <property name="jboss.server.config.dir"
+            value="${jboss.home}/server/${jboss.server.configuration}" />
+  <property name="jboss.server.data.dir"
+            value="${jboss.home}/server/${jboss.server.configuration}/data" />
+  <property name="jboss.server.deploy.dir"
+            value="${jboss.home}/server/${jboss.server.configuration}/deploy" />
+
+  <property name="signavio.war.file.name" value="jbpmeditor.war" />
+  <property name="signavio.src.dir" value="${jbpm.home}/install/src/signavio" />
+  <property name="signavio.tmp.dir" value="${jbpm.home}/install/generated/signavio-war" />
+  <property name="signavio.repo.dir.name" value="signavio-repository" />
+
+  <!-- CONTAINER CONDITIONS -->
+  <condition property="is.jboss.distro.available">
+    <available file="${jboss.distro.path}" />
+  </condition>
+  <condition property="is.tomcat.distro.available">
+    <available file="${tomcat.distro.path}" />
+  </condition>
+  <condition property="is.hsqldb">
+    <equals arg1="${database}" arg2="hsqldb" />
+  </condition>
+
+  <!-- OS CONDITIONS -->
+  <condition property="is.windows">
+    <os family="windows" />
+  </condition>
+  <condition property="is.unix">
+    <os family="unix" />
+  </condition>
+
+  <!-- JBOSS CONDITIONS -->
+  <condition property="is.jboss.500">
+    <equals arg1="${jboss.version}" arg2="5.0.0.GA" />
+  </condition>
+  <condition property="is.jboss.510">
+    <equals arg1="${jboss.version}" arg2="5.1.0.GA" />
+  </condition>
+
+  <!-- ECLIPSE CONDITIONS -->
+  <condition property="eclipse.filename" value="eclipse-jee-galileo-win32.zip">
+    <os family="windows" />
+  </condition>
+  <condition property="eclipse.tarfilename" value="eclipse-jee-galileo-macosx-cocoa.tar">
+    <os name="Mac OS X" />
+  </condition>
+  <condition property="eclipse.filename" value="${eclipse.tarfilename}.gz">
+    <os name="Mac OS X" />
+  </condition>
+  <condition property="eclipse.tarfilename" value="eclipse-jee-galileo-linux-gtk.tar">
+    <os name="Linux" arch="i386" />
+  </condition>
+  <condition property="eclipse.filename" value="${eclipse.tarfilename}.gz">
+    <os name="Linux" arch="i386" />
+  </condition>
+  <condition property="eclipse.tarfilename" value="eclipse-jee-galileo-linux-gtk-x86_64.tar">
+    <os name="Linux" arch="x86_64" />
+  </condition>
+  <condition property="eclipse.filename" value="${eclipse.tarfilename}.gz">
+    <os name="Linux" arch="x86_64" />
+  </condition>
+  <property name="eclipse.distro.url"
+            value="http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/galileo/R/${eclipse.filename}" />
+  <property name="eclipse.distro.dir" value="downloads" />
+  <property name="eclipse.parent.dir" value="${jbpm.home}" />
+  <property name="eclipse.distro.path" value="${eclipse.distro.dir}/${eclipse.filename}" />
+
+  <!-- ### DEMO SETUP JBOSS ##################################################### -->
+  <target name="demo.setup.jboss"
+          depends="install.jboss, install.jbpm.into.jboss"
+          description="installs jboss and jbpm, starts jboss, creates the db schema, deploys examples, loads example identities, installs and starts eclipse">
+    <antcall target="internal.enable.jboss.debug.jboss500" />
+    <antcall target="internal.enable.jboss.debug.jboss510" />
+    <antcall target="install.hsqldb.server" />
+    <antcall target="start.hsqldb.server" />
+    <antcall target="create.jbpm.schema" />
+    <antcall target="start.jboss" />
+    <antcall target="install.examples.into.jboss" />
+    <antcall target="load.example.identities" />
+    <antcall target="install.eclipse" />
+    <antcall target="start.eclipse" />
+  </target>
+
+  <!-- ### DEMO TEARDOWN JBOSS ##################################################### -->
+  <target name="demo.teardown.jboss" description="drops the db schema and stops jboss">
+    <antcall target="drop.jbpm.schema" />
+    <antcall target="stop.hsqldb.server" />
+    <antcall target="stop.jboss" />
+  </target>
+
+  <!-- ### CLEAN CONFIGURATION DIR ########################################### -->
+  <target name="clean.cfg.dir" description="Deletes the ${cfg.dest.dir}">
+    <delete dir="${cfg.dest.dir}" />
+  </target>
+
+  <!-- ### CREATE CONFIGURATION ########################################### -->
+  <target name="create.cfg" description="Creates a configuration in ${cfg.dest.dir}">
+    <mkdir dir="${cfg.dest.dir}" />
+    <copy tofile="${cfg.dest.dir}/jbpm.cfg.xml"
+          file="${install.src.dir}/cfg/jbpm/${tx}.jbpm.cfg.xml"
+          overwrite="true" failonerror="false"  />
+    <copy tofile="${cfg.dest.dir}/jbpm.hibernate.cfg.xml"
+          file="${install.src.dir}/cfg/hibernate/${hibernate.connection.type}/${database}.hibernate.cfg.xml"
+          overwrite="true">
+      <filterset filtersfile="${jdbc.properties.dir}/${database}.properties" />
+    </copy>
+    <replace file="${cfg.dest.dir}/jbpm.hibernate.cfg.xml"
+             token="$${bind.address}"
+             value="${bind.address}" />
+    <copy todir="${cfg.dest.dir}" overwrite="true">
+      <fileset dir="${install.src.dir}/cfg/logging/${logging}" />
+    </copy>
+    <copy tofile="${cfg.dest.dir}/jbpm.mail.properties"
+          file="${install.src.dir}/cfg/mail/jbpm.mail.${mail.cfg}.properties"
+          overwrite="true">
+      <filterset>
+        <filter token="bind.address" value="${bind.address}" />
+      </filterset>
+    </copy>
+
+    <!-- If the target environment uses Spring, also copy the applicationContext.xml file-->
+    <condition property="is.spring.environment">
+      <contains string="${tx}" substring="spring" />
+    </condition>
+    <antcall target="internal.copy.spring.applicationContext" />
+  </target>
+
+  <target name="internal.copy.spring.applicationContext" if="is.spring.environment">
+    <copy todir="${cfg.dest.dir}"
+          overwrite="true"
+          file="${install.src.dir}/cfg/spring/applicationContext.xml">
+      <filterset filtersfile="${jdbc.properties.dir}/${database}.properties" />
+    </copy>
+  </target>
+
+  <!-- ### CREATE USER WEBAPP ########################################## -->
+  <target name="create.user.webapp"
+          depends="create.cfg"
+          description="Generates a configuration in dir /install/generated/user-webapp">
+    <delete dir="${jbpm.home}/install/generated/user-webapp" />
+    <mkdir dir="${jbpm.home}/install/generated/user-webapp/WEB-INF/classes" />
+    <mkdir dir="${jbpm.home}/install/generated/user-webapp/WEB-INF/lib" />
+    <copy todir="${jbpm.home}/install/generated/user-webapp">
+      <fileset dir="${install.src.dir}/user-webapp" />
+    </copy>
+    <copy todir="${jbpm.home}/install/generated/user-webapp/WEB-INF/classes">
+      <fileset dir="${cfg.dest.dir}">
+        <exclude name="logging.properties" />
+      </fileset>
+    </copy>
+    <copy todir="${jbpm.home}/install/generated/user-webapp/WEB-INF/lib">
+      <fileset dir="${jbpm.home}">
+        <include name="jbpm.jar" />
+      </fileset>
+      <fileset dir="${jbpm.home}/lib">
+        <include name="activation.jar" />
+        <include name="antlr.jar" />
+        <include name="antlr-runtime.jar" />
+        <include name="commons-collections.jar" />
+        <include name="dom4j.jar" />
+        <include name="drools-api.jar" />
+        <include name="drools-core.jar" />
+        <include name="drools-compiler.jar" />
+        <include name="freemarker.jar" />
+        <include name="hibernate-core.jar" />
+        <include name="cglib.jar" />
+        <include name="janino.jar" />
+        <include name="javassist.jar" />
+        <include name="jta.jar" />
+        <include name="juel*.jar" />
+        <include name="livetribe-jsr223.jar" />
+        <include name="mail.jar" />
+        <include name="joda-time.jar" />
+        <include name="mvel2.jar" />
+        <include name="slf4j-api.jar" />
+        <include name="slf4j-jdk14.jar" />
+      </fileset>
+    </copy>
+
+    <!-- copy database driver -->
+    <property name="database.driver.destination.dir"
+              value="${jbpm.home}/install/generated/user-webapp/WEB-INF/lib" />
+    <property name="is.tomcat" value="true" />
+    <antcall target="internal.copy.database.driver" />
+  </target>
+
+  <!-- ### REINSTALL JBOSS ################################################ -->
+  <target name="reinstall.jboss"
+          depends="delete.jboss, install.jboss"
+          description="Deletes the previous jboss installation and re-installs jboss" />
+
+  <target name="reinstall.jboss.and.jbpm"
+          depends="delete.jboss, install.jboss, install.jbpm.into.jboss"
+          description="Deletes the previous jboss installation and re-installs jboss and installs jbpm in it" />
+
+  <!-- ### DELETE JBOSS ################################################### -->
+  <target name="delete.jboss" description="Deletes jboss installation">
+    <delete dir="${jboss.home}" />
+  </target>
+
+  <!-- ### INSTALL JBOSS ################################################## -->
+  <target name="install.jboss"
+          depends="get.jboss"
+          description="Downloads jboss to ${jboss.distro.dir} if its not available and then unzips jboss">
+    <unzip src="${jboss.distro.path}" dest="${jboss.parent.dir}" />
+    <chmod perm="a+x" file="${jboss.home}/bin/run.sh" />
+    <chmod perm="a+x" file="${jboss.home}/bin/shutdown.sh" />
+  </target>
+
+  <!-- ### GET JBOSS ###################################################### -->
+  <target name="get.jboss"
+          unless="is.jboss.distro.available"
+          description="Downloads jboss into ${jboss.distro.dir}">
+    <mkdir dir="${jboss.distro.dir}" />
+    <get src="${jboss.distro.url}" dest="${jboss.distro.path}" />
+  </target>
+
+  <!-- ### INSTALL JBPM INTO JBOSS ######################### -->
+  <target name="install.jbpm.into.jboss"
+          depends="create.cfg"
+          description="Installs jBPM into JBoss">
+    <!-- copy static configuration files -->
+    <copy todir="${jboss.server.config.dir}" overwrite="true">
+      <fileset dir="${jbpm.home}/install/src/jboss/config" />
+    </copy>
+
+    <!-- copy the right hibernate configuration file -->
+    <copy file="${jbpm.home}/install/src/cfg/hibernate/datasource/${database}.hibernate.cfg.xml"
+          tofile="${jboss.server.config.dir}/deploy/jbpm/jbpm-service.sar/jbpm.hibernate.cfg.xml"
+          overwrite="true" />
+
+    <!-- copy the right datasource configuration file and replace the jdbc properties with
+         the values in the jdbc/${database}.properties file -->
+    <copy file="${jbpm.home}/install/src/jboss/datasources/jbpm-${database}-ds.xml"
+          todir="${jboss.server.config.dir}/deploy/jbpm"
+          overwrite="true">
+      <filterset filtersfile="${jdbc.properties.dir}/${database}.properties" />
+    </copy>
+    <replace file="${jboss.server.config.dir}/deploy/jbpm/jbpm-${database}-ds.xml"
+             token="$${bind.address}"
+             value="${bind.address}" />
+
+    <!-- copy the right mail properties file -->
+    <copy file="${cfg.dest.dir}/jbpm.mail.properties"
+          todir="${jboss.server.config.dir}/deploy/jbpm/jbpm-service.sar"
+          overwrite="true" />
+
+    <!-- unzip console.war -->
+    <mkdir dir="${jboss.server.config.dir}/deploy/jbpm/gwt-console-jbpm.war" />
+    <unzip src="${jbpm.home}/lib/gwt-console-jbpm.war"
+           dest="${jboss.server.config.dir}/deploy/jbpm/gwt-console-jbpm.war" />
+
+    <copy todir="${jboss.server.config.dir}/deploy/jbpm" overwrite="true">
+      <fileset dir="${jbpm.home}/lib">
+        <include name="gwt-console-server-jbpm.war" />
+      </fileset>
+    </copy>
+
+    <copy todir="${jboss.server.config.dir}/deploy/jbpm/jbpm-service.sar" overwrite="true">
+      <fileset dir="${jbpm.home}">
+        <include name="jbpm.jar" />
+      </fileset>
+
+      <fileset dir="${jbpm.home}/lib">
+        <include name="antlr-runtime.jar" />
+        <!-- include name="core.jar" /-->
+        <include name="drools-api.jar" />
+        <include name="drools-core.jar" />
+        <include name="drools-compiler.jar" />
+        <include name="freemarker.jar" />
+        <include name="groovy-all.jar" />
+        <include name="gwt-console-server-integration.jar" />
+        <include name="gwt-console-rpc.jar" />
+        <include name="janino.jar" />
+        <include name="jbpm-jboss.jar" />
+        <include name="jbpm-console-integration.jar" />
+        <include name="jbpm-console-form-plugin.jar" />
+        <include name="jbpm-console-graphView-plugin.jar" />
+        <include name="joda-time.jar" />
+        <include name="juel-engine.jar" />
+        <include name="juel-impl.jar" />
+        <include name="livetribe-jsr223.jar" />
+      </fileset>
+    </copy>
+
+    <!-- move console libs -->
+    <move todir="${jboss.server.config.dir}/deploy/jbpm/jbpm-service.sar" verbose="true">
+      <fileset dir="${jboss.server.config.dir}/deploy/jbpm/gwt-console-jbpm.war/WEB-INF/lib">
+        <include name="*.jar" />
+      </fileset>
+    </move>
+
+    <!-- move errai config -->
+    <move todir="${jboss.server.config.dir}/deploy/jbpm/jbpm-service.sar" verbose="true">
+      <fileset dir="${jboss.server.config.dir}/deploy/jbpm/gwt-console-jbpm.war/WEB-INF/classes">
+        <include name="ErraiService.properties" />
+      </fileset>
+    </move>
+
+    <copy todir="${jboss.home}/common/lib" overwrite="true">
+      <fileset dir="${jbpm.home}/lib">
+        <include name="bsh.jar" />
+      </fileset>
+    </copy>
+
+    <mkdir dir="${jboss.home}/docs/examples/jbpm" />
+    <copy todir="${jboss.home}/docs/examples/jbpm" overwrite="true">
+      <fileset dir="${jbpm.home}/install/src/jboss/datasources" />
+    </copy>
+
+    <!-- reporting -->
+    <property name="birt.dir" value="${jboss.server.data.dir}/birt" />
+    <mkdir dir="${birt.dir}" />
+    <unzip src="${jbpm.home}/lib/report-engine.zip" dest="${birt.dir}" />
+    <unzip src="${jbpm.home}/lib/jbpm-console-reports.jar" dest="${birt.dir}" />
+
+    <property name="database.driver.destination.dir"
+              value="${jboss.server.config.dir}/deploy/jbpm/jbpm-service.sar" />
+    <antcall target="internal.copy.database.driver" />
+
+    <!-- Signavio -->
+    <antcall target="install.signavio.into.jboss" />
+  </target>
+
+  <!-- ### INSTALL EXAMPLES INTO JBOSS ################################################ -->
+  <target name="install.examples.into.jboss">
+    <ant antfile="${jbpm.home}/examples/build.xml" target="create.and.deploy.examples" />
+    <mkdir dir="${jboss.server.config.dir}/deploy/jbpm/userlibs" />
+    <copy file="${examples.file}"
+          todir="${jboss.server.config.dir}/deploy/jbpm/userlibs"
+          overwrite="true" />
+  </target>
+
+  <!-- ### START JBOSS ################################################### -->
+  <target name="start.jboss"
+          description="starts jboss and waits till jboss is booted, then lets jboss run in the background">
+    <exec executable="${jboss.home}/bin/run.bat"
+          os="Windows 7,Windows Vista,Windows XP,Windows 2000"
+          spawn="yes">
+      <arg value="-b" />
+      <arg value="${bind.address}" />
+    </exec>
+    <exec executable="${jboss.home}/bin/run.sh" spawn="yes" os="Linux,Mac OS X">
+      <arg value="-b" />
+      <arg value="${bind.address}" />
+    </exec>
+    <waitfor maxwait="5"
+             maxwaitunit="minute"
+             checkevery="30"
+             checkeveryunit="second"
+             timeoutproperty="jboss.timeout">
+      <socket server="${bind.address}" port="8080" />
+    </waitfor>
+    <fail if="jboss.timeout" message="jboss did not start within 5 minutes" />
+  </target>
+
+  <!-- ### STOP JBOSS ################################################### -->
+  <target name="stop.jboss"
+          description="signals jboss to stop, but doesn't wait till its finished">
+    <exec executable="${jboss.home}/bin/shutdown.bat"
+          os="Windows 7,Windows Vista,Windows XP,Windows 2000">
+      <arg value="-s" />
+      <arg value="jnp://${bind.address}:1099" />
+      <arg value="-S" />
+    </exec>
+    <exec executable="${jboss.home}/bin/shutdown.sh" os="Linux,Mac OS X">
+      <arg value="-s" />
+      <arg value="jnp://${bind.address}:1099" />
+      <arg value="-S" />
+    </exec>
+  </target>
+
+  <!-- ### DEMO SETUP TOMCAT ################################################ -->
+  <target name="demo.setup.tomcat"
+          depends="delete.tomcat, install.tomcat, install.jbpm.into.tomcat"
+          description="installs tomcat, installs jbpm into tomcat, starts tomcat, creates the jBPM DB schema, deploys examples, loads example identities, installs and starts eclipse">
+    <antcall target="install.hsqldb.server" />
+    <antcall target="start.hsqldb.server" />
+    <antcall target="create.jbpm.schema" />
+    <antcall target="install.examples.into.tomcat" />
+    <antcall target="load.example.identities" />
+    <antcall target="start.tomcat" />
+    <antcall target="install.eclipse" />
+    <antcall target="start.eclipse" />
+  </target>
+
+  <!-- ### DEMO TEARDOWN TOMCAT ################################################ -->
+  <target name="demo.teardown.tomcat"
+          depends="stop.tomcat, stop.hsqldb.server"
+          description="stops tomcat and then the hsqldb server if needed">
+  </target>
+
+  <!-- ### REINSTALL TOMCAT ################################################ -->
+  <target name="reinstall.tomcat"
+          depends="delete.tomcat, install.tomcat"
+          description="Deletes the previous tomcat installation and re-installs tomcat" />
+
+  <target name="reinstall.tomcat.and.jbpm"
+          depends="delete.tomcat, install.tomcat, install.jbpm.into.tomcat"
+          description="Deletes the previous tomcat installation and re-installs tomcat and installs jbpm in it" />
+
+  <!-- ### DELETE TOMCAT ################################################### -->
+  <target name="delete.tomcat" description="Deletes tomcat installation">
+    <delete dir="${tomcat.home}" />
+  </target>
+
+  <!-- ### INSTALL TOMCAT ################################################## -->
+  <target name="install.tomcat"
+          depends="get.tomcat"
+          description="Downloads tomcat to ${tomcat.distro.dir} if its not available and then unzips tomcat">
+    <unzip src="${tomcat.distro.path}" dest="${tomcat.parent.dir}" />
+    <antcall target="install.tomcat.unix" />
+  </target>
+
+  <target name="install.tomcat.unix" if="is.unix">
+    <chmod perm="a+x">
+      <fileset dir="${tomcat.home}/bin">
+        <include name="*.sh" />
+      </fileset>
+    </chmod>
+  </target>
+
+  <!-- ### GET TOMCAT ###################################################### -->
+  <target name="get.tomcat"
+          unless="is.tomcat.distro.available"
+          description="Downloads tomcat into ${tomcat.distro.dir} if it is not available">
+    <mkdir dir="${tomcat.distro.dir}" />
+    <get src="${tomcat.distro.url}" dest="${tomcat.distro.path}" />
+  </target>
+
+  <!-- ### INSTALL JBPM INTO TOMCAT ####################################### -->
+  <target name="install.jbpm.into.tomcat"
+          depends="create.cfg"
+          description="Installs jBPM into tomcat">
+    <property name="is.tomcat" value="true" />
+
+    <!-- create the jbpm configuration jar file and drop in /lib -->
+    <jar destfile="${tomcat.home}/lib/jbpm.cfg.jar">
+      <fileset dir="${jbpm.home}/install/generated/cfg">
+        <exclude name="logging.properties" />
+      </fileset>
+    </jar>
+
+    <!-- Copy jBPM third party libs into /lib -->
+    <copy todir="${tomcat.home}/lib" overwrite="true">
+      <fileset dir="${jbpm.home}">
+        <include name="jbpm.jar" />
+      </fileset>
+      <fileset dir="${jbpm.home}/lib">
+        <include name="activation.jar" />
+        <include name="antlr.jar" />
+        <include name="antlr-runtime.jar" />
+        <include name="bsh.jar" />
+        <include name="commons-collections.jar" />
+        <include name="commons-logging.jar" />
+        <!-- include name="core.jar" /-->
+        <include name="dom4j.jar" />
+        <include name="drools-api.jar" />
+        <include name="drools-core.jar" />
+        <include name="drools-compiler.jar" />
+        <include name="freemarker.jar" />
+        <include name="groovy-all.jar" />
+        <include name="hibernate-core.jar" />
+        <include name="hibernate-cglib-repack.jar" />
+        <include name="janino.jar" />
+        <include name="javassist.jar" />
+        <include name="jbpm-spi.jar" />
+        <include name="jbpm-tomcat6.jar" />
+        <include name="joda-time.jar" />
+        <include name="jta.jar" />
+        <include name="juel*.jar" />
+        <include name="livetribe-jsr223.jar" />
+        <include name="log4j.jar" />
+        <include name="mail.jar" />
+        <include name="mvel2.jar" />
+        <include name="slf4j-api.jar" />
+        <include name="slf4j-jdk14.jar" />
+        <include name="gwt-console-server-integration.jar" />
+        <include name="gwt-console-rpc.jar" />
+        <include name="jbpm-console-integration.jar" />
+        <include name="jbpm-console-form-plugin.jar" />
+        <include name="jbpm-console-graphView-plugin.jar" />
+      </fileset>
+    </copy>
+
+    <!-- Copy jbpm-console wars and configuration into /webapps -->
+
+    <mkdir dir="${tomcat.home}/webapps/jbpm-console" />
+    <mkdir dir="${tomcat.home}/webapps/gwt-console-server" />
+
+    <unzip src="${jbpm.home}/lib/gwt-console-jbpm.war"
+           dest="${tomcat.home}/webapps/jbpm-console" />
+
+    <unzip src="${jbpm.home}/lib/gwt-console-server-jbpm.war"
+           dest="${tomcat.home}/webapps/gwt-console-server" />
+
+    <move todir="${tomcat.home}/lib">
+      <fileset dir="${tomcat.home}/webapps/jbpm-console/WEB-INF/lib">
+        <include name="guice*.jar" />
+        <include name="errai*.jar" />
+        <include name="mvel*.jar" />
+      </fileset>
+      <fileset dir="${tomcat.home}/webapps/jbpm-console/WEB-INF/classes">
+        <include name="ErraiService.properties" />
+        <include name="ErraiApp.properties" />
+      </fileset>
+    </move>
+
+    <!-- Copy Signavio war into /webapps -->
+    <antcall target="install.signavio.into.tomcat" />
+
+
+    <!-- reporting -->
+    <property name="birt.dir" value="${tomcat.home}/birt" />
+    <mkdir dir="${birt.dir}" />
+    <unzip src="${jbpm.home}/lib/report-engine.zip" dest="${birt.dir}" />
+    <unzip src="${jbpm.home}/lib/jbpm-console-reports.jar" dest="${birt.dir}" />
+
+    <!-- copy database driver -->
+    <property name="database.driver.destination.dir" value="${tomcat.home}/lib" />
+    <antcall target="internal.copy.database.driver" />
+
+    <!-- tweak the tomcat server config for the security domain -->
+    <copy file="${install.src.dir}/tomcat/server.xml"
+          tofile="${tomcat.home}/conf/server.xml"
+          overwrite="true">
+      <filterset filtersfile="${jdbc.properties.dir}/${database}.properties" />
+    </copy>
+    <replace file="${tomcat.home}/conf/server.xml"
+             token="$${bind.address}"
+             value="${bind.address}" />
+  </target>
+
+  <!-- ### INSTALL EXAMPLES INTO TOMCAT ################################################ -->
+  <target name="install.examples.into.tomcat" description="deploys all the example processes">
+    <ant antfile="${jbpm.home}/examples/build.xml" target="create.and.deploy.examples" />
+    <copy file="${examples.file}" todir="${tomcat.home}/lib" overwrite="true" />
+  </target>
+
+  <!-- ### INSTALL HSQLDB SERVER ################################################ -->
+  <target name="install.hsqldb.server" if="is.hsqldb">
+    <delete dir="${hsqldb.server.install.dir}" />
+    <!-- Also deletes old data -->
+    <mkdir dir="${hsqldb.server.install.dir}" />
+    <copy file="${jbpm.home}/lib/hsqldb.jar" todir="${hsqldb.server.install.dir}" />
+    <copy todir="${hsqldb.server.install.dir}">
+      <fileset dir="${hsqldb.server.source.dir}" />
+    </copy>
+    <chmod perm="a+x">
+      <fileset dir="${hsqldb.server.install.dir}">
+        <include name="*.sh" />
+      </fileset>
+    </chmod>
+  </target>
+
+  <!-- ### START HSQLDB SERVER ################################################ -->
+  <target name="start.hsqldb.server" if="is.hsqldb">
+    <java classname="org.hsqldb.Server" fork="yes" spawn="yes">
+      <classpath location="${hsqldb.server.install.dir}/hsqldb.jar" />
+      <arg value="-address" />
+      <arg value="${bind.address}" />
+      <arg value="-port" />
+      <arg value="1701" />
+      <arg value="-dbname.0" />
+      <arg value="jbpmDatabase" />
+    </java>
+    <waitfor maxwait="1"
+             maxwaitunit="minute"
+             checkevery="10"
+             checkeveryunit="second"
+             timeoutproperty="hsqldb.timeout">
+      <socket server="${bind.address}" port="1701" />
+    </waitfor>
+    <fail if="hsqldb.timeout" message="hsqldb server did not start within one minute" />
+  </target>
+
+  <!-- ### SHUTDOWN HSQLDB SERVER ################################################ -->
+  <target name="stop.hsqldb.server" if="is.hsqldb">
+    <sql driver="${jdbc.driver}"
+         password="${jdbc.password}"
+         url="${jdbc.url}"
+         userid="${jdbc.username}"
+         autocommit="true"
+         src="${hsqldb.server.install.dir}/shutdown.sql">
+      <classpath>
+        <fileset dir="${hsqldb.server.install.dir}">
+          <include name="hsqldb.jar" />
+        </fileset>
+      </classpath>
+    </sql>
+  </target>
+
+  <!-- ### START TOMCAT ################################################### -->
+  <target name="start.tomcat"
+          description="Starts Tomcat and waits till it is booted, then lets Tomcat run in the background">
+    <taskdef name="start-tomcat" classname="org.jbpm.pvm.internal.ant.StartTomcatTask">
+      <classpath>
+        <fileset dir="${jbpm.home}">
+          <include name="jbpm.jar" />
+        </fileset>
+      </classpath>
+    </taskdef>
+    <start-tomcat tomcathome="${tomcat.home}" />
+  </target>
+
+  <!-- ### STOP TOMCAT ################################################### -->
+  <target name="stop.tomcat"
+          description="Signals Tomcat to stop, but doesn't wait till its finished">
+    <exec executable="${tomcat.home}/bin/catalina.bat"
+          dir="${tomcat.home}/bin"
+          spawn="yes"
+          os="Windows 7,Windows Vista,Windows XP,Windows 2000">
+      <arg value="stop" />
+    </exec>
+    <exec executable="${tomcat.home}/bin/catalina.sh"
+          dir="${tomcat.home}/bin"
+          spawn="yes"
+          os="Linux,Mac OS X">
+      <arg value="stop" />
+    </exec>
+  </target>
+
+  <!-- ### CREATE JBPM SCHEMA ############################################# -->
+  <target name="create.jbpm.schema"
+          depends="create.cfg"
+          description="creates the jbpm tables in the database">
+    <echo message="creating jbpm schema..." />
+    <copy tofile="${cfg.dest.dir}/jbpm.cfg.xml"
+          file="${install.src.dir}/cfg/jbpm/standalone.testsuite.jbpm.cfg.xml"
+          overwrite="true" />
+    <java classname="org.jbpm.db.Create" fork="true">
+      <arg value="${database}" />
+      <classpath>
+        <pathelement location="${jbpm.home}/install/generated/cfg" />
+        <pathelement location="${jbpm.home}/install/src/db" />
+        <fileset dir="${jbpm.home}">
+          <include name="jbpm.jar" />
+        </fileset>
+        <fileset dir="${jbpm.home}/lib">
+          <include name="*.jar" />
+        </fileset>
+      </classpath>
+    </java>
+  </target>
+
+  <!-- ### UPGRADE JBPM SCHEMA ############################################# -->
+  <target name="upgrade.jbpm.schema"
+          depends="create.cfg"
+          description="Upgrades the jBPM tables in the database to the current version">
+    <echo message="upgrading jbpm schema..." />
+    <copy tofile="${cfg.dest.dir}/jbpm.cfg.xml"
+          file="${install.src.dir}/cfg/jbpm/standalone.testsuite.jbpm.cfg.xml"
+          overwrite="true" />
+    <java classname="org.jbpm.db.Upgrade" fork="true">
+      <arg value="${database}" />
+      <classpath>
+        <pathelement location="${jbpm.home}/install/generated/cfg" />
+        <pathelement location="${jbpm.home}/install/src/db" />
+        <fileset dir="${jbpm.home}">
+          <include name="jbpm.jar" />
+        </fileset>
+        <fileset dir="${jbpm.home}/lib">
+          <include name="*.jar" />
+        </fileset>
+      </classpath>
+    </java>
+  </target>
+
+  <!-- ### DROP JBPM SCHEMA ############################################### -->
+  <target name="drop.jbpm.schema" description="drops the jbpm tables from the database">
+    <echo message="dropping jbpm schema in db ${jdbc.url}" />
+    <sql driver="${jdbc.driver}"
+         url="${jdbc.url}"
+         userid="${jdbc.username}"
+         password="${jdbc.password}"
+         onerror="continue"
+         src="${jbpm.home}/install/src/db/drop/jbpm.${database}.drop.sql">
+      <classpath>
+        <fileset dir="${jbpm.home}/lib">
+          <include name="*.jar" />
+        </fileset>
+      </classpath>
+    </sql>
+  </target>
+
+  <!-- ### LOAD EXAMPLE IDENTITIES ######################################## -->
+  <target name="load.example.identities"
+          description="loads the example users and groups into the database">
+    <echo message="loading example identities in ${jdbc.url}" />
+    <sql driver="${jdbc.driver}"
+         url="${jdbc.url}"
+         userid="${jdbc.username}"
+         password="${jdbc.password}"
+         onerror="continue">
+      <transaction src="${jbpm.home}/install/src/demo/example.identities.sql" />
+      <classpath>
+        <fileset dir="${jbpm.home}/lib">
+          <include name="*.jar" />
+        </fileset>
+      </classpath>
+    </sql>
+  </target>
+
+  <!-- ### START HSQLDB DATABASE MGR ##################################### -->
+  <target name="hsqldb.databasemanager" description="start the hsqldb database manager">
+    <java classname="org.hsqldb.util.DatabaseManager" fork="true">
+      <arg value="-url" />
+      <arg value="jdbc:hsqldb:hsql://${bind.address}:1701" />
+      <classpath>
+        <fileset dir="${jbpm.home}/lib">
+          <include name="hsqldb.jar" />
+        </fileset>
+      </classpath>
+    </java>
+  </target>
+
+  <!-- ### INSTALL ECLIPSE ################################################ -->
+  <target name="install.eclipse"
+          depends="get.eclipse"
+          description="unzips eclipse, downloads eclipse if it is not available in ${eclipse.distro.dir}">
+    <antcall target="internal.install.eclipse.unix" />
+    <antcall target="internal.install.eclipse.windows" />
+  </target>
+
+  <!-- ### GET ECLIPSE ##################################################### -->
+  <condition property="is.eclipse.distro.available">
+    <available file="${eclipse.distro.path}" />
+  </condition>
+  <target name="get.eclipse"
+          unless="is.eclipse.distro.available"
+          description="downloads eclipse to ${eclipse.distro.dir}">
+    <mkdir dir="${eclipse.distro.dir}" />
+    <get src="${eclipse.distro.url}" dest="${eclipse.distro.path}" />
+  </target>
+
+  <!-- ### START ECLIPSE ################################################## -->
+  <target name="start.eclipse" description="starts eclipse">
+    <!-- Windows -->
+    <exec executable="${jbpm.home}/eclipse/eclipse.exe"
+          spawn="yes"
+          os="Windows 7,Windows Vista,Windows XP,Windows 2000">
+      <arg value="-data" />
+      <arg value="${jbpm.home}/workspace" />
+    </exec>
+    <!-- Linux -->
+    <chmod file="${jbpm.home}/eclipse/eclipse" perm="a+x" os="Linux" />
+    <exec executable="${jbpm.home}/eclipse/eclipse" os="Linux">
+      <arg value="-data" />
+      <arg value="${jbpm.home}/workspace" />
+    </exec>
+    <!-- Mac OS X -->
+    <chmod file="${jbpm.home}/eclipse/Eclipse.app/Contents/MacOS/eclipse"
+           perm="a+x"
+           os="Mac OS X" />
+    <exec executable="${jbpm.home}/eclipse/Eclipse.app/Contents/MacOS/eclipse" os="Mac OS X">
+      <arg value="-data" />
+      <arg value="${jbpm.home}/workspace" />
+    </exec>
+  </target>
+
+  <target name="install.signavio.into.jboss"
+          depends="internal.set.signavio.repo.dir"
+          description="installs signavio into jboss">
+    <!-- Current version of Signavio needs to be unpacked in /deploy to work correctly -->
+    <unzip src="${signavio.src.dir}/${signavio.war.file.name}"
+           dest="${jboss.server.deploy.dir}/${signavio.war.file.name}" />
+  </target>
+
+  <target name="install.signavio.into.tomcat"
+          depends="internal.set.signavio.repo.dir"
+          description="installs signavio into tomcat">
+    <copy file="${signavio.src.dir}/${signavio.war.file.name}" todir="${tomcat.webapps.dir}" />
+  </target>
+
+  <!-- ######################## -->
+  <!-- ### INTERNAL TARGETS ### -->
+  <!-- ######################## -->
+
+  <target name="enable.jboss.debug"
+          depends="internal.enable.jboss.debug.jboss500, internal.enable.jboss.debug.jboss510" />
+
+  <target name="internal.enable.jboss.debug.jboss500" if="is.jboss.500">
+    <echo message="enabling debug on ${jboss.home}" />
+    <replace file="${jboss.home}/bin/run.bat"
+             token="rem set JAVA_OPTS=%JAVA_OPTS% -Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y"
+             value="set JAVA_OPTS=%JAVA_OPTS% -Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n" />
+    <echo message="copying customized log file to ${jboss.server.config.dir}/conf" />
+    <copy file="${jbpm.home}/install/src/jboss/log/jboss-log4j.xml"
+          todir="${jboss.server.config.dir}/conf"
+          overwrite="true" />
+  </target>
+
+  <target name="internal.enable.jboss.debug.jboss510" if="is.jboss.510">
+    <echo message="enabling debug on ${jboss.home}" />
+    <replace file="${jboss.home}/bin/run.conf.bat"
+             token="rem set &quot;JAVA_OPTS=%JAVA_OPTS% -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n&quot;"
+             value="set &quot;JAVA_OPTS=%JAVA_OPTS% -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n&quot;" />
+    <echo message="copying customized log file to ${jboss.server.config.dir}/conf" />
+    <copy file="${jbpm.home}/install/src/jboss/log/jboss-log4j.xml"
+          todir="${jboss.server.config.dir}/conf"
+          overwrite="true" />
+  </target>
+
+  <target name="internal.copy.database.driver">
+    <condition property="database.driver" value="mysql-connector-java.jar">
+      <equals arg1="${database}" arg2="mysql" />
+    </condition>
+    <condition property="database.driver" value="ojdbc14.jar">
+      <equals arg1="${database}" arg2="oracle" />
+    </condition>
+    <condition property="database.driver" value="mysql-connector-java.jar">
+      <equals arg1="${database}" arg2="mysql" />
+    </condition>
+    <condition property="database.driver" value="postgresql.jar">
+      <equals arg1="${database}" arg2="postgresql" />
+    </condition>
+    <condition property="database.driver" value="hsqldb.jar">
+      <and>
+        <equals arg1="${database}" arg2="hsqldb" />
+        <equals arg1="${is.tomcat}" arg2="true" />
+      </and>
+    </condition>
+    <antcall target="internal.copy.database.driver.if.needed" />
+  </target>
+
+  <target name="internal.copy.database.driver.if.needed" if="database.driver">
+    <available file="${jbpm.home}/lib/${database.driver}"
+               property="database.driver.jar.available" />
+    <fail message="please download the ${database} driver jar and put it in the ${jbpm.home}/lib directory"
+          unless="database.driver.jar.available" />
+    <echo message="Copying database driver ${database.driver} to ${database.driver.destination.dir}" />
+    <copy file="${jbpm.home}/lib/${database.driver}"
+          todir="${database.driver.destination.dir}" />
+  </target>
+
+  <target name="internal.set.signavio.repo.dir">
+    <mkdir dir="${jbpm.home}/${signavio.repo.dir.name}" />
+
+    <!-- unzip the signavio war -->
+    <delete dir="${signavio.tmp.dir}" />
+    <mkdir dir="${signavio.tmp.dir}" />
+    <unzip src="${jbpm.home}/install/src/signavio/${signavio.war.file.name}"
+           dest="${signavio.tmp.dir}" />
+
+    <!-- Replace Windows backslash with forward slash (see JBPM-2540) -->
+    <pathconvert property="signavio.repo.path" targetos="unix">
+      <map from="${basedir}/" to='' />
+      <map from="${basedir}\\" to='' />
+      <path location="${jbpm.home}/${signavio.repo.dir.name}" />
+    </pathconvert>
+
+    <!-- replace the repo dir in he unzipped WEB-INF/web.xml -->
+    <replaceregexp file="${signavio.tmp.dir}/WEB-INF/web.xml"
+                   flags="s"
+                   match="&lt;param-name&gt;fileSystemRootDirectory&lt;/param-name&gt;.*?&lt;param-value&gt;.*?&lt;/param-value&gt;"
+                   replace="&lt;param-name&gt;fileSystemRootDirectory&lt;/param-name&gt;&lt;param-value&gt;${signavio.repo.path}&lt;/param-value&gt;" />
+
+    <!-- zip it up again and copy it back to the signavio src dir-->
+    <zip destfile="${signavio.tmp.dir}/${signavio.war.file.name}"
+         basedir="${signavio.tmp.dir}" />
+    <copy file="${signavio.tmp.dir}/${signavio.war.file.name}"
+          todir="${signavio.src.dir}"
+          overwrite="true" />
+  </target>
+
+  <target name="internal.install.eclipse.windows" if="is.windows">
+    <unzip src="${eclipse.distro.dir}/${eclipse.filename}"
+           dest="${jbpm.home}"
+           overwrite="true" />
+  </target>
+
+  <target name="internal.install.eclipse.unix" if="is.unix">
+    <gunzip src="${eclipse.distro.dir}/${eclipse.filename}" dest="${eclipse.distro.dir}" />
+    <untar src="${eclipse.distro.dir}/${eclipse.tarfilename}"
+           dest="${jbpm.home}"
+           overwrite="true" />
+    <delete file="${eclipse.distro.dir}/${eclipse.tarfilename}" />
+  </target>
+</project>

Deleted: jbpm4/tags/jbpm-4.4/modules/distro/src/main/files/install/src/tomcat/server.xml
===================================================================
--- jbpm4/trunk/modules/distro/src/main/files/install/src/tomcat/server.xml	2010-07-15 11:23:41 UTC (rev 6494)
+++ jbpm4/tags/jbpm-4.4/modules/distro/src/main/files/install/src/tomcat/server.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -1,50 +0,0 @@
-<?xml version='1.0' encoding='utf-8'?>
-  <!--
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements. See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version
-    2.0 (the "License"); you may not use this file except in compliance
-    with the License. You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0 Unless required by
-    applicable law or agreed to in writing, software distributed under
-    the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
-    OR CONDITIONS OF ANY KIND, either express or implied. See the
-    License for the specific language governing permissions and
-    limitations under the License.
-  -->
-<Server port="8005" shutdown="SHUTDOWN">
-
-  <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
-  <Listener className="org.apache.catalina.core.JasperListener" />
-  <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
-  <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
-
-  <Service name="Catalina">
-
-    <Connector address="@bind.address@" port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />
-
-    <Connector address="@bind.address@" port="8009" protocol="AJP/1.3" redirectPort="8443" />
-
-    <Engine name="Catalina" defaultHost="localhost">
-
-      <Host name="localhost" appBase="webapps" unpackWARs="true"
-        autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false">
-
-        <!-- 
-          Current workaround for using the JBPM identity tables on Tomcat.
-          Setting the Realm on the context with path /jbpm-console did not seem
-          to work. Note that this workaround means that the cmplete localhost 
-          domain will use this realm !
-         -->
-        <Realm className="org.jbpm.integration.tomcat6.JbpmConsoleRealm"
-               driverName="@jdbc.driver@" 
-               connectionUrl="@jdbc.url@"
-               connectionName="@jdbc.username@" 
-               connectionPassword="@jdbc.password@" />
-
-      </Host>
-    </Engine>
-  </Service>
-</Server>
\ No newline at end of file

Copied: jbpm4/tags/jbpm-4.4/modules/distro/src/main/files/install/src/tomcat/server.xml (from rev 6500, jbpm4/trunk/modules/distro/src/main/files/install/src/tomcat/server.xml)
===================================================================
--- jbpm4/tags/jbpm-4.4/modules/distro/src/main/files/install/src/tomcat/server.xml	                        (rev 0)
+++ jbpm4/tags/jbpm-4.4/modules/distro/src/main/files/install/src/tomcat/server.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -0,0 +1,50 @@
+<?xml version='1.0' encoding='utf-8'?>
+  <!--
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements. See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version
+    2.0 (the "License"); you may not use this file except in compliance
+    with the License. You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0 Unless required by
+    applicable law or agreed to in writing, software distributed under
+    the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
+    OR CONDITIONS OF ANY KIND, either express or implied. See the
+    License for the specific language governing permissions and
+    limitations under the License.
+  -->
+<Server port="8005" shutdown="SHUTDOWN">
+
+  <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
+  <Listener className="org.apache.catalina.core.JasperListener" />
+  <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
+  <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
+
+  <Service name="Catalina">
+
+    <Connector address="${bind.address}" port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />
+
+    <Connector address="${bind.address}" port="8009" protocol="AJP/1.3" redirectPort="8443" />
+
+    <Engine name="Catalina" defaultHost="localhost">
+
+      <Host name="localhost" appBase="webapps" unpackWARs="true"
+        autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false">
+
+        <!--
+          Current workaround for using the JBPM identity tables on Tomcat.
+          Setting the Realm on the context with path /jbpm-console did not seem
+          to work. Note that this workaround means that the cmplete localhost
+          domain will use this realm !
+         -->
+        <Realm className="org.jbpm.integration.tomcat6.JbpmConsoleRealm"
+               driverName="@jdbc.driver@"
+               connectionUrl="@jdbc.url@"
+               connectionName="@jdbc.username@"
+               connectionPassword="@jdbc.password@" />
+
+      </Host>
+    </Engine>
+  </Service>
+</Server>
\ No newline at end of file

Deleted: jbpm4/tags/jbpm-4.4/modules/enterprise/pom.xml
===================================================================
--- jbpm4/trunk/modules/enterprise/pom.xml	2010-07-15 11:23:41 UTC (rev 6494)
+++ jbpm4/tags/jbpm-4.4/modules/enterprise/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -1,168 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ====================================================================== -->
-<!--  jBPM: Workflow in Java                                                -->
-<!--                                                                        -->
-<!--  Distributable under LGPL license.                                     -->
-<!--  See terms of license at http://www.gnu.org.                           -->
-<!-- ====================================================================== -->
-
-<!-- $Id$ -->
-
-<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>
-
-  <name>jBPM 4 - Enterprise</name>
-  <groupId>org.jbpm.jbpm4</groupId>
-  <artifactId>jbpm-enterprise</artifactId>
-  <packaging>jar</packaging>
-
-  <!-- Parent -->
-  <parent>
-    <groupId>org.jbpm.jbpm4</groupId>
-    <artifactId>jbpm</artifactId>
-    <version>4.4-SNAPSHOT</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-
-  <!-- Dependencies -->
-  <dependencies>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-api</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-pvm</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-test-base</artifactId>
-    </dependency>
-
-    <dependency>
-      <groupId>jboss</groupId>
-      <artifactId>jboss-j2ee</artifactId>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>javax.servlet</groupId>
-      <artifactId>servlet-api</artifactId>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.hibernate</groupId>
-      <artifactId>hibernate-core</artifactId>
-      <scope>provided</scope>
-    </dependency>
-
-    <dependency>
-      <groupId>cactus</groupId>
-      <artifactId>cactus.core</artifactId>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-
-  <!-- Plugins -->
-  <build>
-    <plugins>
-      <plugin>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <configuration>
-          <skipTests>true</skipTests>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-  
-<!-- 
-    <testResources>
-      <testResource>
-        <directory>src/test/resources</directory>
-        <filtering>true</filtering>
-      </testResource>
-    </testResources>
-
-    <plugins>
-
-      <plugin>
-        <artifactId>maven-assembly-plugin</artifactId>
-        <executions>
-
-          <execution>
-            <id>assembly-test-dependencies</id>
-            <phase>generate-test-resources</phase>
-            <goals>
-              <goal>directory-single</goal>
-            </goals>
-            <configuration>
-              <finalName>test-dependencies</finalName>
-              <ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
-              <appendAssemblyId>false</appendAssemblyId>
-              <descriptors>
-                <descriptor>scripts/assembly-test-dependencies.xml</descriptor>
-              </descriptors>
-            </configuration>
-          </execution>
-
-        </executions>
-      </plugin>
-
-      <plugin>
-        <artifactId>maven-antrun-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>build-test-jars</id>
-            <phase>process-test-classes</phase>
-            <goals>
-              <goal>run</goal>
-            </goals>
-            <configuration>
-              <tasks>
-                <property name="build.dir" value="${project.build.directory}" />
-                <property name="test.resources.dir" value="${build.dir}/test-classes" />
-                <property name="build.finalName" value="${project.build.finalName}" />
-                <ant antfile="scripts/antrun-test-jars.xml" target="build-jars" />
-              </tasks>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-
-      <plugin>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <configuration>
-          <excludes>
-            <exclude>org/jbpm/enterprise/internal/ejb/TimerTest.java</exclude>
-            <exclude>org/jbpm/enterprise/internal/ejb/EjbTimerSessionTest.java</exclude>
-          </excludes>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-
-  <profiles>
-    <profile>
-      <id>no-bind-address</id>
-      <activation>
-        <property>
-          <name>!bind.address</name>
-        </property>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <artifactId>maven-surefire-plugin</artifactId>
-            <configuration>
-              <skipTests>true</skipTests>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-
-  </profiles>
-
- -->
-</project>
\ No newline at end of file

Copied: jbpm4/tags/jbpm-4.4/modules/enterprise/pom.xml (from rev 6502, jbpm4/trunk/modules/enterprise/pom.xml)
===================================================================
--- jbpm4/tags/jbpm-4.4/modules/enterprise/pom.xml	                        (rev 0)
+++ jbpm4/tags/jbpm-4.4/modules/enterprise/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -0,0 +1,167 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!--  jBPM: Workflow in Java                                                -->
+<!--                                                                        -->
+<!--  Distributable under LGPL license.                                     -->
+<!--  See terms of license at http://www.gnu.org.                           -->
+<!-- ====================================================================== -->
+
+<!-- $Id$ -->
+
+<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>
+
+  <name>jBPM 4 - Enterprise</name>
+  <groupId>org.jbpm.jbpm4</groupId>
+  <artifactId>jbpm-enterprise</artifactId>
+  <packaging>jar</packaging>
+
+  <!-- Parent -->
+  <parent>
+    <groupId>org.jbpm.jbpm4</groupId>
+    <artifactId>jbpm</artifactId>
+    <version>4.4</version>
+    <relativePath>../../pom.xml</relativePath>
+  </parent>
+
+  <!-- Dependencies -->
+  <dependencies>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-api</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-pvm</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-test-base</artifactId>
+    </dependency>
+
+    <dependency>
+      <groupId>jboss</groupId>
+      <artifactId>jboss-j2ee</artifactId>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>javax.servlet</groupId>
+      <artifactId>servlet-api</artifactId>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.hibernate</groupId>
+      <artifactId>hibernate-core</artifactId>
+      <scope>provided</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>cactus</groupId>
+      <artifactId>cactus.core</artifactId>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+
+  <!-- Plugins -->
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <skipTests>true</skipTests>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+  
+<!-- 
+    <testResources>
+      <testResource>
+        <directory>src/test/resources</directory>
+        <filtering>true</filtering>
+      </testResource>
+    </testResources>
+
+    <plugins>
+
+      <plugin>
+        <artifactId>maven-assembly-plugin</artifactId>
+        <executions>
+
+          <execution>
+            <id>assembly-test-dependencies</id>
+            <phase>generate-test-resources</phase>
+            <goals>
+              <goal>directory-single</goal>
+            </goals>
+            <configuration>
+              <finalName>test-dependencies</finalName>
+              <ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
+              <appendAssemblyId>false</appendAssemblyId>
+              <descriptors>
+                <descriptor>scripts/assembly-test-dependencies.xml</descriptor>
+              </descriptors>
+            </configuration>
+          </execution>
+
+        </executions>
+      </plugin>
+
+      <plugin>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>build-test-jars</id>
+            <phase>process-test-classes</phase>
+            <goals>
+              <goal>run</goal>
+            </goals>
+            <configuration>
+              <tasks>
+                <property name="build.dir" value="${project.build.directory}" />
+                <property name="test.resources.dir" value="${build.dir}/test-classes" />
+                <property name="build.finalName" value="${project.build.finalName}" />
+                <ant antfile="scripts/antrun-test-jars.xml" target="build-jars" />
+              </tasks>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+
+      <plugin>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <excludes>
+            <exclude>org/jbpm/enterprise/internal/ejb/TimerTest.java</exclude>
+            <exclude>org/jbpm/enterprise/internal/ejb/EjbTimerSessionTest.java</exclude>
+          </excludes>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
+  <profiles>
+    <profile>
+      <id>no-bind-address</id>
+      <activation>
+        <property>
+          <name>!bind.address</name>
+        </property>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <skipTests>true</skipTests>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+
+  </profiles>
+
+ -->
+</project>
\ No newline at end of file

Deleted: jbpm4/tags/jbpm-4.4/modules/examples/pom.xml
===================================================================
--- jbpm4/trunk/modules/examples/pom.xml	2010-07-15 11:23:41 UTC (rev 6494)
+++ jbpm4/tags/jbpm-4.4/modules/examples/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -1,183 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ====================================================================== -->
-<!--  jBPM: Workflow in Java                                                -->
-<!--                                                                        -->
-<!--  Distributable under LGPL license.                                     -->
-<!--  See terms of license at http://www.gnu.org.                           -->
-<!-- ====================================================================== -->
-
-<!-- $Id$ -->
-
-<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">
-
-  <!-- Module Info -->
-  <modelVersion>4.0.0</modelVersion>
-  <name>jBPM 4 - Examples</name>
-  <groupId>org.jbpm.jbpm4</groupId>
-  <artifactId>jbpm-examples</artifactId>
-  <packaging>jar</packaging>
-
-  <!-- Parent -->
-  <parent>
-    <groupId>org.jbpm.jbpm4</groupId>
-    <artifactId>jbpm</artifactId>
-    <version>4.4-SNAPSHOT</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-
-  <!-- Dependencies -->
-  <dependencies>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-api</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-test-base</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-jpdl</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-bpmn</artifactId>
-    </dependency>
-
-    <dependency>
-      <groupId>org.codehaus.woodstox</groupId>
-      <artifactId>wstx-lgpl</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.drools</groupId>
-      <artifactId>drools-core</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.drools</groupId>
-      <artifactId>drools-compiler</artifactId>
-      <scope>runtime</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.subethamail</groupId>
-      <artifactId>subethasmtp-wiser</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.springframework</groupId>
-      <artifactId>spring</artifactId>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-
-  <build>
-    <plugins>
-      <plugin>
-        <artifactId>maven-jar-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>generate-test-jar</id>
-            <phase>package</phase>
-            <goals>
-              <goal>test-jar</goal>
-            </goals>
-            <configuration>
-              <excludes>
-                <exclude>jbpm.*</exclude>
-                <exclude>logging.properties</exclude>
-                <exclude>META-INF/*</exclude>
-              </excludes>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-
-  <profiles>
-
-    <!-- -Ddatabase= -->
-    <profile>
-      <id>run.database.testsuite</id>
-      <activation>
-        <property>
-          <name>database</name>
-        </property>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <artifactId>maven-antrun-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>database-test-cfg-customization</id>
-                <phase>test-compile</phase>
-                <goals>
-                  <goal>run</goal>
-                </goals>
-                <configuration>
-                  <tasks>
-                    <echo message="database: ${database}" />
-                    <mkdir dir="target/jdbc.properties" />
-                    <copy todir="target/jdbc.properties" overwrite="true">
-                      <fileset dir="../../qa/jdbc" />
-                    </copy>
-                    <copy todir="target/jdbc.properties" overwrite="true" failonerror="false">
-                      <fileset dir="${user.home}/.jbpm4/jdbc" />
-                    </copy>
-                    <ant antfile="../distro/src/main/files/install/build.xml" target="create.cfg">
-                      <property name="tx" value="standalone.testsuite" />
-                      <property name="mail.cfg" value="testsuite" />
-                      <property name="database" value="${database}" />
-                      <property name="cfg.dest.dir" value="target/test-classes" />
-                      <property name="install.src.dir" value="../distro/src/main/files/install/src" />
-                      <property name="jdbc.properties.dir" value="target/jdbc.properties" />
-                      <property name="logging" value="none" /> <!-- then the original logging.properties in the resources of this project will be used -->
-                    </ant>
-                  </tasks>
-                </configuration>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-
-    <!-- Note: Spring profile cannot be used together with 'database' 
-         property currently (see http://jira.codehaus.org/browse/MNG-3328) -->
-    <profile>
-      <id>run.spring.testsuite</id>
-      <build>
-        <plugins>
-          <plugin>
-            <artifactId>maven-antrun-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>spring-test-cfg-customization</id>
-                <phase>test-compile</phase>
-                <goals>
-                  <goal>run</goal>
-                </goals>
-                <configuration>
-                  <tasks>
-                    <ant antfile="../distro/src/main/files/install/build.xml" target="create.cfg">
-                      <property name="tx" value="spring.testsuite" />
-                      <property name="hibernate.connection.type" value="spring" />
-                      <property name="database" value="hsqldb.inmem" />
-                      <property name="mail.cfg" value="testsuite" />
-                      <property name="cfg.dest.dir" value="target/test-classes" />
-                      <property name="install.src.dir" value="../distro/src/main/files/install/src" />
-                      <property name="jdbc.properties.dir" value="../distro/src/main/files/install/jdbc" />
-                      <property name="logging" value="none" />
-                    </ant>
-                  </tasks>
-                </configuration>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
-</project>
\ No newline at end of file

Copied: jbpm4/tags/jbpm-4.4/modules/examples/pom.xml (from rev 6502, jbpm4/trunk/modules/examples/pom.xml)
===================================================================
--- jbpm4/tags/jbpm-4.4/modules/examples/pom.xml	                        (rev 0)
+++ jbpm4/tags/jbpm-4.4/modules/examples/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -0,0 +1,182 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!--  jBPM: Workflow in Java                                                -->
+<!--                                                                        -->
+<!--  Distributable under LGPL license.                                     -->
+<!--  See terms of license at http://www.gnu.org.                           -->
+<!-- ====================================================================== -->
+
+<!-- $Id$ -->
+
+<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">
+
+  <!-- Module Info -->
+  <modelVersion>4.0.0</modelVersion>
+  <name>jBPM 4 - Examples</name>
+  <groupId>org.jbpm.jbpm4</groupId>
+  <artifactId>jbpm-examples</artifactId>
+  <packaging>jar</packaging>
+
+  <!-- Parent -->
+  <parent>
+    <groupId>org.jbpm.jbpm4</groupId>
+    <artifactId>jbpm</artifactId>
+    <version>4.4</version>
+    <relativePath>../../pom.xml</relativePath>
+  </parent>
+
+  <!-- Dependencies -->
+  <dependencies>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-api</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-test-base</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-jpdl</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-bpmn</artifactId>
+    </dependency>
+
+    <dependency>
+      <groupId>org.codehaus.woodstox</groupId>
+      <artifactId>wstx-lgpl</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.drools</groupId>
+      <artifactId>drools-core</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.drools</groupId>
+      <artifactId>drools-compiler</artifactId>
+      <scope>runtime</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.subethamail</groupId>
+      <artifactId>subethasmtp-wiser</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.springframework</groupId>
+      <artifactId>spring</artifactId>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-jar-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>generate-test-jar</id>
+            <phase>package</phase>
+            <goals>
+              <goal>test-jar</goal>
+            </goals>
+            <configuration>
+              <excludes>
+                <exclude>jbpm.*</exclude>
+                <exclude>logging.properties</exclude>
+                <exclude>META-INF/*</exclude>
+              </excludes>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+
+  <profiles>
+
+    <!-- -Ddatabase= -->
+    <profile>
+      <id>run.database.testsuite</id>
+      <activation>
+        <property>
+          <name>database</name>
+        </property>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>database-test-cfg-customization</id>
+                <phase>test-compile</phase>
+                <goals>
+                  <goal>run</goal>
+                </goals>
+                <configuration>
+                  <tasks>
+                    <echo message="database: ${database}" />
+                    <mkdir dir="target/jdbc.properties" />
+                    <copy todir="target/jdbc.properties" overwrite="true">
+                      <fileset dir="../../qa/jdbc" />
+                    </copy>
+                    <copy todir="target/jdbc.properties" overwrite="true" failonerror="false">
+                      <fileset dir="${user.home}/.jbpm4/jdbc" />
+                    </copy>
+                    <ant antfile="../distro/src/main/files/install/build.xml" target="create.cfg">
+                      <property name="tx" value="standalone.testsuite" />
+                      <property name="mail.cfg" value="testsuite" />
+                      <property name="database" value="${database}" />
+                      <property name="cfg.dest.dir" value="target/test-classes" />
+                      <property name="install.src.dir" value="../distro/src/main/files/install/src" />
+                      <property name="jdbc.properties.dir" value="target/jdbc.properties" />
+                      <property name="logging" value="none" /> <!-- then the original logging.properties in the resources of this project will be used -->
+                    </ant>
+                  </tasks>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+
+    <!-- Note: Spring profile cannot be used together with 'database' 
+         property currently (see http://jira.codehaus.org/browse/MNG-3328) -->
+    <profile>
+      <id>run.spring.testsuite</id>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>spring-test-cfg-customization</id>
+                <phase>test-compile</phase>
+                <goals>
+                  <goal>run</goal>
+                </goals>
+                <configuration>
+                  <tasks>
+                    <ant antfile="../distro/src/main/files/install/build.xml" target="create.cfg">
+                      <property name="tx" value="spring.testsuite" />
+                      <property name="hibernate.connection.type" value="spring" />
+                      <property name="database" value="hsqldb.inmem" />
+                      <property name="mail.cfg" value="testsuite" />
+                      <property name="cfg.dest.dir" value="target/test-classes" />
+                      <property name="install.src.dir" value="../distro/src/main/files/install/src" />
+                      <property name="jdbc.properties.dir" value="../distro/src/main/files/install/jdbc" />
+                      <property name="logging" value="none" />
+                    </ant>
+                  </tasks>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+</project>
\ No newline at end of file

Deleted: jbpm4/tags/jbpm-4.4/modules/integration/console/pom.xml
===================================================================
--- jbpm4/trunk/modules/integration/console/pom.xml	2010-07-15 11:23:41 UTC (rev 6494)
+++ jbpm4/tags/jbpm-4.4/modules/integration/console/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -1,74 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ====================================================================== -->
-<!--  jBPM: Workflow in Java                                                -->
-<!--                                                                        -->
-<!--  Distributable under LGPL license.                                     -->
-<!--  See terms of license at http://www.gnu.org.                           -->
-<!-- ====================================================================== -->
-
-<!-- $Id$ -->
-
-<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>
-
-  <name>jBPM 4 - Integration Console</name>
-  <description>JBoss jBPM - GWT console integration</description>
-
-  <groupId>org.jbpm.jbpm4</groupId>
-  <artifactId>jbpm-console-integration</artifactId>
-  <packaging>jar</packaging>
-
-  <parent>
-    <groupId>org.jbpm.jbpm4</groupId>
-    <artifactId>jbpm-integration</artifactId>
-    <version>4.4-SNAPSHOT</version>
-  </parent>
-
-  <!-- Properties -->
-  <properties>
-    <javax.jaxb.version>2.1</javax.jaxb.version>
-  </properties>
-
-  <!-- Dependencies -->
-  <dependencies>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-api</artifactId>
-      <version>${project.version}</version>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-pvm</artifactId>
-      <version>${project.version}</version>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.jboss.bpm</groupId>
-      <artifactId>gwt-console-server-integration</artifactId>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>javax.xml.bind</groupId>
-      <artifactId>jaxb-api</artifactId>
-      <version>${javax.jaxb.version}</version>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>jboss</groupId>
-      <artifactId>jboss-j2ee</artifactId>
-      <scope>provided</scope>
-    </dependency>
-
-    <dependency>
-      <groupId>org.jboss.errai</groupId>
-      <artifactId>errai-common</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.jboss.errai</groupId>
-      <artifactId>errai-bus</artifactId>
-    </dependency>
-  </dependencies>
-</project>

Copied: jbpm4/tags/jbpm-4.4/modules/integration/console/pom.xml (from rev 6502, jbpm4/trunk/modules/integration/console/pom.xml)
===================================================================
--- jbpm4/tags/jbpm-4.4/modules/integration/console/pom.xml	                        (rev 0)
+++ jbpm4/tags/jbpm-4.4/modules/integration/console/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!--  jBPM: Workflow in Java                                                -->
+<!--                                                                        -->
+<!--  Distributable under LGPL license.                                     -->
+<!--  See terms of license at http://www.gnu.org.                           -->
+<!-- ====================================================================== -->
+
+<!-- $Id$ -->
+
+<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>
+
+  <name>jBPM 4 - Integration Console</name>
+  <description>JBoss jBPM - GWT console integration</description>
+
+  <groupId>org.jbpm.jbpm4</groupId>
+  <artifactId>jbpm-console-integration</artifactId>
+  <packaging>jar</packaging>
+
+  <parent>
+    <groupId>org.jbpm.jbpm4</groupId>
+    <artifactId>jbpm-integration</artifactId>
+    <version>4.4</version>
+  </parent>
+
+  <!-- Properties -->
+  <properties>
+    <javax.jaxb.version>2.1</javax.jaxb.version>
+  </properties>
+
+  <!-- Dependencies -->
+  <dependencies>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-api</artifactId>
+      <version>${project.version}</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-pvm</artifactId>
+      <version>${project.version}</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.jboss.bpm</groupId>
+      <artifactId>gwt-console-server-integration</artifactId>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+      <version>${javax.jaxb.version}</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>jboss</groupId>
+      <artifactId>jboss-j2ee</artifactId>
+      <scope>provided</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>org.jboss.errai</groupId>
+      <artifactId>errai-common</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.jboss.errai</groupId>
+      <artifactId>errai-bus</artifactId>
+    </dependency>
+  </dependencies>
+</project>

Deleted: jbpm4/tags/jbpm-4.4/modules/integration/form-plugin/pom.xml
===================================================================
--- jbpm4/trunk/modules/integration/form-plugin/pom.xml	2010-07-15 11:23:41 UTC (rev 6494)
+++ jbpm4/tags/jbpm-4.4/modules/integration/form-plugin/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -1,59 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ====================================================================== -->
-<!--  jBPM: Workflow in Java                                                -->
-<!--                                                                        -->
-<!--  Distributable under LGPL license.                                     -->
-<!--  See terms of license at http://www.gnu.org.                           -->
-<!-- ====================================================================== -->
-
-<!-- $Id$ -->
-
-<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>
-
-  <name>jBPM 4 - Integration Form Plugin</name>
-  <description>JBoss jBPM - GWT console Task Form Plugin</description>
-
-  <groupId>org.jbpm.jbpm4</groupId>
-  <artifactId>jbpm-console-form-plugin</artifactId>
-  <packaging>jar</packaging>
-
-  <parent>
-    <groupId>org.jbpm.jbpm4</groupId>
-    <artifactId>jbpm-integration</artifactId>
-    <version>4.4-SNAPSHOT</version>
-  </parent>
-
-  <!-- Dependencies -->
-  <dependencies>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-api</artifactId>
-      <version>${project.version}</version>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-pvm</artifactId>
-      <version>${project.version}</version>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.jboss.bpm</groupId>
-      <artifactId>gwt-console-server-integration</artifactId>
-      <scope>provided</scope>
-    </dependency>
-
-    <dependency>
-      <groupId>javax.activation</groupId>
-      <artifactId>activation</artifactId>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.freemarker</groupId>
-      <artifactId>freemarker</artifactId>
-    </dependency>
-  </dependencies>
-</project>

Copied: jbpm4/tags/jbpm-4.4/modules/integration/form-plugin/pom.xml (from rev 6502, jbpm4/trunk/modules/integration/form-plugin/pom.xml)
===================================================================
--- jbpm4/tags/jbpm-4.4/modules/integration/form-plugin/pom.xml	                        (rev 0)
+++ jbpm4/tags/jbpm-4.4/modules/integration/form-plugin/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!--  jBPM: Workflow in Java                                                -->
+<!--                                                                        -->
+<!--  Distributable under LGPL license.                                     -->
+<!--  See terms of license at http://www.gnu.org.                           -->
+<!-- ====================================================================== -->
+
+<!-- $Id$ -->
+
+<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>
+
+  <name>jBPM 4 - Integration Form Plugin</name>
+  <description>JBoss jBPM - GWT console Task Form Plugin</description>
+
+  <groupId>org.jbpm.jbpm4</groupId>
+  <artifactId>jbpm-console-form-plugin</artifactId>
+  <packaging>jar</packaging>
+
+  <parent>
+    <groupId>org.jbpm.jbpm4</groupId>
+    <artifactId>jbpm-integration</artifactId>
+    <version>4.4</version>
+  </parent>
+
+  <!-- Dependencies -->
+  <dependencies>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-api</artifactId>
+      <version>${project.version}</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-pvm</artifactId>
+      <version>${project.version}</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.jboss.bpm</groupId>
+      <artifactId>gwt-console-server-integration</artifactId>
+      <scope>provided</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>javax.activation</groupId>
+      <artifactId>activation</artifactId>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.freemarker</groupId>
+      <artifactId>freemarker</artifactId>
+    </dependency>
+  </dependencies>
+</project>

Deleted: jbpm4/tags/jbpm-4.4/modules/integration/graphView-plugin/pom.xml
===================================================================
--- jbpm4/trunk/modules/integration/graphView-plugin/pom.xml	2010-07-15 11:23:41 UTC (rev 6494)
+++ jbpm4/tags/jbpm-4.4/modules/integration/graphView-plugin/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -1,54 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ====================================================================== -->
-<!--  jBPM: Workflow in Java                                                -->
-<!--                                                                        -->
-<!--  Distributable under LGPL license.                                     -->
-<!--  See terms of license at http://www.gnu.org.                           -->
-<!-- ====================================================================== -->
-
-<!-- $Id$ -->
-
-<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>
-
-  <name>jBPM 4 - Integration GraphView Plugin</name>
-  <description>JBoss jBPM - GWT console Graph Viewer Plugin</description>
-  <groupId>org.jbpm.jbpm4</groupId>
-  <artifactId>jbpm-console-graphView-plugin</artifactId>
-  <packaging>jar</packaging>
-
-  <parent>
-    <groupId>org.jbpm.jbpm4</groupId>
-    <artifactId>jbpm-integration</artifactId>
-    <version>4.4-SNAPSHOT</version>
-  </parent>
-
-  <!-- Dependencies -->
-  <dependencies>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-api</artifactId>
-      <version>${project.version}</version>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-pvm</artifactId>
-      <version>${project.version}</version>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.jboss.bpm</groupId>
-      <artifactId>gwt-console-server-integration</artifactId>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>javax.xml.bind</groupId>
-      <artifactId>jaxb-api</artifactId>
-      <version>2.1</version>
-      <scope>provided</scope>
-    </dependency>
-  </dependencies>
-</project>

Copied: jbpm4/tags/jbpm-4.4/modules/integration/graphView-plugin/pom.xml (from rev 6502, jbpm4/trunk/modules/integration/graphView-plugin/pom.xml)
===================================================================
--- jbpm4/tags/jbpm-4.4/modules/integration/graphView-plugin/pom.xml	                        (rev 0)
+++ jbpm4/tags/jbpm-4.4/modules/integration/graphView-plugin/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!--  jBPM: Workflow in Java                                                -->
+<!--                                                                        -->
+<!--  Distributable under LGPL license.                                     -->
+<!--  See terms of license at http://www.gnu.org.                           -->
+<!-- ====================================================================== -->
+
+<!-- $Id$ -->
+
+<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>
+
+  <name>jBPM 4 - Integration GraphView Plugin</name>
+  <description>JBoss jBPM - GWT console Graph Viewer Plugin</description>
+  <groupId>org.jbpm.jbpm4</groupId>
+  <artifactId>jbpm-console-graphView-plugin</artifactId>
+  <packaging>jar</packaging>
+
+  <parent>
+    <groupId>org.jbpm.jbpm4</groupId>
+    <artifactId>jbpm-integration</artifactId>
+    <version>4.4</version>
+  </parent>
+
+  <!-- Dependencies -->
+  <dependencies>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-api</artifactId>
+      <version>${project.version}</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-pvm</artifactId>
+      <version>${project.version}</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.jboss.bpm</groupId>
+      <artifactId>gwt-console-server-integration</artifactId>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>javax.xml.bind</groupId>
+      <artifactId>jaxb-api</artifactId>
+      <version>2.1</version>
+      <scope>provided</scope>
+    </dependency>
+  </dependencies>
+</project>

Deleted: jbpm4/tags/jbpm-4.4/modules/integration/pom.xml
===================================================================
--- jbpm4/trunk/modules/integration/pom.xml	2010-07-15 11:23:41 UTC (rev 6494)
+++ jbpm4/tags/jbpm-4.4/modules/integration/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -1,135 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ====================================================================== -->
-<!--  jBPM: Workflow in Java                                                -->
-<!--                                                                        -->
-<!--  Distributable under LGPL license.                                     -->
-<!--  See terms of license at http://www.gnu.org.                           -->
-<!-- ====================================================================== -->
-
-<!-- $Id$ -->
-
-<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>
-
-  <name>jBPM 4 - Integration</name>
-  <description>JBoss jBPM - Integration</description>
-
-  <groupId>org.jbpm.jbpm4</groupId>
-  <artifactId>jbpm-integration</artifactId>
-  <packaging>pom</packaging>
-
-  <!-- Parent -->
-  <parent>
-    <groupId>org.jbpm.jbpm4</groupId>
-    <artifactId>jbpm</artifactId>
-    <version>4.4-SNAPSHOT</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-
-  <properties>
-    <jboss.deployers.version>2.0.3.GA</jboss.deployers.version>
-    <jboss.metadata.version>1.0.0.CR11</jboss.metadata.version>
-    <jboss.microcontainer.version>2.0.2.GA</jboss.microcontainer.version>
-    <jboss.jacc.version>1.1.0.GA</jboss.jacc.version>
-    <jbossas.version>5.0.0.GA</jbossas.version>
-    <junit.version>3.8.1</junit.version>
-    <log4j.version>1.2.14</log4j.version>
-  </properties>
-
-  <!-- Dependecy Management -->
-  <dependencyManagement>
-    <dependencies>
-      <dependency>
-        <groupId>org.jbpm.jbpm4</groupId>
-        <artifactId>jbpm-jpdl</artifactId>
-        <version>${project.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>junit</groupId>
-        <artifactId>junit</artifactId>
-        <version>${junit.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>log4j</groupId>
-        <artifactId>log4j</artifactId>
-        <version>${log4j.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jboss.javaee</groupId>
-        <artifactId>jboss-jacc-api</artifactId>
-        <version>${jboss.jacc.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jboss.jbossas</groupId>
-        <artifactId>jboss-as-server</artifactId>
-        <version>${jbossas.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jboss.jbossas</groupId>
-        <artifactId>jboss-as-system-jmx</artifactId>
-        <version>${jbossas.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jboss.jbossas</groupId>
-        <artifactId>jboss-as-client</artifactId>
-        <version>${jbossas.version}</version>
-        <type>pom</type>
-      </dependency>
-      <dependency>
-        <groupId>org.jboss.deployers</groupId>
-        <artifactId>jboss-deployers-client</artifactId>
-        <version>${jboss.deployers.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jboss.deployers</groupId>
-        <artifactId>jboss-deployers-client-spi</artifactId>
-        <version>${jboss.deployers.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jboss.deployers</groupId>
-        <artifactId>jboss-deployers-spi</artifactId>
-        <version>${jboss.deployers.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jboss.deployers</groupId>
-        <artifactId>jboss-deployers-structure-spi</artifactId>
-        <version>${jboss.deployers.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jboss.deployers</groupId>
-        <artifactId>jboss-deployers-vfs-spi</artifactId>
-        <version>${jboss.deployers.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jboss.metadata</groupId>
-        <artifactId>jboss-metadata</artifactId>
-        <version>${jboss.metadata.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jboss.microcontainer</groupId>
-        <artifactId>jboss-kernel</artifactId>
-        <version>${jboss.microcontainer.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.slf4j</groupId>
-        <artifactId>slf4j-api</artifactId>
-        <version>${slf4j.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.slf4j</groupId>
-        <artifactId>slf4j-log4j12</artifactId>
-        <version>${slf4j.version}</version>
-      </dependency>
-    </dependencies>
-  </dependencyManagement>
-
-  <modules>
-    <module>console</module>
-    <module>form-plugin</module>
-    <module>graphView-plugin</module>
-    <module>report</module>
-    <module>tomcat</module>
-  </modules>
-</project>

Copied: jbpm4/tags/jbpm-4.4/modules/integration/pom.xml (from rev 6502, jbpm4/trunk/modules/integration/pom.xml)
===================================================================
--- jbpm4/tags/jbpm-4.4/modules/integration/pom.xml	                        (rev 0)
+++ jbpm4/tags/jbpm-4.4/modules/integration/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -0,0 +1,134 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!--  jBPM: Workflow in Java                                                -->
+<!--                                                                        -->
+<!--  Distributable under LGPL license.                                     -->
+<!--  See terms of license at http://www.gnu.org.                           -->
+<!-- ====================================================================== -->
+
+<!-- $Id$ -->
+
+<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>
+
+  <name>jBPM 4 - Integration</name>
+  <description>JBoss jBPM - Integration</description>
+
+  <groupId>org.jbpm.jbpm4</groupId>
+  <artifactId>jbpm-integration</artifactId>
+  <packaging>pom</packaging>
+
+  <!-- Parent -->
+  <parent>
+    <groupId>org.jbpm.jbpm4</groupId>
+    <artifactId>jbpm</artifactId>
+    <version>4.4</version>
+    <relativePath>../../pom.xml</relativePath>
+  </parent>
+
+  <properties>
+    <jboss.deployers.version>2.0.3.GA</jboss.deployers.version>
+    <jboss.metadata.version>1.0.0.CR11</jboss.metadata.version>
+    <jboss.microcontainer.version>2.0.2.GA</jboss.microcontainer.version>
+    <jboss.jacc.version>1.1.0.GA</jboss.jacc.version>
+    <jbossas.version>5.0.0.GA</jbossas.version>
+    <junit.version>3.8.1</junit.version>
+    <log4j.version>1.2.14</log4j.version>
+  </properties>
+
+  <!-- Dependecy Management -->
+  <dependencyManagement>
+    <dependencies>
+      <dependency>
+        <groupId>org.jbpm.jbpm4</groupId>
+        <artifactId>jbpm-jpdl</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>junit</groupId>
+        <artifactId>junit</artifactId>
+        <version>${junit.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>log4j</groupId>
+        <artifactId>log4j</artifactId>
+        <version>${log4j.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jboss.javaee</groupId>
+        <artifactId>jboss-jacc-api</artifactId>
+        <version>${jboss.jacc.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jboss.jbossas</groupId>
+        <artifactId>jboss-as-server</artifactId>
+        <version>${jbossas.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jboss.jbossas</groupId>
+        <artifactId>jboss-as-system-jmx</artifactId>
+        <version>${jbossas.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jboss.jbossas</groupId>
+        <artifactId>jboss-as-client</artifactId>
+        <version>${jbossas.version}</version>
+        <type>pom</type>
+      </dependency>
+      <dependency>
+        <groupId>org.jboss.deployers</groupId>
+        <artifactId>jboss-deployers-client</artifactId>
+        <version>${jboss.deployers.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jboss.deployers</groupId>
+        <artifactId>jboss-deployers-client-spi</artifactId>
+        <version>${jboss.deployers.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jboss.deployers</groupId>
+        <artifactId>jboss-deployers-spi</artifactId>
+        <version>${jboss.deployers.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jboss.deployers</groupId>
+        <artifactId>jboss-deployers-structure-spi</artifactId>
+        <version>${jboss.deployers.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jboss.deployers</groupId>
+        <artifactId>jboss-deployers-vfs-spi</artifactId>
+        <version>${jboss.deployers.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jboss.metadata</groupId>
+        <artifactId>jboss-metadata</artifactId>
+        <version>${jboss.metadata.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jboss.microcontainer</groupId>
+        <artifactId>jboss-kernel</artifactId>
+        <version>${jboss.microcontainer.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.slf4j</groupId>
+        <artifactId>slf4j-api</artifactId>
+        <version>${slf4j.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.slf4j</groupId>
+        <artifactId>slf4j-log4j12</artifactId>
+        <version>${slf4j.version}</version>
+      </dependency>
+    </dependencies>
+  </dependencyManagement>
+
+  <modules>
+    <module>console</module>
+    <module>form-plugin</module>
+    <module>graphView-plugin</module>
+    <module>report</module>
+    <module>tomcat</module>
+  </modules>
+</project>

Deleted: jbpm4/tags/jbpm-4.4/modules/integration/report/pom.xml
===================================================================
--- jbpm4/trunk/modules/integration/report/pom.xml	2010-07-15 11:23:41 UTC (rev 6494)
+++ jbpm4/tags/jbpm-4.4/modules/integration/report/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ====================================================================== -->
-<!--  jBPM: Workflow in Java                                                -->
-<!--                                                                        -->
-<!--  Distributable under LGPL license.                                     -->
-<!--  See terms of license at http://www.gnu.org.                           -->
-<!-- ====================================================================== -->
-
-<!-- $Id$ -->
-
-<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>
-
-  <name>jBPM 4 - Integration Reports</name>
-  <description>JBoss jBPM - GWT console Report Templates</description>
-  <groupId>org.jbpm.jbpm4</groupId>
-  <artifactId>jbpm-console-reports</artifactId>
-  <packaging>jar</packaging>
-
-  <parent>
-    <groupId>org.jbpm.jbpm4</groupId>
-    <artifactId>jbpm-integration</artifactId>
-    <version>4.4-SNAPSHOT</version>
-  </parent>
-</project>

Copied: jbpm4/tags/jbpm-4.4/modules/integration/report/pom.xml (from rev 6502, jbpm4/trunk/modules/integration/report/pom.xml)
===================================================================
--- jbpm4/tags/jbpm-4.4/modules/integration/report/pom.xml	                        (rev 0)
+++ jbpm4/tags/jbpm-4.4/modules/integration/report/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!--  jBPM: Workflow in Java                                                -->
+<!--                                                                        -->
+<!--  Distributable under LGPL license.                                     -->
+<!--  See terms of license at http://www.gnu.org.                           -->
+<!-- ====================================================================== -->
+
+<!-- $Id$ -->
+
+<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>
+
+  <name>jBPM 4 - Integration Reports</name>
+  <description>JBoss jBPM - GWT console Report Templates</description>
+  <groupId>org.jbpm.jbpm4</groupId>
+  <artifactId>jbpm-console-reports</artifactId>
+  <packaging>jar</packaging>
+
+  <parent>
+    <groupId>org.jbpm.jbpm4</groupId>
+    <artifactId>jbpm-integration</artifactId>
+    <version>4.4</version>
+  </parent>
+</project>

Deleted: jbpm4/tags/jbpm-4.4/modules/integration/tomcat/pom.xml
===================================================================
--- jbpm4/trunk/modules/integration/tomcat/pom.xml	2010-07-15 11:23:41 UTC (rev 6494)
+++ jbpm4/tags/jbpm-4.4/modules/integration/tomcat/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ====================================================================== -->
-<!--  jBPM: Workflow in Java                                                -->
-<!--                                                                        -->
-<!--  Distributable under LGPL license.                                     -->
-<!--  See terms of license at http://www.gnu.org.                           -->
-<!-- ====================================================================== -->
-
-<!-- $Id$ -->
-
-<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>
-
-  <name>jBPM 4 - Integration Tomcat 6</name>
-  <description>JBoss jBPM - Tomcat 6</description>
-  <groupId>org.jbpm.jbpm4</groupId>
-  <artifactId>jbpm-tomcat6</artifactId>
-  <packaging>jar</packaging>
-
-  <parent>
-    <groupId>org.jbpm.jbpm4</groupId>
-    <artifactId>jbpm-integration</artifactId>
-    <version>4.4-SNAPSHOT</version>
-  </parent>
-
-  <!-- Dependencies -->
-  <dependencies>
-    <dependency>
-      <groupId>org.apache.tomcat</groupId>
-      <artifactId>catalina</artifactId>
-      <version>6.0.20</version>
-      <scope>provided</scope>
-    </dependency>
-  </dependencies>
-</project>

Copied: jbpm4/tags/jbpm-4.4/modules/integration/tomcat/pom.xml (from rev 6502, jbpm4/trunk/modules/integration/tomcat/pom.xml)
===================================================================
--- jbpm4/tags/jbpm-4.4/modules/integration/tomcat/pom.xml	                        (rev 0)
+++ jbpm4/tags/jbpm-4.4/modules/integration/tomcat/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!--  jBPM: Workflow in Java                                                -->
+<!--                                                                        -->
+<!--  Distributable under LGPL license.                                     -->
+<!--  See terms of license at http://www.gnu.org.                           -->
+<!-- ====================================================================== -->
+
+<!-- $Id$ -->
+
+<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>
+
+  <name>jBPM 4 - Integration Tomcat 6</name>
+  <description>JBoss jBPM - Tomcat 6</description>
+  <groupId>org.jbpm.jbpm4</groupId>
+  <artifactId>jbpm-tomcat6</artifactId>
+  <packaging>jar</packaging>
+
+  <parent>
+    <groupId>org.jbpm.jbpm4</groupId>
+    <artifactId>jbpm-integration</artifactId>
+    <version>4.4</version>
+  </parent>
+
+  <!-- Dependencies -->
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.tomcat</groupId>
+      <artifactId>catalina</artifactId>
+      <version>6.0.20</version>
+      <scope>provided</scope>
+    </dependency>
+  </dependencies>
+</project>

Deleted: jbpm4/tags/jbpm-4.4/modules/jboss/pom.xml
===================================================================
--- jbpm4/trunk/modules/jboss/pom.xml	2010-07-15 11:23:41 UTC (rev 6494)
+++ jbpm4/tags/jbpm-4.4/modules/jboss/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -1,30 +0,0 @@
-<?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>
-
-  <name>jBPM 4 - JBoss Integration</name>
-  <description>JBoss jBPM - JBoss Integration</description>
-
-  <groupId>org.jbpm.jbpm4</groupId>
-  <artifactId>jbpm-jboss</artifactId>
-  <packaging>jar</packaging>
-
-  <parent>
-    <groupId>org.jbpm.jbpm4</groupId>
-    <artifactId>jbpm</artifactId>
-    <version>4.4-SNAPSHOT</version>
-  </parent>
-
-  <!-- Properties -->
-  <properties>
-  </properties>
-
-  <!-- Dependencies -->
-  <dependencies>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-jpdl</artifactId>      
-    </dependency>
-  </dependencies>
-
-</project>

Copied: jbpm4/tags/jbpm-4.4/modules/jboss/pom.xml (from rev 6502, jbpm4/trunk/modules/jboss/pom.xml)
===================================================================
--- jbpm4/tags/jbpm-4.4/modules/jboss/pom.xml	                        (rev 0)
+++ jbpm4/tags/jbpm-4.4/modules/jboss/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -0,0 +1,30 @@
+<?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>
+
+  <name>jBPM 4 - JBoss Integration</name>
+  <description>JBoss jBPM - JBoss Integration</description>
+
+  <groupId>org.jbpm.jbpm4</groupId>
+  <artifactId>jbpm-jboss</artifactId>
+  <packaging>jar</packaging>
+
+  <parent>
+    <groupId>org.jbpm.jbpm4</groupId>
+    <artifactId>jbpm</artifactId>
+    <version>4.4</version>
+  </parent>
+
+  <!-- Properties -->
+  <properties>
+  </properties>
+
+  <!-- Dependencies -->
+  <dependencies>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-jpdl</artifactId>      
+    </dependency>
+  </dependencies>
+
+</project>

Deleted: jbpm4/tags/jbpm-4.4/modules/jpdl/pom.xml
===================================================================
--- jbpm4/trunk/modules/jpdl/pom.xml	2010-07-15 11:23:41 UTC (rev 6494)
+++ jbpm4/tags/jbpm-4.4/modules/jpdl/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -1,103 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ====================================================================== -->
-<!--  jBPM: Workflow in Java                                                -->
-<!--                                                                        -->
-<!--  Distributable under LGPL license.                                     -->
-<!--  See terms of license at http://www.gnu.org.                           -->
-<!-- ====================================================================== -->
-
-<!-- $Id: pom.xml 1790 2008-07-31 12:13:06Z tom.baeyens at jboss.com $ -->
-
-<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>
-
-  <name>jBPM 4 - jPDL</name>
-  <groupId>org.jbpm.jbpm4</groupId>
-  <artifactId>jbpm-jpdl</artifactId>
-  <packaging>jar</packaging>
-
-  <!-- Parent -->
-  <parent>
-    <groupId>org.jbpm.jbpm4</groupId>
-    <artifactId>jbpm</artifactId>
-    <version>4.4-SNAPSHOT</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-
-  <!-- Dependencies -->
-  <dependencies>
-    <!-- JBPM4 -->
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-pvm</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-test-base</artifactId>
-      <version>${project.version}</version>
-      <scope>test</scope>
-    </dependency>
-
-    <!-- 3rd Party -->
-    <dependency>
-      <groupId>org.apache.ant</groupId>
-      <artifactId>ant</artifactId>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.drools</groupId>
-      <artifactId>drools-core</artifactId>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>javax.jms</groupId>
-      <artifactId>jms</artifactId>
-      <version>1.1</version>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>javax.mail</groupId>
-      <artifactId>mail</artifactId>
-      <scope>provided</scope>
-    </dependency>
-  </dependencies>
-
-  <build>
-    <plugins>
-      <plugin>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <configuration>
-          <excludes>
-            <exclude>org/jbpm/test/update/ProcessUpdateTest.java</exclude>
-          </excludes>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-
-  <!-- Profiles -->
-  <profiles>
-    <!--
-      skip tests if this is an integration test run (only examples and test-db are part of the
-      integration test runs)
-    -->
-    <profile>
-      <id>skip.tests.during.database.testrun</id>
-      <activation>
-        <property>
-          <name>database</name>
-        </property>
-      </activation>
-      <properties>
-        <skipTests>true</skipTests>
-      </properties>
-    </profile>
-  </profiles>
-</project>
\ No newline at end of file

Copied: jbpm4/tags/jbpm-4.4/modules/jpdl/pom.xml (from rev 6502, jbpm4/trunk/modules/jpdl/pom.xml)
===================================================================
--- jbpm4/tags/jbpm-4.4/modules/jpdl/pom.xml	                        (rev 0)
+++ jbpm4/tags/jbpm-4.4/modules/jpdl/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!--  jBPM: Workflow in Java                                                -->
+<!--                                                                        -->
+<!--  Distributable under LGPL license.                                     -->
+<!--  See terms of license at http://www.gnu.org.                           -->
+<!-- ====================================================================== -->
+
+<!-- $Id: pom.xml 1790 2008-07-31 12:13:06Z tom.baeyens at jboss.com $ -->
+
+<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>
+
+  <name>jBPM 4 - jPDL</name>
+  <groupId>org.jbpm.jbpm4</groupId>
+  <artifactId>jbpm-jpdl</artifactId>
+  <packaging>jar</packaging>
+
+  <!-- Parent -->
+  <parent>
+    <groupId>org.jbpm.jbpm4</groupId>
+    <artifactId>jbpm</artifactId>
+    <version>4.4</version>
+    <relativePath>../../pom.xml</relativePath>
+  </parent>
+
+  <!-- Dependencies -->
+  <dependencies>
+    <!-- JBPM4 -->
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-pvm</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-test-base</artifactId>
+      <version>${project.version}</version>
+      <scope>test</scope>
+    </dependency>
+
+    <!-- 3rd Party -->
+    <dependency>
+      <groupId>org.apache.ant</groupId>
+      <artifactId>ant</artifactId>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.drools</groupId>
+      <artifactId>drools-core</artifactId>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>javax.jms</groupId>
+      <artifactId>jms</artifactId>
+      <version>1.1</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>javax.mail</groupId>
+      <artifactId>mail</artifactId>
+      <scope>provided</scope>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <excludes>
+            <exclude>org/jbpm/test/update/ProcessUpdateTest.java</exclude>
+          </excludes>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
+  <!-- Profiles -->
+  <profiles>
+    <!--
+      skip tests if this is an integration test run (only examples and test-db are part of the
+      integration test runs)
+    -->
+    <profile>
+      <id>skip.tests.during.database.testrun</id>
+      <activation>
+        <property>
+          <name>database</name>
+        </property>
+      </activation>
+      <properties>
+        <skipTests>true</skipTests>
+      </properties>
+    </profile>
+  </profiles>
+</project>
\ No newline at end of file

Deleted: jbpm4/tags/jbpm-4.4/modules/log/pom.xml
===================================================================
--- jbpm4/trunk/modules/log/pom.xml	2010-07-15 11:23:41 UTC (rev 6494)
+++ jbpm4/tags/jbpm-4.4/modules/log/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ====================================================================== -->
-<!--  jBPM: Workflow in Java                                                -->
-<!--                                                                        -->
-<!--  Distributable under LGPL license.                                     -->
-<!--  See terms of license at http://www.gnu.org.                           -->
-<!-- ====================================================================== -->
-
-<!-- $Id$ -->
-
-<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">
-
-  <!-- Module Info -->
-  <modelVersion>4.0.0</modelVersion>
-  <name>jBPM 4 - Log</name>
-  <groupId>org.jbpm.jbpm4</groupId>
-  <artifactId>jbpm-log</artifactId>
-  <packaging>jar</packaging>
-
-  <!-- Parent -->
-  <parent>
-    <groupId>org.jbpm.jbpm4</groupId>
-    <artifactId>jbpm</artifactId>
-    <version>4.4-SNAPSHOT</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-
-  <!-- Dependencies -->
-  <dependencies>
-    <dependency>
-      <groupId>log4j</groupId>
-      <artifactId>log4j</artifactId>
-      <scope>provided</scope>
-    </dependency>
-  </dependencies>
-</project>
\ No newline at end of file

Copied: jbpm4/tags/jbpm-4.4/modules/log/pom.xml (from rev 6502, jbpm4/trunk/modules/log/pom.xml)
===================================================================
--- jbpm4/tags/jbpm-4.4/modules/log/pom.xml	                        (rev 0)
+++ jbpm4/tags/jbpm-4.4/modules/log/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!--  jBPM: Workflow in Java                                                -->
+<!--                                                                        -->
+<!--  Distributable under LGPL license.                                     -->
+<!--  See terms of license at http://www.gnu.org.                           -->
+<!-- ====================================================================== -->
+
+<!-- $Id$ -->
+
+<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">
+
+  <!-- Module Info -->
+  <modelVersion>4.0.0</modelVersion>
+  <name>jBPM 4 - Log</name>
+  <groupId>org.jbpm.jbpm4</groupId>
+  <artifactId>jbpm-log</artifactId>
+  <packaging>jar</packaging>
+
+  <!-- Parent -->
+  <parent>
+    <groupId>org.jbpm.jbpm4</groupId>
+    <artifactId>jbpm</artifactId>
+    <version>4.4</version>
+    <relativePath>../../pom.xml</relativePath>
+  </parent>
+
+  <!-- Dependencies -->
+  <dependencies>
+    <dependency>
+      <groupId>log4j</groupId>
+      <artifactId>log4j</artifactId>
+      <scope>provided</scope>
+    </dependency>
+  </dependencies>
+</project>
\ No newline at end of file

Deleted: jbpm4/tags/jbpm-4.4/modules/migration/pom.xml
===================================================================
--- jbpm4/trunk/modules/migration/pom.xml	2010-07-15 11:23:41 UTC (rev 6494)
+++ jbpm4/tags/jbpm-4.4/modules/migration/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -1,126 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ====================================================================== -->
-<!--  jBPM: Workflow in Java                                                -->
-<!--                                                                        -->
-<!--  Distributable under LGPL license.                                     -->
-<!--  See terms of license at http://www.gnu.org.                           -->
-<!-- ====================================================================== -->
-
-<!-- $Id$ -->
-
-<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>
-
-  <name>jBPM 4 - Migration - Tool</name>
-  <groupId>org.jbpm.jbpm4</groupId>
-  <artifactId>jpdl-migration</artifactId>
-  <packaging>jar</packaging>
-
-  <!-- Parent -->
-  <parent>
-    <groupId>org.jbpm.jbpm4</groupId>
-    <artifactId>jbpm</artifactId>
-    <version>4.4-SNAPSHOT</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-
-  <!-- Dependencies -->
-  <dependencies>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-jpdl</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-
-    <dependency>
-      <groupId>dom4j</groupId>
-      <artifactId>dom4j</artifactId>
-      <version>1.6.1</version>
-      <exclusions>
-        <exclusion>
-          <artifactId>xml-apis</artifactId>
-          <groupId>xml-apis</groupId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    <dependency>
-      <groupId>commons-logging</groupId>
-      <artifactId>commons-logging</artifactId>
-      <version>1.1.1</version>
-    </dependency>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>4.4</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>javax.mail</groupId>
-      <artifactId>mail</artifactId>
-      <scope>provided</scope>
-    </dependency>
-  </dependencies>
-
-  <!-- Profiles -->
-  <profiles>
-    <!--
-      skip tests if this is an integration test run (only examples and test-db are part of the
-      integration test runs)
-    -->
-    <profile>
-      <id>skip.tests.during.database.testrun</id>
-      <activation>
-        <property>
-          <name>database</name>
-        </property>
-      </activation>
-      <properties>
-        <skipTests>true</skipTests>
-      </properties>
-    </profile>
-
-    <profile>
-      <id>distro</id>
-      <build>
-        <plugins>
-          <plugin>
-            <artifactId>maven-jar-plugin</artifactId>
-            <configuration>
-              <finalName>jbpm-migration</finalName>
-              <archive>
-                <manifest>
-                  <addClasspath>true</addClasspath>
-                  <classpathPrefix>lib/</classpathPrefix>
-                  <mainClass>org.jbpm.jpdl.internal.convert.JpdlConverterTool</mainClass>
-                </manifest>
-              </archive>
-            </configuration>
-          </plugin>
-
-          <plugin>
-            <artifactId>maven-assembly-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>distribution-package</id>
-                <phase>package</phase>
-                <goals>
-                  <goal>single</goal>
-                </goals>
-                <configuration>
-                  <finalName>migration-distro</finalName>
-                  <ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
-                  <appendAssemblyId>false</appendAssemblyId>
-                  <descriptors>
-                    <descriptor>scripts/assembly-distro.xml</descriptor>
-                  </descriptors>
-                </configuration>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
-</project>

Copied: jbpm4/tags/jbpm-4.4/modules/migration/pom.xml (from rev 6502, jbpm4/trunk/modules/migration/pom.xml)
===================================================================
--- jbpm4/tags/jbpm-4.4/modules/migration/pom.xml	                        (rev 0)
+++ jbpm4/tags/jbpm-4.4/modules/migration/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -0,0 +1,125 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!--  jBPM: Workflow in Java                                                -->
+<!--                                                                        -->
+<!--  Distributable under LGPL license.                                     -->
+<!--  See terms of license at http://www.gnu.org.                           -->
+<!-- ====================================================================== -->
+
+<!-- $Id$ -->
+
+<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>
+
+  <name>jBPM 4 - Migration - Tool</name>
+  <groupId>org.jbpm.jbpm4</groupId>
+  <artifactId>jpdl-migration</artifactId>
+  <packaging>jar</packaging>
+
+  <!-- Parent -->
+  <parent>
+    <groupId>org.jbpm.jbpm4</groupId>
+    <artifactId>jbpm</artifactId>
+    <version>4.4</version>
+    <relativePath>../../pom.xml</relativePath>
+  </parent>
+
+  <!-- Dependencies -->
+  <dependencies>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-jpdl</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+
+    <dependency>
+      <groupId>dom4j</groupId>
+      <artifactId>dom4j</artifactId>
+      <version>1.6.1</version>
+      <exclusions>
+        <exclusion>
+          <artifactId>xml-apis</artifactId>
+          <groupId>xml-apis</groupId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    <dependency>
+      <groupId>commons-logging</groupId>
+      <artifactId>commons-logging</artifactId>
+      <version>1.1.1</version>
+    </dependency>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>4.4</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>javax.mail</groupId>
+      <artifactId>mail</artifactId>
+      <scope>provided</scope>
+    </dependency>
+  </dependencies>
+
+  <!-- Profiles -->
+  <profiles>
+    <!--
+      skip tests if this is an integration test run (only examples and test-db are part of the
+      integration test runs)
+    -->
+    <profile>
+      <id>skip.tests.during.database.testrun</id>
+      <activation>
+        <property>
+          <name>database</name>
+        </property>
+      </activation>
+      <properties>
+        <skipTests>true</skipTests>
+      </properties>
+    </profile>
+
+    <profile>
+      <id>distro</id>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-jar-plugin</artifactId>
+            <configuration>
+              <finalName>jbpm-migration</finalName>
+              <archive>
+                <manifest>
+                  <addClasspath>true</addClasspath>
+                  <classpathPrefix>lib/</classpathPrefix>
+                  <mainClass>org.jbpm.jpdl.internal.convert.JpdlConverterTool</mainClass>
+                </manifest>
+              </archive>
+            </configuration>
+          </plugin>
+
+          <plugin>
+            <artifactId>maven-assembly-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>distribution-package</id>
+                <phase>package</phase>
+                <goals>
+                  <goal>single</goal>
+                </goals>
+                <configuration>
+                  <finalName>migration-distro</finalName>
+                  <ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
+                  <appendAssemblyId>false</appendAssemblyId>
+                  <descriptors>
+                    <descriptor>scripts/assembly-distro.xml</descriptor>
+                  </descriptors>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+</project>

Deleted: jbpm4/tags/jbpm-4.4/modules/pvm/pom.xml
===================================================================
--- jbpm4/trunk/modules/pvm/pom.xml	2010-07-15 11:23:41 UTC (rev 6494)
+++ jbpm4/tags/jbpm-4.4/modules/pvm/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -1,240 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ====================================================================== -->
-<!--  jBPM: Workflow in Java                                                -->
-<!--                                                                        -->
-<!--  Distributable under LGPL license.                                     -->
-<!--  See terms of license at http://www.gnu.org.                           -->
-<!-- ====================================================================== -->
-
-<!-- $Id$ -->
-
-<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>
-
-  <name>jBPM 4 - PVM</name>
-  <groupId>org.jbpm.jbpm4</groupId>
-  <artifactId>jbpm-pvm</artifactId>
-  <packaging>jar</packaging>
-
-  <!-- Parent -->
-  <parent>
-    <groupId>org.jbpm.jbpm4</groupId>
-    <artifactId>jbpm</artifactId>
-    <version>4.4-SNAPSHOT</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-
-  <!-- Dependencies -->
-  <dependencies>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-api</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-log</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-test-base</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.ant</groupId>
-      <artifactId>ant</artifactId>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>asm</groupId>
-      <artifactId>asm</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.beanshell</groupId>
-      <artifactId>bsh</artifactId>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>javax.enterprise</groupId>
-      <artifactId>cdi-api</artifactId>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.drools</groupId>
-      <artifactId>drools-core</artifactId>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.codehaus.groovy</groupId>
-      <artifactId>groovy-all</artifactId>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.hibernate</groupId>
-      <artifactId>hibernate-core</artifactId>
-      <exclusions>
-        <exclusion>
-          <artifactId>xml-apis</artifactId>
-          <groupId>xml-apis</groupId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    <dependency>
-      <groupId>org.hibernate</groupId>
-      <artifactId>hibernate-entitymanager</artifactId>
-      <version>3.4.0.GA</version>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>hsqldb</groupId>
-      <artifactId>hsqldb</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>javassist</groupId>
-      <artifactId>javassist</artifactId>
-      <version>3.4.GA</version>
-      <scope>runtime</scope>
-    </dependency>
-    <dependency>
-      <groupId>jboss</groupId>
-      <artifactId>jboss-j2ee</artifactId>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>juel</groupId>
-      <artifactId>juel-api</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>juel</groupId>
-      <artifactId>juel-impl</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>juel</groupId>
-      <artifactId>juel-engine</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.livetribe</groupId>
-      <artifactId>livetribe-jsr223</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>javax.mail</groupId>
-      <artifactId>mail</artifactId>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.picketlink.idm</groupId>
-      <artifactId>picketlink-idm-core</artifactId>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.picketlink.idm</groupId>
-      <artifactId>picketlink-idm-hibernate</artifactId>
-      <scope>provided</scope>
-      <exclusions>
-        <exclusion>
-          <artifactId>hibernate-cglib-repack</artifactId>
-          <groupId>org.hibernate</groupId>
-        </exclusion>
-        <exclusion>
-          <artifactId>slf4j-log4j12</artifactId>
-          <groupId>org.slf4j</groupId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    <dependency>
-      <groupId>javax.servlet</groupId>
-      <artifactId>servlet-api</artifactId>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.slf4j</groupId>
-      <artifactId>slf4j-api</artifactId>
-      <scope>runtime</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.slf4j</groupId>
-      <artifactId>slf4j-jdk14</artifactId>
-      <scope>runtime</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.springframework</groupId>
-      <artifactId>spring</artifactId>
-      <scope>provided</scope>
-    </dependency>
-  </dependencies>
-
-  <!-- Plugins -->
-  <build>
-    <plugins>
-      <plugin>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <configuration>
-          <showDeprecation>false</showDeprecation>
-        </configuration>
-      </plugin>
-      <plugin>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <configuration>
-          <excludes>
-            <exclude>**/*TestCase.java</exclude>
-            <exclude>org/jbpm/examples/bpmn/gateway/exclusive/ExclusiveGateway*</exclude>
-          </excludes>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-
-  <!-- Profiles -->
-  <profiles>
-    <profile>
-      <id>distro</id>
-      <reporting>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-javadoc-plugin</artifactId>
-            <configuration>
-              <quiet>true</quiet>
-              <source>1.5</source>
-              <verbose>false</verbose>
-              <noqualifier>all</noqualifier>
-              <excludePackageNames>*.internal:*.test</excludePackageNames>
-            </configuration>
-          </plugin>
-        </plugins>
-      </reporting>
-    </profile>
-
-    <!--
-      skip tests if this is an integration test run (only examples and test-db are part of the
-      integration test runs)
-    -->
-    <profile>
-      <id>skip.tests.during.database.testrun</id>
-      <activation>
-        <property>
-          <name>database</name>
-        </property>
-      </activation>
-      <properties>
-        <skipTests>true</skipTests>
-      </properties>
-    </profile>
-
-    <profile>
-      <id>jdk15</id>
-      <activation>
-        <jdk>1.5</jdk>
-      </activation>
-      <dependencies>
-        <dependency>
-          <groupId>javax.activation</groupId>
-          <artifactId>activation</artifactId>
-        </dependency>
-      </dependencies>
-    </profile>
-  </profiles>
-</project>

Copied: jbpm4/tags/jbpm-4.4/modules/pvm/pom.xml (from rev 6502, jbpm4/trunk/modules/pvm/pom.xml)
===================================================================
--- jbpm4/tags/jbpm-4.4/modules/pvm/pom.xml	                        (rev 0)
+++ jbpm4/tags/jbpm-4.4/modules/pvm/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -0,0 +1,239 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!--  jBPM: Workflow in Java                                                -->
+<!--                                                                        -->
+<!--  Distributable under LGPL license.                                     -->
+<!--  See terms of license at http://www.gnu.org.                           -->
+<!-- ====================================================================== -->
+
+<!-- $Id$ -->
+
+<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>
+
+  <name>jBPM 4 - PVM</name>
+  <groupId>org.jbpm.jbpm4</groupId>
+  <artifactId>jbpm-pvm</artifactId>
+  <packaging>jar</packaging>
+
+  <!-- Parent -->
+  <parent>
+    <groupId>org.jbpm.jbpm4</groupId>
+    <artifactId>jbpm</artifactId>
+    <version>4.4</version>
+    <relativePath>../../pom.xml</relativePath>
+  </parent>
+
+  <!-- Dependencies -->
+  <dependencies>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-api</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-log</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-test-base</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.ant</groupId>
+      <artifactId>ant</artifactId>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>asm</groupId>
+      <artifactId>asm</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.beanshell</groupId>
+      <artifactId>bsh</artifactId>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>javax.enterprise</groupId>
+      <artifactId>cdi-api</artifactId>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.drools</groupId>
+      <artifactId>drools-core</artifactId>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.codehaus.groovy</groupId>
+      <artifactId>groovy-all</artifactId>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.hibernate</groupId>
+      <artifactId>hibernate-core</artifactId>
+      <exclusions>
+        <exclusion>
+          <artifactId>xml-apis</artifactId>
+          <groupId>xml-apis</groupId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    <dependency>
+      <groupId>org.hibernate</groupId>
+      <artifactId>hibernate-entitymanager</artifactId>
+      <version>3.4.0.GA</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>hsqldb</groupId>
+      <artifactId>hsqldb</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>javassist</groupId>
+      <artifactId>javassist</artifactId>
+      <version>3.4.GA</version>
+      <scope>runtime</scope>
+    </dependency>
+    <dependency>
+      <groupId>jboss</groupId>
+      <artifactId>jboss-j2ee</artifactId>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>juel</groupId>
+      <artifactId>juel-api</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>juel</groupId>
+      <artifactId>juel-impl</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>juel</groupId>
+      <artifactId>juel-engine</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.livetribe</groupId>
+      <artifactId>livetribe-jsr223</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>javax.mail</groupId>
+      <artifactId>mail</artifactId>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.picketlink.idm</groupId>
+      <artifactId>picketlink-idm-core</artifactId>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.picketlink.idm</groupId>
+      <artifactId>picketlink-idm-hibernate</artifactId>
+      <scope>provided</scope>
+      <exclusions>
+        <exclusion>
+          <artifactId>hibernate-cglib-repack</artifactId>
+          <groupId>org.hibernate</groupId>
+        </exclusion>
+        <exclusion>
+          <artifactId>slf4j-log4j12</artifactId>
+          <groupId>org.slf4j</groupId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    <dependency>
+      <groupId>javax.servlet</groupId>
+      <artifactId>servlet-api</artifactId>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-api</artifactId>
+      <scope>runtime</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-jdk14</artifactId>
+      <scope>runtime</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.springframework</groupId>
+      <artifactId>spring</artifactId>
+      <scope>provided</scope>
+    </dependency>
+  </dependencies>
+
+  <!-- Plugins -->
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <showDeprecation>false</showDeprecation>
+        </configuration>
+      </plugin>
+      <plugin>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <excludes>
+            <exclude>**/*TestCase.java</exclude>
+            <exclude>org/jbpm/examples/bpmn/gateway/exclusive/ExclusiveGateway*</exclude>
+          </excludes>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
+  <!-- Profiles -->
+  <profiles>
+    <profile>
+      <id>distro</id>
+      <reporting>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-javadoc-plugin</artifactId>
+            <configuration>
+              <quiet>true</quiet>
+              <source>1.5</source>
+              <verbose>false</verbose>
+              <noqualifier>all</noqualifier>
+              <excludePackageNames>*.internal:*.test</excludePackageNames>
+            </configuration>
+          </plugin>
+        </plugins>
+      </reporting>
+    </profile>
+
+    <!--
+      skip tests if this is an integration test run (only examples and test-db are part of the
+      integration test runs)
+    -->
+    <profile>
+      <id>skip.tests.during.database.testrun</id>
+      <activation>
+        <property>
+          <name>database</name>
+        </property>
+      </activation>
+      <properties>
+        <skipTests>true</skipTests>
+      </properties>
+    </profile>
+
+    <profile>
+      <id>jdk15</id>
+      <activation>
+        <jdk>1.5</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>javax.activation</groupId>
+          <artifactId>activation</artifactId>
+        </dependency>
+      </dependencies>
+    </profile>
+  </profiles>
+</project>

Deleted: jbpm4/tags/jbpm-4.4/modules/test-base/pom.xml
===================================================================
--- jbpm4/trunk/modules/test-base/pom.xml	2010-07-15 11:23:41 UTC (rev 6494)
+++ jbpm4/tags/jbpm-4.4/modules/test-base/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -1,102 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ====================================================================== -->
-<!--  jBPM: Workflow in Java                                                -->
-<!--                                                                        -->
-<!--  Distributable under LGPL license.                                     -->
-<!--  See terms of license at http://www.gnu.org.                           -->
-<!-- ====================================================================== -->
-
-<!-- $Id$ -->
-
-<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>
-  <name>jBPM 4 - Test Base</name>
-  <groupId>org.jbpm.jbpm4</groupId>
-  <artifactId>jbpm-test-base</artifactId>
-  <packaging>jar</packaging>
-
-  <!-- Parent -->
-  <parent>
-    <groupId>org.jbpm.jbpm4</groupId>
-    <artifactId>jbpm</artifactId>
-    <version>4.4-SNAPSHOT</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-
-  <!-- Dependencies -->
-  <dependencies>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-api</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.hibernate</groupId>
-      <artifactId>hibernate-core</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-log</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-
-    <dependency>
-      <groupId>cglib</groupId>
-      <artifactId>cglib</artifactId>
-      <version>2.1.1</version>
-      <scope>runtime</scope>
-    </dependency>
-    <dependency>
-      <groupId>jboss</groupId>
-      <artifactId>jboss-j2ee</artifactId>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.slf4j</groupId>
-      <artifactId>slf4j-api</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.slf4j</groupId>
-      <artifactId>slf4j-jdk14</artifactId>
-      <scope>runtime</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.springframework</groupId>
-      <artifactId>spring</artifactId>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.springframework</groupId>
-      <artifactId>spring-mock</artifactId>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>com.mockrunner</groupId>
-      <artifactId>mockrunner</artifactId>
-      <version>0.4.1</version>
-    </dependency>
-    <dependency>
-      <!-- mockrunner transitive dependency (not in mockrunner pom) -->
-      <groupId>org.mockejb</groupId>
-      <artifactId>mockejb</artifactId>
-      <version>0.6-beta2</version>
-      <exclusions>
-        <exclusion>
-          <groupId>cglib</groupId>
-          <artifactId>cglib-full</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    <dependency>
-      <groupId>org.subethamail</groupId>
-      <artifactId>subethasmtp-wiser</artifactId>
-    </dependency>
-  </dependencies>
-</project>
\ No newline at end of file

Copied: jbpm4/tags/jbpm-4.4/modules/test-base/pom.xml (from rev 6502, jbpm4/trunk/modules/test-base/pom.xml)
===================================================================
--- jbpm4/tags/jbpm-4.4/modules/test-base/pom.xml	                        (rev 0)
+++ jbpm4/tags/jbpm-4.4/modules/test-base/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -0,0 +1,101 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!--  jBPM: Workflow in Java                                                -->
+<!--                                                                        -->
+<!--  Distributable under LGPL license.                                     -->
+<!--  See terms of license at http://www.gnu.org.                           -->
+<!-- ====================================================================== -->
+
+<!-- $Id$ -->
+
+<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>
+  <name>jBPM 4 - Test Base</name>
+  <groupId>org.jbpm.jbpm4</groupId>
+  <artifactId>jbpm-test-base</artifactId>
+  <packaging>jar</packaging>
+
+  <!-- Parent -->
+  <parent>
+    <groupId>org.jbpm.jbpm4</groupId>
+    <artifactId>jbpm</artifactId>
+    <version>4.4</version>
+    <relativePath>../../pom.xml</relativePath>
+  </parent>
+
+  <!-- Dependencies -->
+  <dependencies>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-api</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.hibernate</groupId>
+      <artifactId>hibernate-core</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-log</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+
+    <dependency>
+      <groupId>cglib</groupId>
+      <artifactId>cglib</artifactId>
+      <version>2.1.1</version>
+      <scope>runtime</scope>
+    </dependency>
+    <dependency>
+      <groupId>jboss</groupId>
+      <artifactId>jboss-j2ee</artifactId>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-api</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-jdk14</artifactId>
+      <scope>runtime</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.springframework</groupId>
+      <artifactId>spring</artifactId>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.springframework</groupId>
+      <artifactId>spring-mock</artifactId>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>com.mockrunner</groupId>
+      <artifactId>mockrunner</artifactId>
+      <version>0.4.1</version>
+    </dependency>
+    <dependency>
+      <!-- mockrunner transitive dependency (not in mockrunner pom) -->
+      <groupId>org.mockejb</groupId>
+      <artifactId>mockejb</artifactId>
+      <version>0.6-beta2</version>
+      <exclusions>
+        <exclusion>
+          <groupId>cglib</groupId>
+          <artifactId>cglib-full</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    <dependency>
+      <groupId>org.subethamail</groupId>
+      <artifactId>subethasmtp-wiser</artifactId>
+    </dependency>
+  </dependencies>
+</project>
\ No newline at end of file

Deleted: jbpm4/tags/jbpm-4.4/modules/test-db/pom.xml
===================================================================
--- jbpm4/trunk/modules/test-db/pom.xml	2010-07-15 11:23:41 UTC (rev 6494)
+++ jbpm4/tags/jbpm-4.4/modules/test-db/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -1,206 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ====================================================================== -->
-<!--  jBPM: Workflow in Java                                                -->
-<!--                                                                        -->
-<!--  Distributable under LGPL license.                                     -->
-<!--  See terms of license at http://www.gnu.org.                           -->
-<!-- ====================================================================== -->
-
-<!-- $Id$ -->
-
-<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>
-  <name>jBPM 4 - Test DB</name>
-  <groupId>org.jbpm.jbpm4</groupId>
-  <artifactId>jbpm-test-db</artifactId>
-  <packaging>jar</packaging>
-
-  <!-- Parent -->
-  <parent>
-    <groupId>org.jbpm.jbpm4</groupId>
-    <artifactId>jbpm</artifactId>
-    <version>4.4-SNAPSHOT</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-
-  <!-- Dependencies -->
-  <dependencies>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-api</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-test-base</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-jpdl</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-bpmn</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-console-reports</artifactId>
-      <scope>test</scope>
-    </dependency>
-
-    <dependency>
-      <groupId>org.drools</groupId>
-      <artifactId>drools-core</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.drools</groupId>
-      <artifactId>drools-compiler</artifactId>
-      <scope>runtime</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.springframework</groupId>
-      <artifactId>spring</artifactId>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-
-  <build>
-    <plugins>
-      <plugin>
-        <artifactId>maven-jar-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>generate-test-jar</id>
-            <phase>package</phase>
-            <goals>
-              <goal>test-jar</goal>
-            </goals>
-            <configuration>
-              <excludes>
-                <exclude>jbpm.*</exclude>
-                <exclude>logging.properties</exclude>
-                <exclude>META-INF/*</exclude>
-              </excludes>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <configuration>
-          <failIfNoTests>false</failIfNoTests>
-          <redirectTestOutputToFile>true</redirectTestOutputToFile>
-          <systemProperties>
-            <property>
-              <name>database</name>
-              <value>${database}</value>
-            </property>
-          </systemProperties>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-
-  <profiles>
-
-    <!-- -Ddatabase= -->
-    <profile>
-      <id>run.database.testsuite</id>
-      <activation>
-        <property>
-          <name>database</name>
-        </property>
-      </activation>
-      <build>
-        <plugins>
-          <plugin>
-            <artifactId>maven-antrun-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>database-test-cfg-customization</id>
-                <phase>test-compile</phase>
-                <goals>
-                  <goal>run</goal>
-                </goals>
-                <configuration>
-                  <tasks>
-                    <echo message="database: ${database}" />
-                    <mkdir dir="target/jdbc.properties" />
-                    <copy todir="target/jdbc.properties" overwrite="true">
-                      <fileset dir="../../qa/jdbc" />
-                    </copy>
-                    <copy todir="target/jdbc.properties" overwrite="true" failonerror="false">
-                      <fileset dir="${user.home}/.jbpm4/jdbc" />
-                    </copy>
-                    <ant antfile="../distro/src/main/files/install/build.xml" target="create.cfg">
-                      <property name="tx" value="standalone.testsuite" />
-                      <property name="mail.cfg" value="testsuite" />
-                      <property name="database" value="${database}" />
-                      <property name="cfg.dest.dir" value="target/test-classes" />
-                      <property name="install.src.dir" value="../distro/src/main/files/install/src" />
-                      <property name="jdbc.properties.dir" value="target/jdbc.properties" />
-                      <property name="logging" value="none" /> <!-- then the original logging.properties in the resources of this project will be used -->
-                    </ant>
-                  </tasks>
-                </configuration>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-
-    <!--
-      Note: Spring profile cannot be used together with 'database' property currently (see
-      http://jira.codehaus.org/browse/MNG-3328)
-    -->
-    <profile>
-      <id>run.spring.testsuite</id>
-      <build>
-        <plugins>
-          <plugin>
-            <artifactId>maven-antrun-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>spring-test-cfg-customization</id>
-                <phase>test-compile</phase>
-                <goals>
-                  <goal>run</goal>
-                </goals>
-                <configuration>
-                  <tasks>
-                    <ant antfile="../distro/src/main/files/install/build.xml" target="create.cfg">
-                      <property name="tx" value="spring.testsuite" />
-                      <property name="hibernate.connection.type" value="spring" />
-                      <property name="database" value="hsqldb.inmem" />
-                      <property name="mail.cfg" value="testsuite" />
-                      <property name="cfg.dest.dir" value="target/test-classes" />
-                      <property name="install.src.dir" value="../distro/src/main/files/install/src" />
-                      <property name="jdbc.properties.dir" value="../distro/src/main/files/install/jdbc" />
-                      <property name="logging" value="none" />
-                    </ant>
-                  </tasks>
-                </configuration>
-              </execution>
-            </executions>
-          </plugin>
-
-          <plugin>
-            <artifactId>maven-surefire-plugin</artifactId>
-            <configuration>
-              <failIfNoTests>false</failIfNoTests>
-              <redirectTestOutputToFile>true</redirectTestOutputToFile>
-              <excludes>
-                <exclude>org/jbpm/test/reporting/SQLStmtTest.java</exclude>
-              </excludes>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
-</project>

Copied: jbpm4/tags/jbpm-4.4/modules/test-db/pom.xml (from rev 6502, jbpm4/trunk/modules/test-db/pom.xml)
===================================================================
--- jbpm4/tags/jbpm-4.4/modules/test-db/pom.xml	                        (rev 0)
+++ jbpm4/tags/jbpm-4.4/modules/test-db/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -0,0 +1,205 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!--  jBPM: Workflow in Java                                                -->
+<!--                                                                        -->
+<!--  Distributable under LGPL license.                                     -->
+<!--  See terms of license at http://www.gnu.org.                           -->
+<!-- ====================================================================== -->
+
+<!-- $Id$ -->
+
+<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>
+  <name>jBPM 4 - Test DB</name>
+  <groupId>org.jbpm.jbpm4</groupId>
+  <artifactId>jbpm-test-db</artifactId>
+  <packaging>jar</packaging>
+
+  <!-- Parent -->
+  <parent>
+    <groupId>org.jbpm.jbpm4</groupId>
+    <artifactId>jbpm</artifactId>
+    <version>4.4</version>
+    <relativePath>../../pom.xml</relativePath>
+  </parent>
+
+  <!-- Dependencies -->
+  <dependencies>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-api</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-test-base</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-jpdl</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-bpmn</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-console-reports</artifactId>
+      <scope>test</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>org.drools</groupId>
+      <artifactId>drools-core</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.drools</groupId>
+      <artifactId>drools-compiler</artifactId>
+      <scope>runtime</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.springframework</groupId>
+      <artifactId>spring</artifactId>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-jar-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>generate-test-jar</id>
+            <phase>package</phase>
+            <goals>
+              <goal>test-jar</goal>
+            </goals>
+            <configuration>
+              <excludes>
+                <exclude>jbpm.*</exclude>
+                <exclude>logging.properties</exclude>
+                <exclude>META-INF/*</exclude>
+              </excludes>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <failIfNoTests>false</failIfNoTests>
+          <redirectTestOutputToFile>true</redirectTestOutputToFile>
+          <systemProperties>
+            <property>
+              <name>database</name>
+              <value>${database}</value>
+            </property>
+          </systemProperties>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
+  <profiles>
+
+    <!-- -Ddatabase= -->
+    <profile>
+      <id>run.database.testsuite</id>
+      <activation>
+        <property>
+          <name>database</name>
+        </property>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>database-test-cfg-customization</id>
+                <phase>test-compile</phase>
+                <goals>
+                  <goal>run</goal>
+                </goals>
+                <configuration>
+                  <tasks>
+                    <echo message="database: ${database}" />
+                    <mkdir dir="target/jdbc.properties" />
+                    <copy todir="target/jdbc.properties" overwrite="true">
+                      <fileset dir="../../qa/jdbc" />
+                    </copy>
+                    <copy todir="target/jdbc.properties" overwrite="true" failonerror="false">
+                      <fileset dir="${user.home}/.jbpm4/jdbc" />
+                    </copy>
+                    <ant antfile="../distro/src/main/files/install/build.xml" target="create.cfg">
+                      <property name="tx" value="standalone.testsuite" />
+                      <property name="mail.cfg" value="testsuite" />
+                      <property name="database" value="${database}" />
+                      <property name="cfg.dest.dir" value="target/test-classes" />
+                      <property name="install.src.dir" value="../distro/src/main/files/install/src" />
+                      <property name="jdbc.properties.dir" value="target/jdbc.properties" />
+                      <property name="logging" value="none" /> <!-- then the original logging.properties in the resources of this project will be used -->
+                    </ant>
+                  </tasks>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+
+    <!--
+      Note: Spring profile cannot be used together with 'database' property currently (see
+      http://jira.codehaus.org/browse/MNG-3328)
+    -->
+    <profile>
+      <id>run.spring.testsuite</id>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>spring-test-cfg-customization</id>
+                <phase>test-compile</phase>
+                <goals>
+                  <goal>run</goal>
+                </goals>
+                <configuration>
+                  <tasks>
+                    <ant antfile="../distro/src/main/files/install/build.xml" target="create.cfg">
+                      <property name="tx" value="spring.testsuite" />
+                      <property name="hibernate.connection.type" value="spring" />
+                      <property name="database" value="hsqldb.inmem" />
+                      <property name="mail.cfg" value="testsuite" />
+                      <property name="cfg.dest.dir" value="target/test-classes" />
+                      <property name="install.src.dir" value="../distro/src/main/files/install/src" />
+                      <property name="jdbc.properties.dir" value="../distro/src/main/files/install/jdbc" />
+                      <property name="logging" value="none" />
+                    </ant>
+                  </tasks>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+
+          <plugin>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <failIfNoTests>false</failIfNoTests>
+              <redirectTestOutputToFile>true</redirectTestOutputToFile>
+              <excludes>
+                <exclude>org/jbpm/test/reporting/SQLStmtTest.java</exclude>
+              </excludes>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+</project>

Deleted: jbpm4/tags/jbpm-4.4/modules/test-pojo/pom.xml
===================================================================
--- jbpm4/trunk/modules/test-pojo/pom.xml	2010-07-15 11:23:41 UTC (rev 6494)
+++ jbpm4/tags/jbpm-4.4/modules/test-pojo/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -1,76 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ====================================================================== -->
-<!--                                                                        -->
-<!--  JBoss, the OpenSource J2EE webOS                                      -->
-<!--                                                                        -->
-<!--  Distributable under LGPL license.                                     -->
-<!--  See terms of license at http://www.gnu.org.                           -->
-<!--                                                                        -->
-<!-- ====================================================================== -->
-
-<!-- $Id$ -->
-
-<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>
-  <name>jBPM 4 - Test POJO</name>
-  <groupId>org.jbpm.jbpm4</groupId>
-  <artifactId>jbpm-test-pojo</artifactId>
-  <packaging>jar</packaging>
-
-  <!-- Parent -->
-  <parent>
-    <groupId>org.jbpm.jbpm4</groupId>
-    <artifactId>jbpm</artifactId>
-    <version>4.4-SNAPSHOT</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-
-  <!-- Dependencies -->
-  <dependencies>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-api</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-test-base</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>log4j</groupId>
-      <artifactId>log4j</artifactId>
-    </dependency>
-
-    <!-- TODO remove this once process factory api is complete -->
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-pvm</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-  </dependencies>
-
-  <profiles>
-    <!--
-      skip tests if this is an integration test run (only examples and test-db are part of the
-      integration test runs)
-    -->
-    <profile>
-      <id>skip.tests.during.database.testrun</id>
-      <activation>
-        <property>
-          <name>database</name>
-        </property>
-      </activation>
-      <properties>
-        <skipTests>true</skipTests>
-      </properties>
-    </profile>
-  </profiles>
-</project>

Copied: jbpm4/tags/jbpm-4.4/modules/test-pojo/pom.xml (from rev 6502, jbpm4/trunk/modules/test-pojo/pom.xml)
===================================================================
--- jbpm4/tags/jbpm-4.4/modules/test-pojo/pom.xml	                        (rev 0)
+++ jbpm4/tags/jbpm-4.4/modules/test-pojo/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!--                                                                        -->
+<!--  JBoss, the OpenSource J2EE webOS                                      -->
+<!--                                                                        -->
+<!--  Distributable under LGPL license.                                     -->
+<!--  See terms of license at http://www.gnu.org.                           -->
+<!--                                                                        -->
+<!-- ====================================================================== -->
+
+<!-- $Id$ -->
+
+<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>
+  <name>jBPM 4 - Test POJO</name>
+  <groupId>org.jbpm.jbpm4</groupId>
+  <artifactId>jbpm-test-pojo</artifactId>
+  <packaging>jar</packaging>
+
+  <!-- Parent -->
+  <parent>
+    <groupId>org.jbpm.jbpm4</groupId>
+    <artifactId>jbpm</artifactId>
+    <version>4.4</version>
+    <relativePath>../../pom.xml</relativePath>
+  </parent>
+
+  <!-- Dependencies -->
+  <dependencies>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-api</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-test-base</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>log4j</groupId>
+      <artifactId>log4j</artifactId>
+    </dependency>
+
+    <!-- TODO remove this once process factory api is complete -->
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-pvm</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+  </dependencies>
+
+  <profiles>
+    <!--
+      skip tests if this is an integration test run (only examples and test-db are part of the
+      integration test runs)
+    -->
+    <profile>
+      <id>skip.tests.during.database.testrun</id>
+      <activation>
+        <property>
+          <name>database</name>
+        </property>
+      </activation>
+      <properties>
+        <skipTests>true</skipTests>
+      </properties>
+    </profile>
+  </profiles>
+</project>

Deleted: jbpm4/tags/jbpm-4.4/modules/userguide/pom.xml
===================================================================
--- jbpm4/trunk/modules/userguide/pom.xml	2010-07-15 11:23:41 UTC (rev 6494)
+++ jbpm4/tags/jbpm-4.4/modules/userguide/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -1,99 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-  <!-- ====================================================================== -->
-  <!--                                                                        -->
-  <!--  JBoss, the OpenSource J2EE webOS                                      -->
-  <!--                                                                        -->
-  <!--  Distributable under LGPL license.                                     -->
-  <!--  See terms of license at http://www.gnu.org.                           -->
-  <!--                                                                        -->
-  <!-- ====================================================================== -->
-
-  <!-- $Id: pom.xml 2693 2008-10-31 09:12:32Z tom.baeyens at jboss.com $ -->
-
-<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>
-
-  <name>jBPM 4 - User Guide</name>
-  <groupId>org.jbpm.jbpm4</groupId>
-  <artifactId>jbpm-userguide</artifactId>
-  <packaging>pom</packaging>
-
-  <!-- Parent -->
-  <parent>
-    <groupId>org.jbpm.jbpm4</groupId>
-    <artifactId>jbpm</artifactId>
-    <version>4.4-SNAPSHOT</version>
-    <relativePath>../../pom.xml</relativePath>
-  </parent>
-
-  <dependencies>
-    <!-- 
-    <dependency>
-      <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-pvm</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    -->
-  </dependencies>
-
-  <build>
-    <!-- ### PLUGINS ###################################################### -->
-    <plugins>
-
-      <plugin>
-        <groupId>org.jboss.maven.plugins</groupId>
-        <artifactId>maven-jdocbook-plugin</artifactId>
-        <version>2.1.2</version>
-        <extensions>true</extensions>
-
-        <executions>
-          <execution>
-            <phase>package</phase>
-            <goals>
-              <goal>resources</goal>
-              <goal>generate</goal>
-            </goals>
-          </execution>
-         </executions>
-
-        <dependencies>
-          <dependency>
-            <groupId>org.jboss</groupId>
-            <artifactId>jbossorg-docbook-xslt</artifactId>
-            <version>1.1.0</version>
-          </dependency>
-          <dependency>
-            <groupId>org.jbpm.jbpm4</groupId>
-            <artifactId>docbook-style</artifactId>
-            <version>1.0.0</version>
-            <type>jdocbook-style</type>
-          </dependency>
-        </dependencies>
-
-        <configuration>
-          <sourceDocumentName>master.xml</sourceDocumentName>
-          <masterTranslation>en</masterTranslation>
-          <imageResource>
-            <directory>${basedir}/src/main/docbook/en</directory>
-            <includes>
-              <include>images/*.png</include>
-            </includes>
-          </imageResource>
-          <formats>
-            <format>
-              <formatName>html_single</formatName>
-              <stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
-              <finalName>index.html</finalName>
-            </format>
-          </formats>
-        </configuration>
-
-      </plugin>
-
-    </plugins>
-  </build>
-
-</project>
\ No newline at end of file

Copied: jbpm4/tags/jbpm-4.4/modules/userguide/pom.xml (from rev 6502, jbpm4/trunk/modules/userguide/pom.xml)
===================================================================
--- jbpm4/tags/jbpm-4.4/modules/userguide/pom.xml	                        (rev 0)
+++ jbpm4/tags/jbpm-4.4/modules/userguide/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+  <!-- ====================================================================== -->
+  <!--                                                                        -->
+  <!--  JBoss, the OpenSource J2EE webOS                                      -->
+  <!--                                                                        -->
+  <!--  Distributable under LGPL license.                                     -->
+  <!--  See terms of license at http://www.gnu.org.                           -->
+  <!--                                                                        -->
+  <!-- ====================================================================== -->
+
+  <!-- $Id: pom.xml 2693 2008-10-31 09:12:32Z tom.baeyens at jboss.com $ -->
+
+<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>
+
+  <name>jBPM 4 - User Guide</name>
+  <groupId>org.jbpm.jbpm4</groupId>
+  <artifactId>jbpm-userguide</artifactId>
+  <packaging>pom</packaging>
+
+  <!-- Parent -->
+  <parent>
+    <groupId>org.jbpm.jbpm4</groupId>
+    <artifactId>jbpm</artifactId>
+    <version>4.4</version>
+    <relativePath>../../pom.xml</relativePath>
+  </parent>
+
+  <dependencies>
+    <!-- 
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-pvm</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    -->
+  </dependencies>
+
+  <build>
+    <!-- ### PLUGINS ###################################################### -->
+    <plugins>
+
+      <plugin>
+        <groupId>org.jboss.maven.plugins</groupId>
+        <artifactId>maven-jdocbook-plugin</artifactId>
+        <version>2.1.2</version>
+        <extensions>true</extensions>
+
+        <executions>
+          <execution>
+            <phase>package</phase>
+            <goals>
+              <goal>resources</goal>
+              <goal>generate</goal>
+            </goals>
+          </execution>
+         </executions>
+
+        <dependencies>
+          <dependency>
+            <groupId>org.jboss</groupId>
+            <artifactId>jbossorg-docbook-xslt</artifactId>
+            <version>1.1.0</version>
+          </dependency>
+          <dependency>
+            <groupId>org.jbpm.jbpm4</groupId>
+            <artifactId>docbook-style</artifactId>
+            <version>1.0.0</version>
+            <type>jdocbook-style</type>
+          </dependency>
+        </dependencies>
+
+        <configuration>
+          <sourceDocumentName>master.xml</sourceDocumentName>
+          <masterTranslation>en</masterTranslation>
+          <imageResource>
+            <directory>${basedir}/src/main/docbook/en</directory>
+            <includes>
+              <include>images/*.png</include>
+            </includes>
+          </imageResource>
+          <formats>
+            <format>
+              <formatName>html_single</formatName>
+              <stylesheetResource>classpath:/xslt/org/jboss/xhtml-single.xsl</stylesheetResource>
+              <finalName>index.html</finalName>
+            </format>
+          </formats>
+        </configuration>
+
+      </plugin>
+
+    </plugins>
+  </build>
+
+</project>
\ No newline at end of file

Deleted: jbpm4/tags/jbpm-4.4/pom.xml
===================================================================
--- jbpm4/trunk/pom.xml	2010-07-15 11:23:41 UTC (rev 6494)
+++ jbpm4/tags/jbpm-4.4/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -1,748 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- ====================================================================== -->
-<!--  jBPM: Workflow in Java                                                -->
-<!--                                                                        -->
-<!--  Distributable under LGPL license.                                     -->
-<!--  See terms of license at http://www.gnu.org.                           -->
-<!-- ====================================================================== -->
-
-<!-- $Id$ -->
-
-<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>
-
-  <name>jBPM 4</name>
-  <groupId>org.jbpm.jbpm4</groupId>
-  <artifactId>jbpm</artifactId>
-  <version>4.4-SNAPSHOT</version>
-  <packaging>pom</packaging>
-
-  <!-- Parent -->
-  <parent>
-    <artifactId>jbpm-parent</artifactId>
-    <groupId>org.jbpm</groupId>
-    <version>1.0.3</version>
-  </parent>
-
-  <!-- Modules -->
-  <modules>
-    <module>modules/log</module>
-    <module>modules/api</module>
-    <module>modules/test-base</module>
-    <module>modules/pvm</module>
-    <module>modules/jpdl</module>
-    <module>modules/bpmn</module>
-    <module>modules/integration</module>
-    <module>modules/examples</module>
-    <module>modules/test-db</module>
-    <module>modules/test-pojo</module>
-    <module>modules/migration</module>
-  </modules>
-
-  <!-- Properties -->
-  <properties>
-    <activation.version>1.1.1</activation.version>
-    <apache.ant.version>1.7.0</apache.ant.version>
-    <asm.version>1.5.3</asm.version>
-    <aspectjrt.version>1.5.3</aspectjrt.version>
-    <beanshell.version>2.0b5</beanshell.version>
-    <cactus.version>1.8.1</cactus.version>
-    <cdi.version>1.0</cdi.version>
-    <commons.httpclient.version>3.1</commons.httpclient.version>
-    <drools.version>5.0.1</drools.version>
-    <errai.version>1.1-M2</errai.version>
-    <freemarker.version>2.3.15</freemarker.version>
-    <groovy.version>1.5.6</groovy.version>
-    <gwt.console.version>2.1</gwt.console.version>
-    <hibernate.version>3.3.1.GA</hibernate.version>
-    <hsqldb.version>1.8.0.7</hsqldb.version>
-    <jbpm.gpd.version>4.4</jbpm.gpd.version>
-    <jboss.j2ee.version>4.2.2.GA</jboss.j2ee.version>
-    <jboss.client.version>5.0.1.GA</jboss.client.version>
-    <juel.version>2.2.1</juel.version>
-    <juel.engine.version>2.1.0</juel.engine.version>
-    <junit.version>3.8.2</junit.version>
-    <livetribe.version>2.0.5</livetribe.version>
-    <log4j.version>1.2.14</log4j.version>
-    <mail.version>1.4.1</mail.version>
-    <picketlink.version>1.1.1.GA</picketlink.version>
-    <report.engine.version>2.3.2</report.engine.version>
-    <servlet-api.version>2.5</servlet-api.version>
-    <signavio.jbpmeditor.version>1.1</signavio.jbpmeditor.version>
-    <slf4j.version>1.5.2</slf4j.version>
-    <spring.version>2.0.8</spring.version>
-    <stax.api.version>1.0.1</stax.api.version>
-    <wiser.version>1.2</wiser.version>
-    <woodstox.version>3.2.6</woodstox.version>
-
-    <mysql.connector.version>5.0.8</mysql.connector.version>
-    <oracle.version>10.2.0.4</oracle.version>
-    <postgresql.version>8.3-603.jdbc3</postgresql.version>
-  </properties>
-
-  <!-- DependencyManagement -->
-  <dependencyManagement>
-    <dependencies>
-      <!-- Core engine components -->
-      <dependency>
-        <groupId>org.jbpm.jbpm4</groupId>
-        <artifactId>jbpm-api</artifactId>
-        <version>${project.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jbpm.jbpm4</groupId>
-        <artifactId>jbpm-db</artifactId>
-        <version>${project.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jbpm.jbpm4</groupId>
-        <artifactId>jbpm-enterprise</artifactId>
-        <version>${project.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jbpm.jbpm4</groupId>
-        <artifactId>jbpm-jboss</artifactId>
-        <version>${project.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jbpm.jbpm4</groupId>
-        <artifactId>jbpm-jpdl</artifactId>
-        <version>${project.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jbpm.jbpm4</groupId>
-        <artifactId>jbpm-bpmn</artifactId>
-        <version>${project.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jbpm.jbpm4</groupId>
-        <artifactId>jbpm-log</artifactId>
-        <version>${project.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jbpm.jbpm4</groupId>
-        <artifactId>jbpm-pvm</artifactId>
-        <version>${project.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jbpm.jbpm4</groupId>
-        <artifactId>jbpm-test-base</artifactId>
-        <version>${project.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jbpm.jbpm4</groupId>
-        <artifactId>jbpm-examples</artifactId>
-        <classifier>tests</classifier>
-        <version>${project.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jbpm.jbpm4</groupId>
-        <artifactId>jbpm-test-db</artifactId>
-        <version>${project.version}</version>
-        <classifier>tests</classifier>
-      </dependency>
-      <dependency>
-        <groupId>org.jbpm.jbpm4</groupId>
-        <artifactId>jbpm-test-enterprise-ejb</artifactId>
-        <version>${project.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jbpm.jbpm4</groupId>
-        <artifactId>jbpm-spi</artifactId>
-        <version>${project.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jbpm.jbpm4</groupId>
-        <artifactId>jbpm-jboss5</artifactId>
-        <version>${project.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jbpm.jbpm4</groupId>
-        <artifactId>jbpm-tomcat6</artifactId>
-        <version>${project.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jbpm.jbpm4</groupId>
-        <artifactId>jbpm-console-integration</artifactId>
-        <version>${project.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jbpm.jbpm4</groupId>
-        <artifactId>jbpm-console-form-plugin</artifactId>
-        <version>${project.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jbpm.jbpm4</groupId>
-        <artifactId>jbpm-console-graphView-plugin</artifactId>
-        <version>${project.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jbpm.jbpm4</groupId>
-        <artifactId>jbpm-console-reports</artifactId>
-        <version>${project.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jbpm.jbpm4</groupId>
-        <artifactId>jbpm-jboss4</artifactId>
-        <version>${project.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jbpm.jbpm4</groupId>
-        <artifactId>jbpm-gpd</artifactId>
-        <type>zip</type>
-        <version>${jbpm.gpd.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jbpm.jbpm4.dependencies.signavio</groupId>
-        <artifactId>jbpmeditor</artifactId>
-        <type>war</type>
-        <version>${signavio.jbpmeditor.version}</version>
-      </dependency>
-
-      <!-- External dependencies -->
-      <!-- Please sort by artifactId -->
-      <dependency>
-        <groupId>javax.activation</groupId>
-        <artifactId>activation</artifactId>
-        <version>${activation.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.apache.ant</groupId>
-        <artifactId>ant</artifactId>
-        <version>${apache.ant.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>asm</groupId>
-        <artifactId>asm</artifactId>
-        <version>${asm.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>aspectj</groupId>
-        <artifactId>aspectjrt</artifactId>
-        <version>${aspectjrt.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.beanshell</groupId>
-        <artifactId>bsh</artifactId>
-        <version>${beanshell.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>cactus</groupId>
-        <artifactId>cactus.core</artifactId>
-        <version>${cactus.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>cactus</groupId>
-        <artifactId>cactus.integration.ant</artifactId>
-        <version>${cactus.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>cactus</groupId>
-        <artifactId>cactus.integration.shared.api</artifactId>
-        <version>${cactus.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>javax.enterprise</groupId>
-        <artifactId>cdi-api</artifactId>
-        <version>${cdi.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>commons-httpclient</groupId>
-        <artifactId>commons-httpclient</artifactId>
-        <version>${commons.httpclient.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.drools</groupId>
-        <artifactId>drools-core</artifactId>
-        <version>${drools.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.drools</groupId>
-        <artifactId>drools-compiler</artifactId>
-        <version>${drools.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jboss.errai</groupId>
-        <artifactId>errai-common</artifactId>
-        <version>${errai.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jboss.errai</groupId>
-        <artifactId>errai-bus</artifactId>
-        <version>${errai.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.freemarker</groupId>
-        <artifactId>freemarker</artifactId>
-        <version>${freemarker.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.codehaus.groovy</groupId>
-        <artifactId>groovy-all</artifactId>
-        <version>${groovy.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jboss.bpm</groupId>
-        <artifactId>gwt-console</artifactId>
-        <version>${gwt.console.version}</version>
-        <classifier>jbpm</classifier>
-        <type>war</type>
-      </dependency>
-      <dependency>
-        <groupId>org.jboss.bpm</groupId>
-        <artifactId>gwt-console-server</artifactId>
-        <version>${gwt.console.version}</version>
-        <classifier>jbpm</classifier>
-        <type>war</type>
-      </dependency>
-      <dependency>
-        <groupId>org.jboss.bpm</groupId>
-        <artifactId>gwt-console-server-integration</artifactId>
-        <version>${gwt.console.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jboss.bpm</groupId>
-        <artifactId>gwt-console-rpc</artifactId>
-        <version>${gwt.console.version}</version>
-        <scope>provided</scope>
-      </dependency>
-      <dependency>
-        <groupId>org.hibernate</groupId>
-        <artifactId>hibernate-core</artifactId>
-        <version>${hibernate.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jboss.javaee</groupId>
-        <artifactId>jboss-javaee</artifactId>
-        <version>${jboss.client.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.jboss.jbossas</groupId>
-        <artifactId>jboss-as-client</artifactId>
-        <version>${jboss.client.version}</version>
-        <type>pom</type>
-      </dependency>
-      <dependency>
-        <groupId>jboss</groupId>
-        <artifactId>jboss-j2ee</artifactId>
-        <version>${jboss.j2ee.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>juel</groupId>
-        <artifactId>juel-api</artifactId>
-        <version>${juel.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>juel</groupId>
-        <artifactId>juel-impl</artifactId>
-        <version>${juel.version}</version>
-      </dependency>
-      <dependency>
-        <!--
-          The juel engine is the library from scripting.java.sun.com that exposes juel as a
-          jsr233 scripting engine. It's not part of the juel distribution. For some reason i
-          don't recall, we uploaded it as an juel-engine artifact in the group juel. And more
-          problematic, used the juel version (2.1.0) for it. That is not intuitive.
-        -->
-        <groupId>juel</groupId>
-        <artifactId>juel-engine</artifactId>
-        <version>${juel.engine.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>junit</groupId>
-        <artifactId>junit</artifactId>
-        <version>${junit.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.livetribe</groupId>
-        <artifactId>livetribe-jsr223</artifactId>
-        <version>${livetribe.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>log4j</groupId>
-        <artifactId>log4j</artifactId>
-        <version>${log4j.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>javax.mail</groupId>
-        <artifactId>mail</artifactId>
-        <version>${mail.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.picketlink.idm</groupId>
-        <artifactId>picketlink-idm-core</artifactId>
-        <version>${picketlink.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.picketlink.idm</groupId>
-        <artifactId>picketlink-idm-hibernate</artifactId>
-        <version>${picketlink.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.eclipse.birt</groupId>
-        <artifactId>report-engine</artifactId>
-        <type>zip</type>
-        <version>${report.engine.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>javax.servlet</groupId>
-        <artifactId>servlet-api</artifactId>
-        <version>${servlet-api.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.slf4j</groupId>
-        <artifactId>slf4j-api</artifactId>
-        <version>${slf4j.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.slf4j</groupId>
-        <artifactId>slf4j-jdk14</artifactId>
-        <version>${slf4j.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.springframework</groupId>
-        <artifactId>spring</artifactId>
-        <version>${spring.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.springframework</groupId>
-        <artifactId>spring-mock</artifactId>
-        <version>${spring.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.subethamail</groupId>
-        <artifactId>subethasmtp-smtp</artifactId>
-        <version>${wiser.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.subethamail</groupId>
-        <artifactId>subethasmtp-wiser</artifactId>
-        <version>${wiser.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.codehaus.woodstox</groupId>
-        <artifactId>wstx-lgpl</artifactId>
-        <version>${woodstox.version}</version>
-      </dependency>
-
-      <!-- Database Driver Versions  -->
-      <dependency>
-        <groupId>hsqldb</groupId>
-        <artifactId>hsqldb</artifactId>
-        <version>${hsqldb.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>mysql</groupId>
-        <artifactId>mysql-connector-java</artifactId>
-        <version>${mysql.connector.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>postgresql</groupId>
-        <artifactId>postgresql</artifactId>
-        <version>${postgresql.version}</version>
-      </dependency>
-    </dependencies>
-  </dependencyManagement>
-
-  <!-- Plugins -->
-  <build>
-    <plugins>
-      <plugin>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <configuration>
-          <source>1.5</source>
-          <target>1.5</target>
-        </configuration>
-      </plugin>
-
-      <plugin>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <configuration>
-          <redirectTestOutputToFile>true</redirectTestOutputToFile>
-          <excludes>
-            <exclude>**/*TestCase.java</exclude>
-          </excludes>
-        </configuration>
-      </plugin>
-
-      <plugin>
-        <artifactId>maven-release-plugin</artifactId>
-        <configuration>
-          <tagBase>https://svn.jboss.org/repos/jbpm/jbpm4/tags</tagBase>
-          <releaseProfiles>release</releaseProfiles>
-          <goals>deploy</goals>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-
-  <!-- Repositories -->
-  <repositories>
-    <repository>
-      <id>jboss-public-repository-group</id>
-      <name>JBoss Public Maven Repository Group</name>
-      <url>http://repository.jboss.org/nexus/content/groups/public/</url>
-      <releases>
-        <enabled>true</enabled>
-        <updatePolicy>never</updatePolicy>
-      </releases>
-      <snapshots>
-        <enabled>true</enabled>
-      </snapshots>
-    </repository>
-  </repositories>
-
-  <pluginRepositories>
-    <pluginRepository>
-      <id>jboss-public-repository-group</id>
-      <name>JBoss Public Maven Repository Group</name>
-      <url>http://repository.jboss.org/nexus/content/groups/public/</url>
-      <releases>
-        <enabled>true</enabled>
-        <updatePolicy>never</updatePolicy>
-      </releases>
-      <snapshots>
-        <enabled>true</enabled>
-      </snapshots>
-    </pluginRepository>
-  </pluginRepositories>
-
-  <profiles>
-    <!-- schema for direct db integration test. see qa\hudson-jbpm4-db.* -->
-    <profile>
-      <id>docs</id>
-      <modules>
-        <module>modules/devguide</module>
-        <module>modules/userguide</module>
-      </modules>
-    </profile>
-
-    <!-- PROFILE DISTRO
-    -Pdistro 
-    -->
-    <profile>
-      <id>distro</id>
-      <modules>
-        <module>modules/enterprise</module>
-        <module>modules/jboss</module>
-        <module>modules/db</module>
-        <module>modules/distro</module>
-      </modules>
-      <properties>
-        <skipTests>true</skipTests>
-      </properties>
-      <build>
-        <plugins>
-          <plugin>
-            <artifactId>maven-surefire-plugin</artifactId>
-            <configuration>
-              <skipTests>true</skipTests>
-            </configuration>
-          </plugin>
-          <plugin>
-            <artifactId>maven-source-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>attach-sources</id>
-                <goals>
-                  <goal>jar</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-
-    <!-- schema for direct db integration test. see qa\hudson-jbpm4-db.* -->
-    <profile>
-      <id>schema</id>
-      <modules>
-        <module>modules/db</module>
-      </modules>
-    </profile>
-
-    <!-- PROFILE NO-DATABASE
-    The default configurations are based on hsqldb 
-    -->
-    <profile>
-      <id>no-database</id>
-      <activation>
-        <property>
-          <name>!database</name>
-        </property>
-      </activation>
-      <properties>
-        <database>hsqldb</database>
-      </properties>
-      <dependencies>
-        <dependency>
-          <groupId>hsqldb</groupId>
-          <artifactId>hsqldb</artifactId>
-          <scope>test</scope>
-        </dependency>
-      </dependencies>
-    </profile>
-
-    <!-- PROFILE HSQLDB
-    -Ddatabase=hsqldb
-    In the hudson matrix jobs, database=hsqldb is provided explicitely.
-    -->
-    <profile>
-      <id>hsqldb</id>
-      <activation>
-        <property>
-          <name>database</name>
-          <value>hsqldb</value>
-        </property>
-      </activation>
-      <dependencies>
-        <dependency>
-          <groupId>hsqldb</groupId>
-          <artifactId>hsqldb</artifactId>
-          <scope>test</scope>
-        </dependency>
-      </dependencies>
-    </profile>
-
-    <!-- PROFILE ORACLE    
-    -Ddatabase=oracle 
-    -->
-    <profile>
-      <id>oracle</id>
-      <activation>
-        <property>
-          <name>database</name>
-          <value>oracle</value>
-        </property>
-      </activation>
-      <dependencies>
-        <dependency>
-          <groupId>com.oracle</groupId>
-          <artifactId>ojdbc14</artifactId>
-          <version>${oracle.version}</version>
-          <scope>test</scope>
-        </dependency>
-      </dependencies>
-      <repositories>
-        <repository>
-          <id>qa.jboss.com</id>
-          <url>http://www.qa.jboss.com/jdbc-drivers/maven2</url>
-        </repository>
-      </repositories>
-    </profile>
-
-    <!-- PROFILE MYSQL 
-    -Ddatabase=mysql -->
-    <profile>
-      <id>mysql</id>
-      <activation>
-        <property>
-          <name>database</name>
-          <value>mysql</value>
-        </property>
-      </activation>
-      <dependencies>
-        <dependency>
-          <groupId>mysql</groupId>
-          <artifactId>mysql-connector-java</artifactId>
-          <version>5.0.8</version>
-          <scope>test</scope>
-        </dependency>
-      </dependencies>
-    </profile>
-
-    <!-- PROFILE POSTGRESQL 
-    -Ddatabase=postgresql -->
-    <profile>
-      <id>postgresql</id>
-      <activation>
-        <property>
-          <name>database</name>
-          <value>postgresql</value>
-        </property>
-      </activation>
-      <dependencies>
-        <dependency>
-          <groupId>postgresql</groupId>
-          <artifactId>postgresql</artifactId>
-          <scope>test</scope>
-        </dependency>
-      </dependencies>
-    </profile>
-
-    <!-- PROFILE SYBASE 
-    -Ddatabase=sybase -->
-    <profile>
-      <id>sybase</id>
-      <activation>
-        <property>
-          <name>database</name>
-          <value>sybase</value>
-        </property>
-      </activation>
-      <dependencies>
-        <dependency>
-          <groupId>net.sourceforge.jtds</groupId>
-          <artifactId>jtds</artifactId>
-          <scope>test</scope>
-        </dependency>
-        <dependency>
-          <groupId>com.sybase</groupId>
-          <artifactId>jconnect</artifactId>
-          <version>6.0.5</version>
-          <scope>test</scope>
-        </dependency>
-      </dependencies>
-      <repositories>
-        <repository>
-          <id>qa.jboss.com</id>
-          <url>http://www.qa.jboss.com/jdbc-drivers/maven2</url>
-        </repository>
-      </repositories>
-    </profile>
-
-    <!-- PROFILE INTEGRATION -->
-    <profile>
-      <id>integration</id>
-      <modules>
-        <module>modules/test-cactus</module>
-      </modules>
-    </profile>
-
-    <!-- PROFILE ENTERPRISE -->
-    <profile>
-      <id>enterprise</id>
-      <modules>
-        <module>modules/test-cactus</module>
-        <module>modules/test-enterprise/test-enterprise-ejb</module>
-        <module>modules/test-enterprise/test-enterprise-suite</module>
-      </modules>
-    </profile>
-
-    <!-- PROFILE LOAD -->
-    <profile>
-      <id>load</id>
-      <modules>
-        <module>modules/test-load</module>
-      </modules>
-    </profile>
-
-    <!-- PROFILE RELEASE -->
-    <profile>
-      <id>release</id>
-      <modules>
-        <!-- docs -->
-        <module>modules/devguide</module>
-        <module>modules/userguide</module>
-        <!-- distro -->
-        <module>modules/enterprise</module>
-        <module>modules/jboss</module>
-        <module>modules/db</module>
-        <module>modules/distro</module>
-      </modules>
-    </profile>
-  </profiles>
-</project>

Copied: jbpm4/tags/jbpm-4.4/pom.xml (from rev 6502, jbpm4/trunk/pom.xml)
===================================================================
--- jbpm4/tags/jbpm-4.4/pom.xml	                        (rev 0)
+++ jbpm4/tags/jbpm-4.4/pom.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -0,0 +1,754 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!--  jBPM: Workflow in Java                                                -->
+<!--                                                                        -->
+<!--  Distributable under LGPL license.                                     -->
+<!--  See terms of license at http://www.gnu.org.                           -->
+<!-- ====================================================================== -->
+
+<!-- $Id$ -->
+
+<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>
+
+  <name>jBPM 4</name>
+  <groupId>org.jbpm.jbpm4</groupId>
+  <artifactId>jbpm</artifactId>
+  <version>4.4</version>
+  <packaging>pom</packaging>
+
+  <!-- Parent -->
+  <parent>
+    <artifactId>jbpm-parent</artifactId>
+    <groupId>org.jbpm</groupId>
+    <version>1.0.3</version>
+  </parent>
+
+  <!-- Modules -->
+  <modules>
+    <module>modules/log</module>
+    <module>modules/api</module>
+    <module>modules/test-base</module>
+    <module>modules/pvm</module>
+    <module>modules/jpdl</module>
+    <module>modules/bpmn</module>
+    <module>modules/integration</module>
+    <module>modules/examples</module>
+    <module>modules/test-db</module>
+    <module>modules/test-pojo</module>
+    <module>modules/migration</module>
+  </modules>
+
+  <!-- Properties -->
+  <properties>
+    <activation.version>1.1.1</activation.version>
+    <apache.ant.version>1.7.0</apache.ant.version>
+    <asm.version>1.5.3</asm.version>
+    <aspectjrt.version>1.5.3</aspectjrt.version>
+    <beanshell.version>2.0b5</beanshell.version>
+    <cactus.version>1.8.1</cactus.version>
+    <cdi.version>1.0</cdi.version>
+    <commons.httpclient.version>3.1</commons.httpclient.version>
+    <drools.version>5.0.1</drools.version>
+    <errai.version>1.1-M2</errai.version>
+    <freemarker.version>2.3.15</freemarker.version>
+    <groovy.version>1.5.6</groovy.version>
+    <gwt.console.version>2.1</gwt.console.version>
+    <hibernate.version>3.3.1.GA</hibernate.version>
+    <hsqldb.version>1.8.0.7</hsqldb.version>
+    <jbpm.gpd.version>4.4</jbpm.gpd.version>
+    <jboss.j2ee.version>4.2.2.GA</jboss.j2ee.version>
+    <jboss.client.version>5.0.1.GA</jboss.client.version>
+    <juel.version>2.2.1</juel.version>
+    <juel.engine.version>2.1.0</juel.engine.version>
+    <junit.version>3.8.2</junit.version>
+    <livetribe.version>2.0.5</livetribe.version>
+    <log4j.version>1.2.14</log4j.version>
+    <mail.version>1.4.1</mail.version>
+    <picketlink.version>1.1.1.GA</picketlink.version>
+    <report.engine.version>2.3.2</report.engine.version>
+    <servlet-api.version>2.5</servlet-api.version>
+    <signavio.jbpmeditor.version>1.1</signavio.jbpmeditor.version>
+    <slf4j.version>1.5.2</slf4j.version>
+    <spring.version>2.0.8</spring.version>
+    <stax.api.version>1.0.1</stax.api.version>
+    <wiser.version>1.2</wiser.version>
+    <woodstox.version>3.2.6</woodstox.version>
+
+    <mysql.connector.version>5.0.8</mysql.connector.version>
+    <oracle.version>10.2.0.4</oracle.version>
+    <postgresql.version>8.3-603.jdbc3</postgresql.version>
+  </properties>
+
+  <!-- DependencyManagement -->
+  <dependencyManagement>
+    <dependencies>
+      <!-- Core engine components -->
+      <dependency>
+        <groupId>org.jbpm.jbpm4</groupId>
+        <artifactId>jbpm-api</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jbpm.jbpm4</groupId>
+        <artifactId>jbpm-db</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jbpm.jbpm4</groupId>
+        <artifactId>jbpm-enterprise</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jbpm.jbpm4</groupId>
+        <artifactId>jbpm-jboss</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jbpm.jbpm4</groupId>
+        <artifactId>jbpm-jpdl</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jbpm.jbpm4</groupId>
+        <artifactId>jbpm-bpmn</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jbpm.jbpm4</groupId>
+        <artifactId>jbpm-log</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jbpm.jbpm4</groupId>
+        <artifactId>jbpm-pvm</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jbpm.jbpm4</groupId>
+        <artifactId>jbpm-test-base</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jbpm.jbpm4</groupId>
+        <artifactId>jbpm-examples</artifactId>
+        <classifier>tests</classifier>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jbpm.jbpm4</groupId>
+        <artifactId>jbpm-test-db</artifactId>
+        <version>${project.version}</version>
+        <classifier>tests</classifier>
+      </dependency>
+      <dependency>
+        <groupId>org.jbpm.jbpm4</groupId>
+        <artifactId>jbpm-test-enterprise-ejb</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jbpm.jbpm4</groupId>
+        <artifactId>jbpm-spi</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jbpm.jbpm4</groupId>
+        <artifactId>jbpm-jboss5</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jbpm.jbpm4</groupId>
+        <artifactId>jbpm-tomcat6</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jbpm.jbpm4</groupId>
+        <artifactId>jbpm-console-integration</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jbpm.jbpm4</groupId>
+        <artifactId>jbpm-console-form-plugin</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jbpm.jbpm4</groupId>
+        <artifactId>jbpm-console-graphView-plugin</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jbpm.jbpm4</groupId>
+        <artifactId>jbpm-console-reports</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jbpm.jbpm4</groupId>
+        <artifactId>jbpm-jboss4</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jbpm.jbpm4</groupId>
+        <artifactId>jbpm-gpd</artifactId>
+        <type>zip</type>
+        <version>${jbpm.gpd.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jbpm.jbpm4.dependencies.signavio</groupId>
+        <artifactId>jbpmeditor</artifactId>
+        <type>war</type>
+        <version>${signavio.jbpmeditor.version}</version>
+      </dependency>
+
+      <!-- External dependencies -->
+      <!-- Please sort by artifactId -->
+      <dependency>
+        <groupId>javax.activation</groupId>
+        <artifactId>activation</artifactId>
+        <version>${activation.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.ant</groupId>
+        <artifactId>ant</artifactId>
+        <version>${apache.ant.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>asm</groupId>
+        <artifactId>asm</artifactId>
+        <version>${asm.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>aspectj</groupId>
+        <artifactId>aspectjrt</artifactId>
+        <version>${aspectjrt.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.beanshell</groupId>
+        <artifactId>bsh</artifactId>
+        <version>${beanshell.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>cactus</groupId>
+        <artifactId>cactus.core</artifactId>
+        <version>${cactus.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>cactus</groupId>
+        <artifactId>cactus.integration.ant</artifactId>
+        <version>${cactus.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>cactus</groupId>
+        <artifactId>cactus.integration.shared.api</artifactId>
+        <version>${cactus.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>javax.enterprise</groupId>
+        <artifactId>cdi-api</artifactId>
+        <version>${cdi.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>commons-httpclient</groupId>
+        <artifactId>commons-httpclient</artifactId>
+        <version>${commons.httpclient.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.drools</groupId>
+        <artifactId>drools-core</artifactId>
+        <version>${drools.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.drools</groupId>
+        <artifactId>drools-compiler</artifactId>
+        <version>${drools.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jboss.errai</groupId>
+        <artifactId>errai-common</artifactId>
+        <version>${errai.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jboss.errai</groupId>
+        <artifactId>errai-bus</artifactId>
+        <version>${errai.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.freemarker</groupId>
+        <artifactId>freemarker</artifactId>
+        <version>${freemarker.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.codehaus.groovy</groupId>
+        <artifactId>groovy-all</artifactId>
+        <version>${groovy.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jboss.bpm</groupId>
+        <artifactId>gwt-console</artifactId>
+        <version>${gwt.console.version}</version>
+        <classifier>jbpm</classifier>
+        <type>war</type>
+      </dependency>
+      <dependency>
+        <groupId>org.jboss.bpm</groupId>
+        <artifactId>gwt-console-server</artifactId>
+        <version>${gwt.console.version}</version>
+        <classifier>jbpm</classifier>
+        <type>war</type>
+      </dependency>
+      <dependency>
+        <groupId>org.jboss.bpm</groupId>
+        <artifactId>gwt-console-server-integration</artifactId>
+        <version>${gwt.console.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jboss.bpm</groupId>
+        <artifactId>gwt-console-rpc</artifactId>
+        <version>${gwt.console.version}</version>
+        <scope>provided</scope>
+      </dependency>
+      <dependency>
+        <groupId>org.hibernate</groupId>
+        <artifactId>hibernate-core</artifactId>
+        <version>${hibernate.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jboss.javaee</groupId>
+        <artifactId>jboss-javaee</artifactId>
+        <version>${jboss.client.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.jboss.jbossas</groupId>
+        <artifactId>jboss-as-client</artifactId>
+        <version>${jboss.client.version}</version>
+        <type>pom</type>
+      </dependency>
+      <dependency>
+        <groupId>jboss</groupId>
+        <artifactId>jboss-j2ee</artifactId>
+        <version>${jboss.j2ee.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>juel</groupId>
+        <artifactId>juel-api</artifactId>
+        <version>${juel.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>juel</groupId>
+        <artifactId>juel-impl</artifactId>
+        <version>${juel.version}</version>
+      </dependency>
+      <dependency>
+        <!--
+          The juel engine is the library from scripting.java.sun.com that exposes juel as a
+          jsr233 scripting engine. It's not part of the juel distribution. For some reason i
+          don't recall, we uploaded it as an juel-engine artifact in the group juel. And more
+          problematic, used the juel version (2.1.0) for it. That is not intuitive.
+        -->
+        <groupId>juel</groupId>
+        <artifactId>juel-engine</artifactId>
+        <version>${juel.engine.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>junit</groupId>
+        <artifactId>junit</artifactId>
+        <version>${junit.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.livetribe</groupId>
+        <artifactId>livetribe-jsr223</artifactId>
+        <version>${livetribe.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>log4j</groupId>
+        <artifactId>log4j</artifactId>
+        <version>${log4j.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>javax.mail</groupId>
+        <artifactId>mail</artifactId>
+        <version>${mail.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.picketlink.idm</groupId>
+        <artifactId>picketlink-idm-core</artifactId>
+        <version>${picketlink.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.picketlink.idm</groupId>
+        <artifactId>picketlink-idm-hibernate</artifactId>
+        <version>${picketlink.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.eclipse.birt</groupId>
+        <artifactId>report-engine</artifactId>
+        <type>zip</type>
+        <version>${report.engine.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>javax.servlet</groupId>
+        <artifactId>servlet-api</artifactId>
+        <version>${servlet-api.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.slf4j</groupId>
+        <artifactId>slf4j-api</artifactId>
+        <version>${slf4j.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.slf4j</groupId>
+        <artifactId>slf4j-jdk14</artifactId>
+        <version>${slf4j.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>spring</artifactId>
+        <version>${spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>spring-mock</artifactId>
+        <version>${spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.subethamail</groupId>
+        <artifactId>subethasmtp-smtp</artifactId>
+        <version>${wiser.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.subethamail</groupId>
+        <artifactId>subethasmtp-wiser</artifactId>
+        <version>${wiser.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.codehaus.woodstox</groupId>
+        <artifactId>wstx-lgpl</artifactId>
+        <version>${woodstox.version}</version>
+      </dependency>
+
+      <!-- Database Driver Versions  -->
+      <dependency>
+        <groupId>hsqldb</groupId>
+        <artifactId>hsqldb</artifactId>
+        <version>${hsqldb.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>mysql</groupId>
+        <artifactId>mysql-connector-java</artifactId>
+        <version>${mysql.connector.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>postgresql</groupId>
+        <artifactId>postgresql</artifactId>
+        <version>${postgresql.version}</version>
+      </dependency>
+    </dependencies>
+  </dependencyManagement>
+
+  <!-- Plugins -->
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <source>1.5</source>
+          <target>1.5</target>
+        </configuration>
+      </plugin>
+
+      <plugin>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <redirectTestOutputToFile>true</redirectTestOutputToFile>
+          <excludes>
+            <exclude>**/*TestCase.java</exclude>
+          </excludes>
+        </configuration>
+      </plugin>
+
+      <plugin>
+        <artifactId>maven-release-plugin</artifactId>
+        <configuration>
+          <tagBase>https://svn.jboss.org/repos/jbpm/jbpm4/tags</tagBase>
+          <releaseProfiles>release</releaseProfiles>
+          <goals>deploy</goals>
+          <autoVersionSubmodules>true</autoVersionSubmodules>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
+  <!-- Repositories -->
+  <repositories>
+    <repository>
+      <id>jboss-public-repository-group</id>
+      <name>JBoss Public Maven Repository Group</name>
+      <url>http://repository.jboss.org/nexus/content/groups/public/</url>
+      <releases>
+        <enabled>true</enabled>
+        <updatePolicy>never</updatePolicy>
+      </releases>
+      <snapshots>
+        <enabled>true</enabled>
+      </snapshots>
+    </repository>
+  </repositories>
+
+  <pluginRepositories>
+    <pluginRepository>
+      <id>jboss-public-repository-group</id>
+      <name>JBoss Public Maven Repository Group</name>
+      <url>http://repository.jboss.org/nexus/content/groups/public/</url>
+      <releases>
+        <enabled>true</enabled>
+        <updatePolicy>never</updatePolicy>
+      </releases>
+      <snapshots>
+        <enabled>true</enabled>
+      </snapshots>
+    </pluginRepository>
+  </pluginRepositories>
+
+  <profiles>
+    <!-- schema for direct db integration test. see qa\hudson-jbpm4-db.* -->
+    <profile>
+      <id>docs</id>
+      <modules>
+        <module>modules/devguide</module>
+        <module>modules/userguide</module>
+      </modules>
+    </profile>
+
+    <!-- PROFILE DISTRO
+    -Pdistro 
+    -->
+    <profile>
+      <id>distro</id>
+      <modules>
+        <module>modules/enterprise</module>
+        <module>modules/jboss</module>
+        <module>modules/db</module>
+        <module>modules/distro</module>
+      </modules>
+      <properties>
+        <skipTests>true</skipTests>
+      </properties>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <skipTests>true</skipTests>
+            </configuration>
+          </plugin>
+          <plugin>
+            <artifactId>maven-source-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>attach-sources</id>
+                <goals>
+                  <goal>jar</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+
+    <!-- schema for direct db integration test. see qa\hudson-jbpm4-db.* -->
+    <profile>
+      <id>schema</id>
+      <modules>
+        <module>modules/db</module>
+      </modules>
+    </profile>
+
+    <!-- PROFILE NO-DATABASE
+    The default configurations are based on hsqldb 
+    -->
+    <profile>
+      <id>no-database</id>
+      <activation>
+        <property>
+          <name>!database</name>
+        </property>
+      </activation>
+      <properties>
+        <database>hsqldb</database>
+      </properties>
+      <dependencies>
+        <dependency>
+          <groupId>hsqldb</groupId>
+          <artifactId>hsqldb</artifactId>
+          <scope>test</scope>
+        </dependency>
+      </dependencies>
+    </profile>
+
+    <!-- PROFILE HSQLDB
+    -Ddatabase=hsqldb
+    In the hudson matrix jobs, database=hsqldb is provided explicitely.
+    -->
+    <profile>
+      <id>hsqldb</id>
+      <activation>
+        <property>
+          <name>database</name>
+          <value>hsqldb</value>
+        </property>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>hsqldb</groupId>
+          <artifactId>hsqldb</artifactId>
+          <scope>test</scope>
+        </dependency>
+      </dependencies>
+    </profile>
+
+    <!-- PROFILE ORACLE    
+    -Ddatabase=oracle 
+    -->
+    <profile>
+      <id>oracle</id>
+      <activation>
+        <property>
+          <name>database</name>
+          <value>oracle</value>
+        </property>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>com.oracle</groupId>
+          <artifactId>ojdbc14</artifactId>
+          <version>${oracle.version}</version>
+          <scope>test</scope>
+        </dependency>
+      </dependencies>
+      <repositories>
+        <repository>
+          <id>qa.jboss.com</id>
+          <url>http://www.qa.jboss.com/jdbc-drivers/maven2</url>
+        </repository>
+      </repositories>
+    </profile>
+
+    <!-- PROFILE MYSQL 
+    -Ddatabase=mysql -->
+    <profile>
+      <id>mysql</id>
+      <activation>
+        <property>
+          <name>database</name>
+          <value>mysql</value>
+        </property>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>mysql</groupId>
+          <artifactId>mysql-connector-java</artifactId>
+          <version>5.0.8</version>
+          <scope>test</scope>
+        </dependency>
+      </dependencies>
+    </profile>
+
+    <!-- PROFILE POSTGRESQL 
+    -Ddatabase=postgresql -->
+    <profile>
+      <id>postgresql</id>
+      <activation>
+        <property>
+          <name>database</name>
+          <value>postgresql</value>
+        </property>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>postgresql</groupId>
+          <artifactId>postgresql</artifactId>
+          <scope>test</scope>
+        </dependency>
+      </dependencies>
+    </profile>
+
+    <!-- PROFILE SYBASE 
+    -Ddatabase=sybase -->
+    <profile>
+      <id>sybase</id>
+      <activation>
+        <property>
+          <name>database</name>
+          <value>sybase</value>
+        </property>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>net.sourceforge.jtds</groupId>
+          <artifactId>jtds</artifactId>
+          <scope>test</scope>
+        </dependency>
+        <dependency>
+          <groupId>com.sybase</groupId>
+          <artifactId>jconnect</artifactId>
+          <version>6.0.5</version>
+          <scope>test</scope>
+        </dependency>
+      </dependencies>
+      <repositories>
+        <repository>
+          <id>qa.jboss.com</id>
+          <url>http://www.qa.jboss.com/jdbc-drivers/maven2</url>
+        </repository>
+      </repositories>
+    </profile>
+
+    <!-- PROFILE INTEGRATION -->
+    <profile>
+      <id>integration</id>
+      <modules>
+        <module>modules/test-cactus</module>
+      </modules>
+    </profile>
+
+    <!-- PROFILE ENTERPRISE -->
+    <profile>
+      <id>enterprise</id>
+      <modules>
+        <module>modules/test-cactus</module>
+        <module>modules/test-enterprise/test-enterprise-ejb</module>
+        <module>modules/test-enterprise/test-enterprise-suite</module>
+      </modules>
+    </profile>
+
+    <!-- PROFILE LOAD -->
+    <profile>
+      <id>load</id>
+      <modules>
+        <module>modules/test-load</module>
+      </modules>
+    </profile>
+
+    <!-- PROFILE RELEASE -->
+    <profile>
+      <id>release</id>
+      <modules>
+        <!-- docs -->
+        <module>modules/devguide</module>
+        <module>modules/userguide</module>
+        <!-- distro -->
+        <module>modules/enterprise</module>
+        <module>modules/jboss</module>
+        <module>modules/db</module>
+        <module>modules/distro</module>
+      </modules>
+    </profile>
+  </profiles>
+
+  <scm>
+    <connection>scm:svn:http://anonsvn.jboss.org/repos/jbpm/jbpm/jbpm-4.4</connection>
+    <developerConnection>scm:svn:https://svn.jboss.org/repos/jbpm/jbpm4/tags/jbpm-4.4</developerConnection>
+    <url>http://fisheye.jboss.org/browse/JbpmSvn/jbpm/jbpm-4.4</url>
+  </scm>
+</project>

Deleted: jbpm4/tags/jbpm-4.4/qa/build.xml
===================================================================
--- jbpm4/trunk/qa/build.xml	2010-07-15 11:23:41 UTC (rev 6494)
+++ jbpm4/tags/jbpm-4.4/qa/build.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -1,399 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<project name="jbpm.qa">
-
-  <!-- DEVELOPER SPECIFIC CONFIGURATIONS -->
-  <property file="${user.home}/.jbpm4/build.properties" />
-
-  <fail message="property jbpm.parent.dir must be specified" unless="jbpm.parent.dir" />
-
-  <!-- CONFIGURABLE PROPERTIES -->
-  <property name="database" value="hsqldb" />
-  <property name="identity.component" value="jbpm-built-in" />
-  <property name="jbpm.version" value="4.4-SNAPSHOT" />
-  <!-- jbpm.home should not be configured. change jbpm.parent.dir instead -->
-  <property name="jbpm.home" value="${jbpm.parent.dir}/jbpm-${jbpm.version}" />
-  <property name="jboss.version" value="5.1.0.GA" />
-  <property name="jboss.distro.dir" value="${jbpm.home}/downloads" />
-  <property name="jboss.parent.dir" value="${jbpm.home}" />
-  <property name="jboss.home" value="${jboss.parent.dir}/jboss-${jboss.version}" />
-  <property name="jboss.server.configuration" value="default" />
-  <property name="jboss.server.config.dir"
-            value="${jboss.home}/server/${jboss.server.configuration}" />
-
-  <property name="tomcat.version" value="6.0.26" />
-  <property name="tomcat.parent.dir" value="${jbpm.home}" />
-  <property name="tomcat.home" value="${tomcat.parent.dir}/apache-tomcat-${tomcat.version}" />
-
-  <!-- DERIVED PROPERTIES -->
-  <property name="jbpm.filename" value="jbpm-distro-${jbpm.version}.zip" />
-  <property name="jbpm.distro.dir" value="../modules/distro/target" />
-  <property name="jbpm.distro.path" value="${jbpm.distro.dir}/jbpm-${jbpm.version}.zip" />
-
-  <condition property="is.hsqldb">
-    <equals arg1="${database}" arg2="hsqldb" />
-  </condition>
-  <condition property="is.oracle">
-    <equals arg1="${database}" arg2="oracle" />
-  </condition>
-
-  <echo message="database.......... ${database}" />
-  <echo message="jbpm.version...... ${jbpm.version}" />
-  <echo message="jbpm.home......... ${jbpm.home}" />
-  <echo message="jbpm.distro.path.. ${jbpm.distro.path}" />
-
-  <!-- ####################################### -->
-  <!-- ### MAIN SETUP AND TEARDOWN TARGETS ### -->
-  <!-- ####################################### -->
-
-  <!-- DB SETUP -->
-  <target name="testsuite.db.setup" depends="reinstall.jbpm">
-    <ant antfile="${jbpm.home}/install/build.xml" target="drop.jbpm.schema" />
-    <ant antfile="${jbpm.home}/install/build.xml" target="create.jbpm.schema" />
-  </target>
-
-  <!-- DB TEARDOWN -->
-  <target name="testsuite.db.teardown">
-    <ant antfile="${jbpm.home}/install/build.xml" target="drop.jbpm.schema" />
-  </target>
-
-  <!-- ################ -->
-  <!-- ### TOMCAT   ### -->
-  <!-- ################ -->
-
-  <!-- TOMCAT SETUP -->
-  <target name="testsuite.tomcat.setup" depends="reinstall.jbpm">
-    <ant antfile="${jbpm.home}/install/build.xml" target="reinstall.tomcat" />
-    <ant antfile="${jbpm.home}/install/build.xml" target="create.user.webapp" />
-    <ant antfile="${jbpm.home}/install/build.xml" target="install.hsqldb.server" />
-    <ant antfile="${jbpm.home}/install/build.xml" target="start.hsqldb.server" />
-    <ant antfile="${jbpm.home}/install/build.xml" target="create.jbpm.schema" />
-
-    <!-- to build the jbpm test webapp we start by copying the user webapp -->
-    <mkdir dir="${tomcat.home}/webapps/jbpm-test-webapp" />
-    <copy todir="${tomcat.home}/webapps/jbpm-test-webapp">
-      <fileset dir="${jbpm.home}/install/generated/user-webapp" />
-    </copy>
-
-    <!-- customize the configuration for the jbpm-test-webapp -->
-    <copy todir="${tomcat.home}/webapps/jbpm-test-webapp" overwrite="true">
-      <fileset dir="cactus.webapp.cfg" />
-    </copy>
-
-    <!-- customize the jbpm configuration for the testsuite -->
-    <copy todir="${tomcat.home}/webapps/jbpm-test-webapp/WEB-INF/classes" overwrite="true">
-      <fileset dir="jboss.jbpm.cfg" excludes="jbpm.cfg.xml" />
-      <filterset>
-        <filter token="bind.address" value="${bind.address}" />
-      </filterset>
-    </copy>
-
-    <!-- add examples.jar  -->
-    <ant antfile="${jbpm.home}/examples/build.xml" target="examples.jar" />
-    <copy file="${jbpm.home}/examples/target/examples.jar"
-          todir="${tomcat.home}/webapps/jbpm-test-webapp/WEB-INF/lib" />
-
-    <!-- add junit.jar  -->
-    <copy file="${jbpm.home}/lib/junit.jar"
-          todir="${tomcat.home}/webapps/jbpm-test-webapp/WEB-INF/lib" />
-
-    <!-- add the cactus libs -->
-    <copy todir="${tomcat.home}/webapps/jbpm-test-webapp/WEB-INF/lib">
-      <fileset dir="../modules/test-cactus/target/jbpm.test.webapp.libs" />
-    </copy>
-
-    <!-- add the bsh lib -->
-    <copy file="${jbpm.home}/lib/bsh.jar"
-          todir="${tomcat.home}/webapps/jbpm-test-webapp/WEB-INF/lib" />
-
-    <!-- start tomcat -->
-    <ant antfile="${jbpm.home}/install/build.xml" target="start.tomcat" />
-  </target>
-
-  <!-- TOMCAT TEARDOWN -->
-  <target name="testsuite.tomcat.teardown">
-    <ant antfile="${jbpm.home}/install/build.xml" target="stop.tomcat" />
-    <ant antfile="${jbpm.home}/install/build.xml" target="drop.jbpm.schema" />
-    <ant antfile="${jbpm.home}/install/build.xml" target="stop.hsqldb.server" />
-  </target>
-
-  <!-- ################ -->
-  <!-- ### JBOSS    ### -->
-  <!-- ################ -->
-
-  <!-- JBOSS SETUP -->
-  <target name="testsuite.jboss.setup"
-          depends="internal.jboss.test.setup.base"
-          description="reinstalls jbpm, reinstalls jboss, installs jbpm into jboss, starts jboss and then creates the jbpm schema">
-    <ant antfile="${jbpm.home}/install/build.xml" target="start.hsqldb.server" />
-    <ant antfile="${jbpm.home}/install/build.xml" target="create.jbpm.schema" />
-    <ant antfile="${jbpm.home}/install/build.xml" target="start.jboss" />
-  </target>
-
-  <!-- JBOSS TEARDOWN -->
-  <target name="testsuite.jboss.teardown" description="drops the jbpm schema and stops jboss">
-    <ant antfile="${jbpm.home}/install/build.xml" target="stop.jboss" />
-    <ant antfile="${jbpm.home}/install/build.xml" target="drop.jbpm.schema" />
-    <ant antfile="${jbpm.home}/install/build.xml" target="stop.hsqldb.server" />
-  </target>
-
-  <!-- JBOSS SETUP DEBUG -->
-  <target name="testsuite.jboss.setup.for.debug"
-          depends="internal.jboss.test.setup.base"
-          description="reinstalls jbpm, reinstalls jboss, installs jbpm into jboss, starts jboss and then creates the jbpm schema">
-    <ant antfile="${jbpm.home}/install/build.xml" target="start.hsqldb.server" />
-    <ant antfile="${jbpm.home}/install/build.xml" target="create.jbpm.schema" />
-    <ant antfile="${jbpm.home}/install/build.xml" target="enable.jboss.debug" />
-  </target>
-
-  <!-- JBOSS INTERNAL SETUP BASE -->
-  <target name="internal.jboss.test.setup.base" depends="reinstall.jbpm">
-    <ant antfile="${jbpm.home}/install/build.xml" target="reinstall.jboss" />
-    <ant antfile="${jbpm.home}/install/build.xml" target="install.jbpm.into.jboss" />
-    <ant antfile="${jbpm.home}/install/build.xml" target="create.user.webapp" />
-    <ant antfile="${jbpm.home}/install/build.xml" target="install.hsqldb.server" />
-
-    <!-- to build the jbpm test webapp we start by copying the user webapp -->
-    <mkdir dir="${jboss.home}/server/default/deploy/jbpm-test-webapp.war" />
-    <copy todir="${jboss.home}/server/default/deploy/jbpm-test-webapp.war">
-      <fileset dir="${jbpm.home}/install/generated/user-webapp" />
-    </copy>
-
-    <!-- customize the jbpm configuration for the testsuite -->
-    <copy todir="${jboss.home}/server/default/deploy/jbpm/jbpm-service.sar" overwrite="true">
-      <fileset dir="jboss.jbpm.cfg" />
-      <filterset>
-        <filter token="bind.address" value="${bind.address}" />
-      </filterset>
-    </copy>
-
-    <!-- customize the configuration for the jbpm-test-webapp -->
-    <copy todir="${jboss.home}/server/default/deploy/jbpm-test-webapp.war" overwrite="true">
-      <fileset dir="cactus.webapp.cfg" />
-    </copy>
-
-    <!-- delete the jbpm configuration files -->
-    <delete dir="${jboss.home}/server/default/deploy/jbpm-test-webapp.war/WEB-INF/classes" />
-    <delete file="${jboss.home}/server/default/deploy/jbpm-test-webapp.war/WEB-INF/lib/jta.jar" />
-
-    <!-- add examples.jar  -->
-    <ant antfile="${jbpm.home}/examples/build.xml" target="examples.jar" />
-    <copy file="${jbpm.home}/examples/target/examples.jar"
-          todir="${jboss.home}/server/default/deploy/jbpm-test-webapp.war/WEB-INF/lib" />
-
-    <!-- add junit.jar  -->
-    <copy file="${jbpm.home}/lib/junit.jar"
-          todir="${jboss.home}/server/default/deploy/jbpm-test-webapp.war/WEB-INF/lib" />
-
-    <!-- add the cactus libs -->
-    <copy todir="${jboss.home}/server/default/deploy/jbpm-test-webapp.war/WEB-INF/lib">
-      <fileset dir="../modules/test-cactus/target/jbpm.test.webapp.libs" />
-    </copy>
-  </target>
-
-
-  <!-- ################# -->
-  <!-- ### ENTERPRISE ## -->
-  <!-- ################# -->
-
-  <!-- ENTERPRISE SETUP -->
-  <target name="testsuite.enterprise.setup"
-          depends="internal.enterprise.test.setup.base"
-          description="reinstalls jbpm, reinstalls jboss, installs jbpm into jboss, starts jboss and then creates the jbpm schema">
-    <ant antfile="${jbpm.home}/install/build.xml" target="start.hsqldb.server" />
-    <ant antfile="${jbpm.home}/install/build.xml" target="create.jbpm.schema" />
-    <ant antfile="${jbpm.home}/install/build.xml" target="enable.jboss.debug" />
-    <ant antfile="${jbpm.home}/install/build.xml" target="start.jboss" />
-  </target>
-
-  <!-- ENTERPRISE TEARDOWN -->
-  <target name="testsuite.enterprise.teardown"
-          description="drops the jbpm schema and stops jboss">
-    <ant antfile="${jbpm.home}/install/build.xml" target="stop.jboss" />
-    <ant antfile="${jbpm.home}/install/build.xml" target="drop.jbpm.schema" />
-    <ant antfile="${jbpm.home}/install/build.xml" target="stop.hsqldb.server" />
-  </target>
-
-  <target name="testsuite.enterprise.setup.for.debug"
-          depends="internal.enterprise.test.setup.base"
-          description="reinstalls jbpm, reinstalls jboss, installs jbpm into jboss, starts jboss and then creates the jbpm schema">
-    <ant antfile="${jbpm.home}/install/build.xml" target="start.hsqldb.server" />
-    <ant antfile="${jbpm.home}/install/build.xml" target="create.jbpm.schema" />
-    <ant antfile="${jbpm.home}/install/build.xml" target="enable.jboss.debug" />
-  </target>
-
-  <target name="internal.enterprise.test.setup.base"
-          depends="internal.jboss.test.setup.base"
-          description="reinstalls jbpm, reinstalls jboss, installs jbpm into jboss, starts jboss and then creates the jbpm schema">
-    <!-- create the test queue -->
-    <copy file="enterprise/jbpm-test-destinations-service.xml"
-          todir="${jboss.home}/server/default/deploy/jbpm-test" />
-
-    <!-- deploy the test ejbs -->
-    <copy file="../modules/test-enterprise/test-enterprise-ejb/target/jbpm-test-enterprise-ejb-${jbpm.version}.jar"
-          todir="${jboss.home}/server/default/deploy/jbpm-test" />
-
-    <!-- copy the test classes to the test web app  -->
-    <copy file="../modules/test-enterprise/test-enterprise-suite/target/jbpm-test-enterprise-suite-${jbpm.version}-tests.jar"
-          todir="${jboss.home}/server/default/deploy/jbpm-test-webapp.war/WEB-INF/lib" />
-  </target>
-
-  <!-- ################ -->
-  <!-- ### UPGRADE  ### -->
-  <!-- ################ -->
-  <property name="old.jbpm.home" value="${jbpm.parent.dir}/jbpm-${old.jbpm.version}" />
-  <target name="testsuite.upgrade.setup" depends="reinstall.jbpm">
-    <fail message="old.jbpm.version is a mandatory property" unless="old.jbpm.version" />
-
-    <!-- install old jbpm version -->
-    <delete dir="${old.jbpm.home}" />
-    <unzip src="upgrade/target/jbpm-distro-${old.jbpm.version}.jar" dest="${jbpm.parent.dir}" />
-
-    <!-- copy the oracle driver jar -->
-    <antcall target="copy.oracle.driver" />
-
-    <!-- create jdbc properties files for PVM2 based on the originals -->
-    <delete dir="upgrade/target/jdbc" />
-    <mkdir dir="upgrade/target/jdbc" />
-    <copy todir="upgrade/target/jdbc">
-      <fileset dir="jdbc" />
-    </copy>
-    <replace dir="upgrade/target/jdbc">
-      <include name="*.properties" />
-      <replacefilter token="PVM1" value="PVM2" />
-      <replacefilter token="pvm1" value="pvm2" />
-    </replace>
-    <copy todir="upgrade/target/jdbc" overwrite="true" failonerror="false">
-      <fileset dir="${user.home}/.jbpm4/jdbc" />
-    </copy>
-
-    <!-- install the jbpm-test-upgrade lib -->
-    <delete dir="upgrade/target/jbpm-test-upgrade" />
-    <mkdir dir="upgrade/target/jbpm-test-upgrade" />
-    <unzip dest="upgrade/target/jbpm-test-upgrade" src="upgrade/target/jbpm-test-upgrade.jar" />
-    <delete file="upgrade/target/jbpm-test-upgrade/hibernate.properties" />
-
-    <ant antfile="${jbpm.home}/install/build.xml" target="install.hsqldb.server" />
-    <antcall target="start.hsqldb" />
-    <ant antfile="${jbpm.home}/install/build.xml" target="drop.jbpm.schema" />
-
-    <!-- create jbpm schema using the old jbpm distro -->
-    <condition property="is.old.jbpm.40">
-      <equals arg1="${old.jbpm.version}" arg2="4.0" />
-    </condition>
-    <antcall target="create.jbpm.schema.in.jbpm.40" />
-    <antcall target="create.jbpm.schema.in.jbpm.41plus" />
-
-    <!-- start couple of processes using the old jbpm version -->
-    <copy todir="upgrade/target/jbpm-test-upgrade" overwrite="true">
-      <fileset dir="upgrade/cfg" />
-    </copy>
-    <java classname="org.jbpm.upgrade.BeforeUpgrade" fork="true">
-      <classpath>
-        <pathelement location="upgrade/target/jbpm-test-upgrade" />
-        <fileset dir="${old.jbpm.home}">
-          <include name="jbpm.jar" />
-        </fileset>
-        <fileset dir="${old.jbpm.home}/lib">
-          <include name="*.jar" />
-        </fileset>
-      </classpath>
-    </java>
-
-    <!-- upgrade -->
-    <copy todir="${jbpm.home}/install/jdbc" overwrite="true">
-      <fileset dir="upgrade/target/jdbc" />
-    </copy>
-    <ant antfile="${jbpm.home}/install/build.xml"
-         target="upgrade.jbpm.schema"
-         inheritall="false">
-      <property name="database" value="${database}" />
-      <property name="tx" value="standalone.testsuite" />
-      <!--property name="logging" value="debug" /-->
-    </ant>
-  </target>
-
-  <target name="copy.oracle.driver" if="is.oracle">
-    <copy file="upgrade/target/ojdbc14.jar" todir="${old.jbpm.home}/lib" />
-    <copy file="upgrade/target/ojdbc14.jar" todir="${jbpm.home}/lib" />
-  </target>
-
-  <target name="start.hsqldb" if="is.hsqldb">
-    <ant antfile="${jbpm.home}/install/build.xml" target="start.hsqldb.server" />
-  </target>
-
-  <target name="stop.hsqldb" if="is.hsqldb">
-    <ant antfile="${jbpm.home}/install/build.xml" target="stop.hsqldb.server" />
-  </target>
-
-  <target name="create.jbpm.schema.in.jbpm.40" if="is.old.jbpm.40">
-    <echo message="creating schema in jbpm 4.0" />
-    <!-- copy the PVM2 jdbc properties files in the old jbpm distro -->
-    <copy todir="${old.jbpm.home}/db/jdbc">
-      <fileset dir="upgrade/target/jdbc" />
-    </copy>
-    <replace file="upgrade/target/jbpm-test-upgrade/jbpm.cfg.xml">
-      <replacetoken><![CDATA[<import resource="jbpm.businesscalendar.cfg.xml" />]]></replacetoken>
-      <replacevalue />
-    </replace>
-    <ant antfile="${old.jbpm.home}/db/build.xml" target="create.jbpm.schema" inheritall="false">
-      <property name="database" value="${database}" />
-    </ant>
-    <copy file="${old.jbpm.home}/db/hibernate.cfg/${database}.hibernate.cfg.xml"
-          tofile="upgrade/target/jbpm-test-upgrade/jbpm.hibernate.cfg.xml"
-          overwrite="true">
-      <filterset filtersfile="upgrade/target/jdbc/${database}.properties" />
-    </copy>
-  </target>
-
-  <target name="create.jbpm.schema.in.jbpm.41plus" unless="is.old.jbpm.40">
-    <echo message="creating schema in jbpm 4.1+" />
-    <!-- copy the PVM2 jdbc properties files in the old jbpm distro -->
-    <copy todir="${old.jbpm.home}/install/jdbc">
-      <fileset dir="upgrade/target/jdbc" />
-    </copy>
-    <ant antfile="${old.jbpm.home}/install/build.xml"
-         target="create.jbpm.schema"
-         inheritall="false">
-      <property name="database" value="${database}" />
-    </ant>
-    <copy file="${old.jbpm.home}/install/src/cfg/hibernate/jdbc/${database}.hibernate.cfg.xml"
-          tofile="upgrade/target/jbpm-test-upgrade/jbpm.hibernate.cfg.xml"
-          overwrite="true">
-      <filterset filtersfile="upgrade/target/jdbc/${database}.properties" />
-    </copy>
-  </target>
-
-  <target name="testsuite.upgrade.teardown">
-    <ant antfile="${jbpm.home}/install/build.xml"
-         target="drop.jbpm.schema"
-         inheritall="false" />
-    <antcall target="stop.hsqldb" />
-  </target>
-
-  <!-- ############################################ -->
-  <!-- ### REUSABLE TARGETS                     ### -->
-  <!-- ### These targets can be called directly ### -->
-  <!-- ############################################ -->
-
-  <!-- REINSTALL JBPM -->
-  <target name="reinstall.jbpm"
-          description="deletes the jbpm installation and then reinstalls jbpm">
-    <delete dir="${jbpm.home}" />
-    <unzip src="${jbpm.distro.path}" dest="${jbpm.parent.dir}" />
-
-    <!-- overwrite the default jdbc properties in the distro with those specified in the qa jdbc directory -->
-    <copy file="jdbc/${database}.properties"
-          todir="${jbpm.home}/install/jdbc"
-          overwrite="true"
-          failonerror="false" />
-    <!-- overwrite the jdbc properties in the distro with those specified in the user specific properties -->
-    <copy file="${user.home}/.jbpm4/jdbc/${database}.properties"
-          todir="${jbpm.home}/install/jdbc"
-          overwrite="true"
-          failonerror="false" />
-    <!-- copy the oracle jar as it is not allowed to be part of our distro -->
-    <copy file="../modules/distro/target/libs/ojdbc14.jar" todir="${jbpm.home}/lib" />
-  </target>
-
-</project>

Copied: jbpm4/tags/jbpm-4.4/qa/build.xml (from rev 6500, jbpm4/trunk/qa/build.xml)
===================================================================
--- jbpm4/tags/jbpm-4.4/qa/build.xml	                        (rev 0)
+++ jbpm4/tags/jbpm-4.4/qa/build.xml	2010-07-16 23:38:19 UTC (rev 6503)
@@ -0,0 +1,403 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project name="jbpm.qa">
+
+  <!-- DEVELOPER SPECIFIC CONFIGURATIONS -->
+  <property file="${user.home}/.jbpm4/build.properties" />
+
+  <fail message="property jbpm.parent.dir must be specified" unless="jbpm.parent.dir" />
+  <fail message="property jbpm.version must be specified" unless="jbpm.version" />
+
+  <!-- CONFIGURABLE PROPERTIES -->
+  <property name="database" value="hsqldb" />
+  <property name="identity.component" value="jbpm-built-in" />
+  <!-- jbpm.home should not be configured. change jbpm.parent.dir instead -->
+  <property name="jbpm.home" value="${jbpm.parent.dir}/jbpm-${jbpm.version}" />
+  <property name="jboss.version" value="5.1.0.GA" />
+  <property name="jboss.distro.dir" value="${jbpm.home}/downloads" />
+  <property name="jboss.parent.dir" value="${jbpm.home}" />
+  <property name="jboss.home" value="${jboss.parent.dir}/jboss-${jboss.version}" />
+  <property name="jboss.server.configuration" value="default" />
+  <property name="jboss.server.config.dir"
+            value="${jboss.home}/server/${jboss.server.configuration}" />
+
+  <property name="tomcat.version" value="6.0.26" />
+  <property name="tomcat.parent.dir" value="${jbpm.home}" />
+  <property name="tomcat.home" value="${tomcat.parent.dir}/apache-tomcat-${tomcat.version}" />
+
+  <!-- DERIVED PROPERTIES -->
+  <property name="jbpm.filename" value="jbpm-distro-${jbpm.version}.zip" />
+  <property name="jbpm.distro.dir" value="../modules/distro/target" />
+  <property name="jbpm.distro.path" value="${jbpm.distro.dir}/jbpm-${jbpm.version}.zip" />
+
+  <condition property="is.hsqldb">
+    <equals arg1="${database}" arg2="hsqldb" />
+  </condition>
+  <condition property="is.oracle">
+    <equals arg1="${database}" arg2="oracle" />
+  </condition>
+
+  <echo message="database.......... ${database}" />
+  <echo message="jbpm.version...... ${jbpm.version}" />
+  <echo message="jbpm.home......... ${jbpm.home}" />
+  <echo message="jbpm.distro.path.. ${jbpm.distro.path}" />
+
+  <!-- ####################################### -->
+  <!-- ### MAIN SETUP AND TEARDOWN TARGETS ### -->
+  <!-- ####################################### -->
+
+  <!-- DB SETUP -->
+  <target name="testsuite.db.setup" depends="reinstall.jbpm, install.hsqldb, start.hsqldb">
+    <ant antfile="${jbpm.home}/install/build.xml" target="drop.jbpm.schema" />
+    <ant antfile="${jbpm.home}/install/build.xml" target="create.jbpm.schema" />
+  </target>
+
+  <!-- DB TEARDOWN -->
+  <target name="testsuite.db.teardown">
+    <ant antfile="${jbpm.home}/install/build.xml" target="drop.jbpm.schema" />
+    <antcall target="stop.hsqldb"/>
+  </target>
+
+  <!-- ################ -->
+  <!-- ### TOMCAT   ### -->
+  <!-- ################ -->
+
+  <!-- TOMCAT SETUP -->
+  <target name="testsuite.tomcat.setup" depends="reinstall.jbpm">
+    <ant antfile="${jbpm.home}/install/build.xml" target="reinstall.tomcat" />
+    <ant antfile="${jbpm.home}/install/build.xml" target="create.user.webapp" />
+    <antcall target="install.hsqldb" />
+    <antcall target="start.hsqldb" />
+    <ant antfile="${jbpm.home}/install/build.xml" target="create.jbpm.schema" />
+
+    <!-- to build the jbpm test webapp we start by copying the user webapp -->
+    <mkdir dir="${tomcat.home}/webapps/jbpm-test-webapp" />
+    <copy todir="${tomcat.home}/webapps/jbpm-test-webapp">
+      <fileset dir="${jbpm.home}/install/generated/user-webapp" />
+    </copy>
+
+    <!-- customize the configuration for the jbpm-test-webapp -->
+    <copy todir="${tomcat.home}/webapps/jbpm-test-webapp" overwrite="true">
+      <fileset dir="cactus.webapp.cfg" />
+    </copy>
+
+    <!-- customize the jbpm configuration for the testsuite -->
+    <copy todir="${tomcat.home}/webapps/jbpm-test-webapp/WEB-INF/classes" overwrite="true">
+      <fileset dir="jboss.jbpm.cfg" excludes="jbpm.cfg.xml" />
+      <filterset>
+        <filter token="bind.address" value="${bind.address}" />
+      </filterset>
+    </copy>
+
+    <!-- add examples.jar  -->
+    <ant antfile="${jbpm.home}/examples/build.xml" target="examples.jar" />
+    <copy file="${jbpm.home}/examples/target/examples.jar"
+          todir="${tomcat.home}/webapps/jbpm-test-webapp/WEB-INF/lib" />
+
+    <!-- add junit.jar  -->
+    <copy file="${jbpm.home}/lib/junit.jar"
+          todir="${tomcat.home}/webapps/jbpm-test-webapp/WEB-INF/lib" />
+
+    <!-- add the cactus libs -->
+    <copy todir="${tomcat.home}/webapps/jbpm-test-webapp/WEB-INF/lib">
+      <fileset dir="../modules/test-cactus/target/jbpm.test.webapp.libs" />
+    </copy>
+
+    <!-- add the bsh lib -->
+    <copy file="${jbpm.home}/lib/bsh.jar"
+          todir="${tomcat.home}/webapps/jbpm-test-webapp/WEB-INF/lib" />
+
+    <!-- start tomcat -->
+    <ant antfile="${jbpm.home}/install/build.xml" target="start.tomcat" />
+  </target>
+
+  <!-- TOMCAT TEARDOWN -->
+  <target name="testsuite.tomcat.teardown">
+    <ant antfile="${jbpm.home}/install/build.xml" target="stop.tomcat" />
+    <ant antfile="${jbpm.home}/install/build.xml" target="drop.jbpm.schema" />
+    <antcall target="stop.hsqldb" />
+  </target>
+
+  <!-- ################ -->
+  <!-- ### JBOSS    ### -->
+  <!-- ################ -->
+
+  <!-- JBOSS SETUP -->
+  <target name="testsuite.jboss.setup"
+          depends="internal.jboss.test.setup.base"
+          description="reinstalls jbpm, reinstalls jboss, installs jbpm into jboss, starts jboss and then creates the jbpm schema">
+    <antcall target="start.hsqldb" />
+    <ant antfile="${jbpm.home}/install/build.xml" target="create.jbpm.schema" />
+    <ant antfile="${jbpm.home}/install/build.xml" target="start.jboss" />
+  </target>
+
+  <!-- JBOSS TEARDOWN -->
+  <target name="testsuite.jboss.teardown" description="drops the jbpm schema and stops jboss">
+    <ant antfile="${jbpm.home}/install/build.xml" target="stop.jboss" />
+    <ant antfile="${jbpm.home}/install/build.xml" target="drop.jbpm.schema" />
+    <antcall target="stop.hsqldb" />
+  </target>
+
+  <!-- JBOSS SETUP DEBUG -->
+  <target name="testsuite.jboss.setup.for.debug"
+          depends="internal.jboss.test.setup.base"
+          description="reinstalls jbpm, reinstalls jboss, installs jbpm into jboss, starts jboss and then creates the jbpm schema">
+    <antcall target="start.hsqldb" />
+    <ant antfile="${jbpm.home}/install/build.xml" target="create.jbpm.schema" />
+    <ant antfile="${jbpm.home}/install/build.xml" target="enable.jboss.debug" />
+  </target>
+
+  <!-- JBOSS INTERNAL SETUP BASE -->
+  <target name="internal.jboss.test.setup.base" depends="reinstall.jbpm">
+    <ant antfile="${jbpm.home}/install/build.xml" target="reinstall.jboss" />
+    <ant antfile="${jbpm.home}/install/build.xml" target="install.jbpm.into.jboss" />
+    <ant antfile="${jbpm.home}/install/build.xml" target="create.user.webapp" />
+    <antcall target="install.hsqldb" />
+
+    <!-- to build the jbpm test webapp we start by copying the user webapp -->
+    <mkdir dir="${jboss.home}/server/default/deploy/jbpm-test-webapp.war" />
+    <copy todir="${jboss.home}/server/default/deploy/jbpm-test-webapp.war">
+      <fileset dir="${jbpm.home}/install/generated/user-webapp" />
+    </copy>
+
+    <!-- customize the jbpm configuration for the testsuite -->
+    <copy todir="${jboss.home}/server/default/deploy/jbpm/jbpm-service.sar" overwrite="true">
+      <fileset dir="jboss.jbpm.cfg" />
+      <filterset>
+        <filter token="bind.address" value="${bind.address}" />
+      </filterset>
+    </copy>
+
+    <!-- customize the configuration for the jbpm-test-webapp -->
+    <copy todir="${jboss.home}/server/default/deploy/jbpm-test-webapp.war" overwrite="true">
+      <fileset dir="cactus.webapp.cfg" />
+    </copy>
+
+    <!-- delete the jbpm configuration files -->
+    <delete dir="${jboss.home}/server/default/deploy/jbpm-test-webapp.war/WEB-INF/classes" />
+    <delete file="${jboss.home}/server/default/deploy/jbpm-test-webapp.war/WEB-INF/lib/jta.jar" />
+
+    <!-- add examples.jar  -->
+    <ant antfile="${jbpm.home}/examples/build.xml" target="examples.jar" />
+    <copy file="${jbpm.home}/examples/target/examples.jar"
+          todir="${jboss.home}/server/default/deploy/jbpm-test-webapp.war/WEB-INF/lib" />
+
+    <!-- add junit.jar  -->
+    <copy file="${jbpm.home}/lib/junit.jar"
+          todir="${jboss.home}/server/default/deploy/jbpm-test-webapp.war/WEB-INF/lib" />
+
+    <!-- add the cactus libs -->
+    <copy todir="${jboss.home}/server/default/deploy/jbpm-test-webapp.war/WEB-INF/lib">
+      <fileset dir="../modules/test-cactus/target/jbpm.test.webapp.libs" />
+    </copy>
+  </target>
+
+
+  <!-- ################# -->
+  <!-- ### ENTERPRISE ## -->
+  <!-- ################# -->
+
+  <!-- ENTERPRISE SETUP -->
+  <target name="testsuite.enterprise.setup"
+          depends="internal.enterprise.test.setup.base"
+          description="reinstalls jbpm, reinstalls jboss, installs jbpm into jboss, starts jboss and then creates the jbpm schema">
+    <antcall target="start.hsqldb" />
+    <ant antfile="${jbpm.home}/install/build.xml" target="create.jbpm.schema" />
+    <ant antfile="${jbpm.home}/install/build.xml" target="enable.jboss.debug" />
+    <ant antfile="${jbpm.home}/install/build.xml" target="start.jboss" />
+  </target>
+
+  <!-- ENTERPRISE TEARDOWN -->
+  <target name="testsuite.enterprise.teardown"
+          description="drops the jbpm schema and stops jboss">
+    <ant antfile="${jbpm.home}/install/build.xml" target="stop.jboss" />
+    <ant antfile="${jbpm.home}/install/build.xml" target="drop.jbpm.schema" />
+    <antcall target="stop.hsqldb" />
+  </target>
+
+  <target name="testsuite.enterprise.setup.for.debug"
+          depends="internal.enterprise.test.setup.base"
+          description="reinstalls jbpm, reinstalls jboss, installs jbpm into jboss, starts jboss and then creates the jbpm schema">
+    <antcall target="start.hsqldb" />
+    <ant antfile="${jbpm.home}/install/build.xml" target="create.jbpm.schema" />
+    <ant antfile="${jbpm.home}/install/build.xml" target="enable.jboss.debug" />
+  </target>
+
+  <target name="internal.enterprise.test.setup.base"
+          depends="internal.jboss.test.setup.base">
+    <!-- create the test queue -->
+    <copy file="enterprise/jbpm-test-destinations-service.xml"
+          todir="${jboss.home}/server/default/deploy/jbpm-test" />
+
+    <!-- deploy the test ejbs -->
+    <copy file="../modules/test-enterprise/test-enterprise-ejb/target/jbpm-test-enterprise-ejb-${jbpm.version}.jar"
+          todir="${jboss.home}/server/default/deploy/jbpm-test" />
+
+    <!-- copy the test classes to the test web app  -->
+    <copy file="../modules/test-enterprise/test-enterprise-suite/target/jbpm-test-enterprise-suite-${jbpm.version}-tests.jar"
+          todir="${jboss.home}/server/default/deploy/jbpm-test-webapp.war/WEB-INF/lib" />
+  </target>
+
+  <!-- ################ -->
+  <!-- ### UPGRADE  ### -->
+  <!-- ################ -->
+  <property name="old.jbpm.home" value="${jbpm.parent.dir}/jbpm-${old.jbpm.version}" />
+  <target name="testsuite.upgrade.setup" depends="reinstall.jbpm">
+    <fail message="old.jbpm.version is a mandatory property" unless="old.jbpm.version" />
+
+    <!-- install old jbpm version -->
+    <delete dir="${old.jbpm.home}" />
+    <unzip src="upgrade/target/jbpm-distro-${old.jbpm.version}.jar" dest="${jbpm.parent.dir}" />
+
+    <!-- copy the oracle driver jar -->
+    <antcall target="copy.oracle.driver" />
+
+    <!-- create jdbc properties files for PVM2 based on the originals -->
+    <delete dir="upgrade/target/jdbc" />
+    <mkdir dir="upgrade/target/jdbc" />
+    <copy todir="upgrade/target/jdbc">
+      <fileset dir="jdbc" />
+    </copy>
+    <replace dir="upgrade/target/jdbc">
+      <include name="*.properties" />
+      <replacefilter token="PVM1" value="PVM2" />
+      <replacefilter token="pvm1" value="pvm2" />
+    </replace>
+    <copy todir="upgrade/target/jdbc" overwrite="true" failonerror="false">
+      <fileset dir="${user.home}/.jbpm4/jdbc" />
+    </copy>
+
+    <!-- install the jbpm-test-upgrade lib -->
+    <delete dir="upgrade/target/jbpm-test-upgrade" />
+    <mkdir dir="upgrade/target/jbpm-test-upgrade" />
+    <unzip dest="upgrade/target/jbpm-test-upgrade" src="upgrade/target/jbpm-test-upgrade.jar" />
+    <delete file="upgrade/target/jbpm-test-upgrade/hibernate.properties" />
+
+    <antcall target="install.hsqldb" />
+    <antcall target="start.hsqldb" />
+    <ant antfile="${jbpm.home}/install/build.xml" target="drop.jbpm.schema" />
+
+    <!-- create jbpm schema using the old jbpm distro -->
+    <condition property="is.old.jbpm.40">
+      <equals arg1="${old.jbpm.version}" arg2="4.0" />
+    </condition>
+    <antcall target="create.jbpm.schema.in.jbpm.40" />
+    <antcall target="create.jbpm.schema.in.jbpm.41plus" />
+
+    <!-- start couple of processes using the old jbpm version -->
+    <copy todir="upgrade/target/jbpm-test-upgrade" overwrite="true">
+      <fileset dir="upgrade/cfg" />
+    </copy>
+    <java classname="org.jbpm.upgrade.BeforeUpgrade" fork="true">
+      <classpath>
+        <pathelement location="upgrade/target/jbpm-test-upgrade" />
+        <fileset dir="${old.jbpm.home}">
+          <include name="jbpm.jar" />
+        </fileset>
+        <fileset dir="${old.jbpm.home}/lib">
+          <include name="*.jar" />
+        </fileset>
+      </classpath>
+    </java>
+
+    <!-- upgrade -->
+    <copy todir="${jbpm.home}/install/jdbc" overwrite="true">
+      <fileset dir="upgrade/target/jdbc" />
+    </copy>
+    <ant antfile="${jbpm.home}/install/build.xml"
+         target="upgrade.jbpm.schema"
+         inheritall="false">
+      <property name="database" value="${database}" />
+      <property name="tx" value="standalone.testsuite" />
+      <!--property name="logging" value="debug" /-->
+    </ant>
+  </target>
+
+  <target name="copy.oracle.driver" if="is.oracle">
+    <copy file="upgrade/target/ojdbc14.jar" todir="${old.jbpm.home}/lib" />
+    <copy file="upgrade/target/ojdbc14.jar" todir="${jbpm.home}/lib" />
+  </target>
+
+  <target name="install.hsqldb" if="is.hsqldb">
+    <ant antfile="${jbpm.home}/install/build.xml" target="install.hsqldb.server" />
+  </target>
+
+  <target name="start.hsqldb" if="is.hsqldb">
+    <ant antfile="${jbpm.home}/install/build.xml" target="start.hsqldb.server" />
+  </target>
+
+  <target name="stop.hsqldb" if="is.hsqldb">
+    <ant antfile="${jbpm.home}/install/build.xml" target="stop.hsqldb.server" />
+  </target>
+
+  <target name="create.jbpm.schema.in.jbpm.40" if="is.old.jbpm.40">
+    <echo message="creating schema in jbpm 4.0" />
+    <!-- copy the PVM2 jdbc properties files in the old jbpm distro -->
+    <copy todir="${old.jbpm.home}/db/jdbc">
+      <fileset dir="upgrade/target/jdbc" />
+    </copy>
+    <replace file="upgrade/target/jbpm-test-upgrade/jbpm.cfg.xml">
+      <replacetoken><![CDATA[<import resource="jbpm.businesscalendar.cfg.xml" />]]></replacetoken>
+      <replacevalue />
+    </replace>
+    <ant antfile="${old.jbpm.home}/db/build.xml" target="create.jbpm.schema" inheritall="false">
+      <property name="database" value="${database}" />
+    </ant>
+    <copy file="${old.jbpm.home}/db/hibernate.cfg/${database}.hibernate.cfg.xml"
+          tofile="upgrade/target/jbpm-test-upgrade/jbpm.hibernate.cfg.xml"
+          overwrite="true">
+      <filterset filtersfile="upgrade/target/jdbc/${database}.properties" />
+    </copy>
+  </target>
+
+  <target name="create.jbpm.schema.in.jbpm.41plus" unless="is.old.jbpm.40">
+    <echo message="creating schema in jbpm 4.1+" />
+    <!-- copy the PVM2 jdbc properties files in the old jbpm distro -->
+    <copy todir="${old.jbpm.home}/install/jdbc">
+      <fileset dir="upgrade/target/jdbc" />
+    </copy>
+    <ant antfile="${old.jbpm.home}/install/build.xml"
+         target="create.jbpm.schema"
+         inheritall="false">
+      <property name="database" value="${database}" />
+    </ant>
+    <copy file="${old.jbpm.home}/install/src/cfg/hibernate/jdbc/${database}.hibernate.cfg.xml"
+          tofile="upgrade/target/jbpm-test-upgrade/jbpm.hibernate.cfg.xml"
+          overwrite="true">
+      <filterset filtersfile="upgrade/target/jdbc/${database}.properties" />
+    </copy>
+  </target>
+
+  <target name="testsuite.upgrade.teardown">
+    <ant antfile="${jbpm.home}/install/build.xml"
+         target="drop.jbpm.schema"
+         inheritall="false" />
+    <antcall target="stop.hsqldb" />
+  </target>
+
+  <!-- ############################################ -->
+  <!-- ### REUSABLE TARGETS                     ### -->
+  <!-- ### These targets can be called directly ### -->
+  <!-- ############################################ -->
+
+  <!-- REINSTALL JBPM -->
+  <target name="reinstall.jbpm"
+          description="deletes the jbpm installation and then reinstalls jbpm">
+    <delete dir="${jbpm.home}" />
+    <unzip src="${jbpm.distro.path}" dest="${jbpm.parent.dir}" />
+
+    <!-- overwrite the default jdbc properties in the distro with those specified in the qa jdbc directory -->
+    <copy file="jdbc/${database}.properties"
+          todir="${jbpm.home}/install/jdbc"
+          overwrite="true"
+          failonerror="false" />
+    <!-- overwrite the jdbc properties in the distro with those specified in the user specific properties -->
+    <copy file="${user.home}/.jbpm4/jdbc/${database}.properties"
+          todir="${jbpm.home}/install/jdbc"
+          overwrite="true"
+          failonerror="false" />
+    <!-- copy the oracle jar as it is not allowed to be part of our distro -->
+    <copy file="../modules/distro/target/libs/ojdbc14.jar" todir="${jbpm.home}/lib" />
+  </target>
+
+</project>

Deleted: jbpm4/tags/jbpm-4.4/qa/hudson-jbpm4-db.sh
===================================================================
--- jbpm4/trunk/qa/hudson-jbpm4-db.sh	2010-07-15 11:23:41 UTC (rev 6494)
+++ jbpm4/tags/jbpm-4.4/qa/hudson-jbpm4-db.sh	2010-07-16 23:38:19 UTC (rev 6503)
@@ -1,12 +0,0 @@
-#!/bin/sh
-#
-# runs the database test suite
-
-# build distribution
-mvn -U -Pdistro clean install
-# set up
-ant -f qa/build.xml -Ddatabase=$DATABASE -Djbpm.parent.dir=$WORKSPACE testsuite.db.setup
-# run test suite
-mvn -Ddatabase=$DATABASE -Dmaven.test.failure.ignore=true test
-# tear down
-ant -f qa/build.xml -Ddatabase=$DATABASE -Djbpm.parent.dir=$WORKSPACE testsuite.db.teardown

Copied: jbpm4/tags/jbpm-4.4/qa/hudson-jbpm4-db.sh (from rev 6500, jbpm4/trunk/qa/hudson-jbpm4-db.sh)
===================================================================
--- jbpm4/tags/jbpm-4.4/qa/hudson-jbpm4-db.sh	                        (rev 0)
+++ jbpm4/tags/jbpm-4.4/qa/hudson-jbpm4-db.sh	2010-07-16 23:38:19 UTC (rev 6503)
@@ -0,0 +1,17 @@
+#!/bin/sh
+#
+# runs the database test suite
+
+export MAVEN_OPTS="-Ddatabase=$DATABASE"
+
+JBPM_VERSION=`mvn -Dexpression=project.version help:evaluate | grep '^4\.'`
+export ANT_OPTS="-Djbpm.parent.dir=$WORKSPACE -Djbpm.version=$JBPM_VERSION $MAVEN_OPTS"
+
+# build distribution
+mvn -q -U -Pdistro clean install
+# set up
+ant -f qa/build.xml testsuite.db.setup
+# run test suite
+mvn -Dmaven.test.failure.ignore=true test
+# tear down
+ant -f qa/build.xml testsuite.db.teardown

Deleted: jbpm4/tags/jbpm-4.4/qa/hudson-jbpm4-enterprise.sh
===================================================================
--- jbpm4/trunk/qa/hudson-jbpm4-enterprise.sh	2010-07-15 11:23:41 UTC (rev 6494)
+++ jbpm4/tags/jbpm-4.4/qa/hudson-jbpm4-enterprise.sh	2010-07-16 23:38:19 UTC (rev 6503)
@@ -1,18 +0,0 @@
-#!/bin/sh
-#
-# runs the jboss integration test suite
-
-export MAVEN_OPTS="-Dbind.address=$JBOSS_BINDADDR"
-
-export ANT_OPTS="-Djbpm.parent.dir=$WORKSPACE -Dbind.address=$JBOSS_BINDADDR \
-       -Djboss.distro.dir=$SOURCE_REPO/jboss -Djboss.version=$JBOSS_VERSION"
-
-# build distribution
-mvn -U -Pdistro,enterprise clean install
-# set up
-ant -f qa/build.xml testsuite.enterprise.setup
-# run test suite
-mvn -f modules/test-enterprise/test-enterprise-suite/pom.xml -Pruntest \
-    -Dmaven.test.failure.ignore=true test
-# tear down
-ant -f qa/build.xml testsuite.enterprise.teardown

Copied: jbpm4/tags/jbpm-4.4/qa/hudson-jbpm4-enterprise.sh (from rev 6500, jbpm4/trunk/qa/hudson-jbpm4-enterprise.sh)
===================================================================
--- jbpm4/tags/jbpm-4.4/qa/hudson-jbpm4-enterprise.sh	                        (rev 0)
+++ jbpm4/tags/jbpm-4.4/qa/hudson-jbpm4-enterprise.sh	2010-07-16 23:38:19 UTC (rev 6503)
@@ -0,0 +1,19 @@
+#!/bin/sh
+#
+# runs the jboss integration test suite
+
+export MAVEN_OPTS="-Dbind.address=$JBOSS_BINDADDR"
+
+JBPM_VERSION=`mvn -Dexpression=project.version help:evaluate | grep '^4\.'`
+export ANT_OPTS="-Djbpm.parent.dir=$WORKSPACE -Djbpm.version=$JBPM_VERSION \
+       -Djboss.distro.dir=$SOURCE_REPO/jboss -Djboss.version=$JBOSS_VERSION $MAVEN_OPTS"
+
+# build distribution
+mvn -q -U -Pdistro,enterprise clean install
+# set up
+ant -f qa/build.xml testsuite.enterprise.setup
+# run test suite
+mvn -f modules/test-enterprise/test-enterprise-suite/pom.xml -Pruntest \
+    -Dmaven.test.failure.ignore=true test
+# tear down
+ant -f qa/build.xml testsuite.enterprise.teardown

Deleted: jbpm4/tags/jbpm-4.4/qa/hudson-jbpm4-jboss.sh
===================================================================
--- jbpm4/trunk/qa/hudson-jbpm4-jboss.sh	2010-07-15 11:23:41 UTC (rev 6494)
+++ jbpm4/tags/jbpm-4.4/qa/hudson-jbpm4-jboss.sh	2010-07-16 23:38:19 UTC (rev 6503)
@@ -1,17 +0,0 @@
-#!/bin/sh
-#
-# runs the jboss integration test suite
-
-export MAVEN_OPTS="-Dbind.address=$JBOSS_BINDADDR"
-
-export ANT_OPTS="-Djbpm.parent.dir=$WORKSPACE -Dbind.address=$JBOSS_BINDADDR \
-       -Djboss.distro.dir=$SOURCE_REPO/jboss -Djboss.version=$JBOSS_VERSION"
-
-# build distribution
-mvn -U -Pdistro,integration clean install
-# set up
-ant -f qa/build.xml testsuite.jboss.setup
-# run test suite
-mvn -f modules/test-cactus/pom.xml -Pruntest -Dmaven.test.failure.ignore=true test
-# tear down
-ant -f qa/build.xml testsuite.jboss.teardown

Copied: jbpm4/tags/jbpm-4.4/qa/hudson-jbpm4-jboss.sh (from rev 6500, jbpm4/trunk/qa/hudson-jbpm4-jboss.sh)
===================================================================
--- jbpm4/tags/jbpm-4.4/qa/hudson-jbpm4-jboss.sh	                        (rev 0)
+++ jbpm4/tags/jbpm-4.4/qa/hudson-jbpm4-jboss.sh	2010-07-16 23:38:19 UTC (rev 6503)
@@ -0,0 +1,18 @@
+#!/bin/sh
+#
+# runs the jboss integration test suite
+
+export MAVEN_OPTS="-Dbind.address=$JBOSS_BINDADDR"
+
+JBPM_VERSION=`mvn -Dexpression=project.version help:evaluate | grep '^4\.'`
+export ANT_OPTS="-Djbpm.parent.dir=$WORKSPACE -Djbpm.version=$JBPM_VERSION \
+       -Djboss.distro.dir=$SOURCE_REPO/jboss -Djboss.version=$JBOSS_VERSION $MAVEN_OPTS"
+
+# build distribution
+mvn -q -U -Pdistro,integration clean install
+# set up
+ant -f qa/build.xml testsuite.jboss.setup
+# run test suite
+mvn -f modules/test-cactus/pom.xml -Pruntest -Dmaven.test.failure.ignore=true test
+# tear down
+ant -f qa/build.xml testsuite.jboss.teardown

Deleted: jbpm4/tags/jbpm-4.4/qa/hudson-jbpm4-tomcat.sh
===================================================================
--- jbpm4/trunk/qa/hudson-jbpm4-tomcat.sh	2010-07-15 11:23:41 UTC (rev 6494)
+++ jbpm4/tags/jbpm-4.4/qa/hudson-jbpm4-tomcat.sh	2010-07-16 23:38:19 UTC (rev 6503)
@@ -1,17 +0,0 @@
-#!/bin/sh
-#
-# runs the tomcat integration test suite
-
-export MAVEN_OPTS="-Dbind.address=$TOMCAT_BINDADDR"
-
-export ANT_OPTS="-Djbpm.parent.dir=$WORKSPACE -Dbind.address=$TOMCAT_BINDADDR \
-       -Dtomcat.distro.dir=tomcat.downloads"
-
-# build distribution
-mvn -U -Pdistro,integration clean install
-# set up
-ant -f qa/build.xml testsuite.tomcat.setup
-# run test suite
-mvn -f modules/test-cactus/pom.xml -Pruntest -Dmaven.test.failure.ignore=true test
-# tear down
-ant -f qa/build.xml testsuite.tomcat.teardown

Copied: jbpm4/tags/jbpm-4.4/qa/hudson-jbpm4-tomcat.sh (from rev 6500, jbpm4/trunk/qa/hudson-jbpm4-tomcat.sh)
===================================================================
--- jbpm4/tags/jbpm-4.4/qa/hudson-jbpm4-tomcat.sh	                        (rev 0)
+++ jbpm4/tags/jbpm-4.4/qa/hudson-jbpm4-tomcat.sh	2010-07-16 23:38:19 UTC (rev 6503)
@@ -0,0 +1,18 @@
+#!/bin/sh
+#
+# runs the tomcat integration test suite
+
+export MAVEN_OPTS="-Dbind.address=$TOMCAT_BINDADDR"
+
+JBPM_VERSION=`mvn -Dexpression=project.version help:evaluate | grep '^4\.'`
+export ANT_OPTS="-Djbpm.parent.dir=$WORKSPACE -Djbpm.version=$JBPM_VERSION \
+       -Dtomcat.distro.dir=tomcat.downloads $MAVEN_OPTS"
+
+# build distribution
+mvn -q -U -Pdistro,integration clean install
+# set up
+ant -f qa/build.xml testsuite.tomcat.setup
+# run test suite
+mvn -f modules/test-cactus/pom.xml -Pruntest -Dmaven.test.failure.ignore=true test
+# tear down
+ant -f qa/build.xml testsuite.tomcat.teardown

Deleted: jbpm4/tags/jbpm-4.4/qa/hudson-jbpm4-upgrade.sh
===================================================================
--- jbpm4/trunk/qa/hudson-jbpm4-upgrade.sh	2010-07-15 11:23:41 UTC (rev 6494)
+++ jbpm4/tags/jbpm-4.4/qa/hudson-jbpm4-upgrade.sh	2010-07-16 23:38:19 UTC (rev 6503)
@@ -1,18 +0,0 @@
-#!/bin/sh
-#
-# runs the upgrade tests
-
-export ANT_OPTS="-Dold.jbpm.version=$OLD_JBPM_VERSION -Ddatabase=$DATABASE \
-       -Djbpm.parent.dir=$WORKSPACE"
-
-export MAVEN_OPTS=$ANT_OPTS
-
-# build distribution
-mvn -f qa/upgrade/pom.xml dependency:copy
-mvn -U -Pdistro,integration clean install
-# set up
-ant -f qa/build.xml testsuite.upgrade.setup
-# run test suite
-mvn -f modules/test-upgrade/pom.xml clean test
-# tear down
-ant -f qa/build.xml testsuite.upgrade.teardown

Copied: jbpm4/tags/jbpm-4.4/qa/hudson-jbpm4-upgrade.sh (from rev 6500, jbpm4/trunk/qa/hudson-jbpm4-upgrade.sh)
===================================================================
--- jbpm4/tags/jbpm-4.4/qa/hudson-jbpm4-upgrade.sh	                        (rev 0)
+++ jbpm4/tags/jbpm-4.4/qa/hudson-jbpm4-upgrade.sh	2010-07-16 23:38:19 UTC (rev 6503)
@@ -0,0 +1,18 @@
+#!/bin/sh
+#
+# runs the upgrade tests
+
+export MAVEN_OPTS="-Dold.jbpm.version=$OLD_JBPM_VERSION -Ddatabase=$DATABASE"
+
+JBPM_VERSION=`mvn -Dexpression=project.version help:evaluate | grep '^4\.'`
+export ANT_OPTS="-Djbpm.parent.dir=$WORKSPACE -Djbpm.version=$JBPM_VERSION $MAVEN_OPTS"
+
+# build distribution
+mvn -q -f qa/upgrade/pom.xml dependency:copy
+mvn -q -U -Pdistro,integration clean install
+# set up
+ant -f qa/build.xml testsuite.upgrade.setup
+# run test suite
+mvn -f modules/test-upgrade/pom.xml clean test
+# tear down
+ant -f qa/build.xml testsuite.upgrade.teardown



More information about the jbpm-commits mailing list