[jbpm-commits] JBoss JBPM SVN: r4315 - in jbpm4/trunk: modules/api/src/main/java/org/jbpm/task and 21 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Tue Mar 24 10:07:28 EDT 2009


Author: heiko.braun at jboss.com
Date: 2009-03-24 10:07:27 -0400 (Tue, 24 Mar 2009)
New Revision: 4315

Added:
   jbpm4/trunk/modules/distro/src/main/resources/config-tool/identity/import.sql
   jbpm4/trunk/modules/integration/console/scripts/
   jbpm4/trunk/modules/integration/console/scripts/assembly-config.xml
   jbpm4/trunk/modules/integration/console/src/main/java/org/jbpm/integration/console/JBPMIntegration.java
   jbpm4/trunk/modules/integration/console/src/main/java/org/jbpm/integration/console/TaskManagementImpl.java
   jbpm4/trunk/modules/integration/console/src/main/resources/jboss-service.xml
Removed:
   jbpm4/trunk/modules/enterprise/src/main/java/org/jbpm/enterprise/mgmt/
   jbpm4/trunk/modules/enterprise/src/main/resources/META-INF/services/
   jbpm4/trunk/modules/enterprise/src/main/resources/jboss-service.xml
   jbpm4/trunk/modules/enterprise/src/main/resources/jbpm-roles.properties
   jbpm4/trunk/modules/enterprise/src/main/resources/jbpm-users.properties
   jbpm4/trunk/modules/integration/spi/src/main/resources/jboss-service.xml
   jbpm4/trunk/modules/integration/spi/src/main/resources/jbpm-roles.properties
   jbpm4/trunk/modules/integration/spi/src/main/resources/jbpm-users.properties
Modified:
   jbpm4/trunk/modules/api/src/main/java/org/jbpm/task/Participant.java
   jbpm4/trunk/modules/db/jbpm4-db.iml
   jbpm4/trunk/modules/distro/pom.xml
   jbpm4/trunk/modules/distro/scripts/assembly-deploy-artifacts.xml
   jbpm4/trunk/modules/distro/src/main/resources/config-tool/build.xml
   jbpm4/trunk/modules/distro/src/main/resources/installer/install-definition.xml
   jbpm4/trunk/modules/enterprise/jbpm4-enterprise.iml
   jbpm4/trunk/modules/enterprise/pom.xml
   jbpm4/trunk/modules/examples/jbpm4-examples.iml
   jbpm4/trunk/modules/examples/pom.xml
   jbpm4/trunk/modules/integration/console/integration-console.iml
   jbpm4/trunk/modules/integration/console/pom.xml
   jbpm4/trunk/modules/integration/console/src/main/java/org/jbpm/integration/console/ManagementFactoryImpl.java
   jbpm4/trunk/modules/integration/console/src/main/java/org/jbpm/integration/console/ModelAdaptor.java
   jbpm4/trunk/modules/integration/console/src/main/java/org/jbpm/integration/console/ProcessManagementImpl.java
   jbpm4/trunk/modules/integration/jboss5/integration-jboss5.iml
   jbpm4/trunk/modules/integration/jboss5/src/main/resources/META-INF/jbpm-service-jboss-beans.xml
   jbpm4/trunk/modules/integration/spi/integration-spi.iml
   jbpm4/trunk/modules/integration/spi/pom.xml
   jbpm4/trunk/modules/integration/spi/scripts/assembly-config.xml
   jbpm4/trunk/modules/test-db/jbpm4-test-db.iml
   jbpm4/trunk/pom.xml
Log:
Console integration: Task assignment, first cut

Modified: jbpm4/trunk/modules/api/src/main/java/org/jbpm/task/Participant.java
===================================================================
--- jbpm4/trunk/modules/api/src/main/java/org/jbpm/task/Participant.java	2009-03-24 11:28:17 UTC (rev 4314)
+++ jbpm4/trunk/modules/api/src/main/java/org/jbpm/task/Participant.java	2009-03-24 14:07:27 UTC (rev 4315)
@@ -53,6 +53,6 @@
 
   IdentityRef getIdentityRef();
   
-  /** see contants for default particpations */
+  /** see contants for default participations */
   String getParticipation();
 }

Modified: jbpm4/trunk/modules/db/jbpm4-db.iml
===================================================================
--- jbpm4/trunk/modules/db/jbpm4-db.iml	2009-03-24 11:28:17 UTC (rev 4314)
+++ jbpm4/trunk/modules/db/jbpm4-db.iml	2009-03-24 14:07:27 UTC (rev 4315)
@@ -9,19 +9,10 @@
     </content>
     <orderEntry type="inheritedJdk" />
     <orderEntry type="sourceFolder" forTests="false" />
-    <orderEntry type="module" module-name="toplevel" exported="" />
-    <orderEntry type="module" module-name="jpdl" exported="" />
-    <orderEntry type="module" module-name="pvm" exported="" />
+    <orderEntry type="module" module-name="toplevel" />
+    <orderEntry type="module" module-name="pvm" />
+    <orderEntry type="module" module-name="jpdl" />
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: javax.transaction:jta:jar:1.0.1B:compile">
-        <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
       <library name="M2 Dep: junit:junit:jar:3.8.1:compile">
         <CLASSES>
           <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar!/" />
@@ -375,6 +366,17 @@
         <SOURCES />
       </library>
     </orderEntry>
+    <orderEntry type="module-library">
+      <library name="M2 Dep: javax.transaction:jta:jar:1.1:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/transaction/jta/1.1/jta-1.1.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/transaction/jta/1.1/jta-1.1-sources.jar!/" />
+        </SOURCES>
+      </library>
+    </orderEntry>
     <orderEntryProperties />
   </component>
 </module>

Modified: jbpm4/trunk/modules/distro/pom.xml
===================================================================
--- jbpm4/trunk/modules/distro/pom.xml	2009-03-24 11:28:17 UTC (rev 4314)
+++ jbpm4/trunk/modules/distro/pom.xml	2009-03-24 14:07:27 UTC (rev 4315)
@@ -46,6 +46,17 @@
     </dependency>
     <dependency>
       <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-console-integration</artifactId>
+      <version>${version}</version>      
+    </dependency>
+     <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-console-integration</artifactId>
+       <classifier>config</classifier>
+      <version>${version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
       <artifactId>jbpm-jboss4</artifactId>
       <version>${version}</version>
     </dependency>

Modified: jbpm4/trunk/modules/distro/scripts/assembly-deploy-artifacts.xml
===================================================================
--- jbpm4/trunk/modules/distro/scripts/assembly-deploy-artifacts.xml	2009-03-24 11:28:17 UTC (rev 4314)
+++ jbpm4/trunk/modules/distro/scripts/assembly-deploy-artifacts.xml	2009-03-24 14:07:27 UTC (rev 4315)
@@ -56,6 +56,14 @@
       </includes>
       <unpack>true</unpack>
     </dependencySet>
+      <dependencySet>
+      <outputDirectory>resources/jbpm-console-config</outputDirectory>
+      <useStrictFiltering>true</useStrictFiltering>
+      <includes>
+        <include>*:jbpm-console-integration:jar:config</include>
+      </includes>
+      <unpack>true</unpack>
+    </dependencySet>
     <dependencySet>
       <outputDirectory>resources/jbpm-jboss5-config</outputDirectory>
       <useStrictFiltering>true</useStrictFiltering>

Modified: jbpm4/trunk/modules/distro/src/main/resources/config-tool/build.xml
===================================================================
--- jbpm4/trunk/modules/distro/src/main/resources/config-tool/build.xml	2009-03-24 11:28:17 UTC (rev 4314)
+++ jbpm4/trunk/modules/distro/src/main/resources/config-tool/build.xml	2009-03-24 14:07:27 UTC (rev 4315)
@@ -163,6 +163,7 @@
          password="${hibernate.connection.password}"
          onerror="continue">
       <transaction src="${db.scripts.dir}/jbpm.${database}.create.sql"/>
+      <transaction src="identity/import.sql"/>
 
       <classpath>
         <pathelement path="${runtime_classpath}"/>
@@ -180,6 +181,11 @@
   <target name="db.drop"
           depends="create.db.scripts, internal.load.hibernate.properties"
           description="drops the db tables in the database">
+
+     <echo message="driver: ${hibernate.connection.driver_class}" />
+    <echo message="url: ${hibernate.connection.url}" />
+    <echo message="username: ${hibernate.connection.username}" />
+    
     <sql driver="${hibernate.connection.driver_class}"
          url="${hibernate.connection.url}"
          userid="${hibernate.connection.username}"

Added: jbpm4/trunk/modules/distro/src/main/resources/config-tool/identity/import.sql
===================================================================
--- jbpm4/trunk/modules/distro/src/main/resources/config-tool/identity/import.sql	                        (rev 0)
+++ jbpm4/trunk/modules/distro/src/main/resources/config-tool/identity/import.sql	2009-03-24 14:07:27 UTC (rev 4315)
@@ -0,0 +1,17 @@
+INSERT INTO JBPM_ID_GROUP VALUES (1,0,'manager','manager','security-role',NULL);
+INSERT INTO JBPM_ID_GROUP VALUES (2,0,'administrator','administrator','security-role',NULL);
+INSERT INTO JBPM_ID_GROUP VALUES (3,0,'user','user','security-role',NULL);
+INSERT INTO JBPM_ID_GROUP VALUES(4,0,'sales','sales',NULL,NULL);
+
+INSERT INTO JBPM_ID_USER VALUES (1,0,'alex','password','Administrator Login','');
+INSERT INTO JBPM_ID_USER VALUES (2,0,'mike','password','Managers Login','');
+INSERT INTO JBPM_ID_USER VALUES (3,0,'peter','password','Users Login','');
+INSERT INTO JBPM_ID_USER VALUES (4,0,'mary','password','Users Login','');
+
+INSERT INTO JBPM_ID_MEMBERSHIP VALUES (1,0,1,2,NULL);
+INSERT INTO JBPM_ID_MEMBERSHIP VALUES (2,0,2,1,NULL);
+INSERT INTO JBPM_ID_MEMBERSHIP VALUES (3,0,3,3,NULL);
+INSERT INTO JBPM_ID_MEMBERSHIP VALUES (4,0,3,4,NULL);
+INSERT INTO JBPM_ID_MEMBERSHIP VALUES (5,0,4,3,NULL);
+INSERT INTO JBPM_ID_MEMBERSHIP VALUES (6,0,4,4,NULL);
+

Modified: jbpm4/trunk/modules/distro/src/main/resources/installer/install-definition.xml
===================================================================
--- jbpm4/trunk/modules/distro/src/main/resources/installer/install-definition.xml	2009-03-24 11:28:17 UTC (rev 4314)
+++ jbpm4/trunk/modules/distro/src/main/resources/installer/install-definition.xml	2009-03-24 14:07:27 UTC (rev 4315)
@@ -152,12 +152,12 @@
 
       <description>The Install jBPM in JBoss</description>
 
-      <!-- jbpm/jbpm-service.sar , spi  config-->
-      <fileset dir="@{deploy.artifacts.dir}/resources/jbpm-spi-config" targetdir="${jbossInstallPath}/server/${jbossTargetServer}/deploy/jbpm/jbpm-service.sar" override="true">
+      <!-- jbpm/jbpm-service.sar , console  config-->
+      <fileset dir="@{deploy.artifacts.dir}/resources/jbpm-console-config" targetdir="${jbossInstallPath}/server/${jbossTargetServer}/deploy/jbpm/jbpm-service.sar" override="true">
         <include name="jbpm-users.properties"/>
         <include name="jbpm-roles.properties"/>
       </fileset>
-      <fileset dir="@{deploy.artifacts.dir}/resources/jbpm-spi-config" targetdir="${jbossInstallPath}/server/${jbossTargetServer}/deploy/jbpm/jbpm-service.sar/META-INF" override="true">
+      <fileset dir="@{deploy.artifacts.dir}/resources/jbpm-console-config" targetdir="${jbossInstallPath}/server/${jbossTargetServer}/deploy/jbpm/jbpm-service.sar/META-INF" override="true">
         <include name="jboss-service.xml"/>
       </fileset>
 

Modified: jbpm4/trunk/modules/enterprise/jbpm4-enterprise.iml
===================================================================
--- jbpm4/trunk/modules/enterprise/jbpm4-enterprise.iml	2009-03-24 11:28:17 UTC (rev 4314)
+++ jbpm4/trunk/modules/enterprise/jbpm4-enterprise.iml	2009-03-24 14:07:27 UTC (rev 4315)
@@ -5,13 +5,16 @@
     <exclude-output />
     <content url="file://$MODULE_DIR$">
       <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
+      <sourceFolder url="file://$MODULE_DIR$/src/main/resources" isTestSource="false" />
       <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
+      <sourceFolder url="file://$MODULE_DIR$/src/test/resources" isTestSource="true" />
     </content>
     <orderEntry type="inheritedJdk" />
     <orderEntry type="sourceFolder" forTests="false" />
     <orderEntry type="module" module-name="toplevel" exported="" />
-    <orderEntry type="module" module-name="jpdl" exported="" />
+    <orderEntry type="module" module-name="gwt-server-integration" exported="" />
     <orderEntry type="module" module-name="pvm" exported="" />
+    <orderEntry type="module" module-name="gwt-rpc" exported="" />
     <orderEntry type="module-library" exported="">
       <library name="M2 Dep: cargo:cargo:jar:0.5:test">
         <CLASSES>
@@ -42,15 +45,6 @@
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.jboss.client:jbossall-client:jar:4.2.2.GA:runtime">
-        <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/client/jbossall-client/4.2.2.GA/jbossall-client-4.2.2.GA.jar!/" />
-        </CLASSES>
-        <JAVADOC />
-        <SOURCES />
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
       <library name="M2 Dep: xerces:xercesImpl:jar:2.6.2:test">
         <CLASSES>
           <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/xerces/xercesImpl/2.6.2/xercesImpl-2.6.2.jar!/" />
@@ -484,6 +478,24 @@
         </SOURCES>
       </library>
     </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: org.jboss.client:jbossall-client:jar:5.0.0.GA:runtime">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/client/jbossall-client/5.0.0.GA/jbossall-client-5.0.0.GA.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: com.google.code.gson:gson:jar:1.2.2:provided">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/com/google/code/gson/gson/1.2.2/gson-1.2.2.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
     <orderEntryProperties />
   </component>
 </module>

Modified: jbpm4/trunk/modules/enterprise/pom.xml
===================================================================
--- jbpm4/trunk/modules/enterprise/pom.xml	2009-03-24 11:28:17 UTC (rev 4314)
+++ jbpm4/trunk/modules/enterprise/pom.xml	2009-03-24 14:07:27 UTC (rev 4315)
@@ -83,10 +83,7 @@
         <configuration>
           <excludes>
             <exclude>jbpm.cfg.xml</exclude>
-            <exclude>jbpm-destinations-service.xml</exclude>
-            <exclude>jbpm-users.properties</exclude>
-            <exclude>jbpm-roles.properties</exclude>
-            <exclude>jboss-service.xml</exclude>
+            <exclude>jbpm-destinations-service.xml</exclude>          
           </excludes>
         </configuration>
       </plugin>

Deleted: jbpm4/trunk/modules/enterprise/src/main/resources/jboss-service.xml
===================================================================
--- jbpm4/trunk/modules/enterprise/src/main/resources/jboss-service.xml	2009-03-24 11:28:17 UTC (rev 4314)
+++ jbpm4/trunk/modules/enterprise/src/main/resources/jboss-service.xml	2009-03-24 14:07:27 UTC (rev 4315)
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<server>
-  <!-- The custom JAAS login configuration that installs
-      a Configuration capable of dynamically updating the
-      config settings
-  -->
-  <mbean code="org.jboss.security.auth.login.DynamicLoginConfig" name="org.jboss.jbpm:service=LoginConfig">
-    <attribute name="PolicyConfig" serialDataType="jbxb">
-      <jaas:policy xsi:schemaLocation="urn:jboss:security-config:4.1 resource:security-config_4_1.xsd" xmlns:jaas="urn:jboss:security-config:4.1"
-                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-        <jaas:application-policy name="jbpm-console">
-          <jaas:authentication>
-
-            <!-- Simple authentication -->
-            <jaas:login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
-                               flag="required">
-              <jaas:module-option name="usersProperties">jbpm-users.properties</jaas:module-option>
-              <jaas:module-option name="rolesProperties">jbpm-roles.properties</jaas:module-option>
-            </jaas:login-module>
-
-
-            <!-- Authenticate against the IDM database -->
-            <!--jaas:login-module code="org.jboss.security.auth.spi.DatabaseServerLoginModule" flag="required">
-              <jaas:module-option name="dsJndiName">java:/JbpmDS</jaas:module-option>
-              <jaas:module-option name="principalsQuery"> SELECT PASSWORD_ FROM JBPM_ID_USER WHERE NAME_=? </jaas:module-option>
-              <jaas:module-option name="rolesQuery">
-                SELECT g.NAME_ ,'Roles' FROM JBPM_ID_USER u, JBPM_ID_MEMBERSHIP m, JBPM_ID_GROUP g
-                WHERE g.TYPE_='security-role' AND m.GROUP_ = g.ID_ AND m.USER_ = u.ID_ AND u.NAME_=? </jaas:module-option>
-            </jaas:login-module-->
-          </jaas:authentication>
-        </jaas:application-policy>
-      </jaas:policy>
-    </attribute>
-    <depends optional-attribute-name="LoginConfigService"> jboss.security:service=XMLLoginConfig</depends>
-    <depends optional-attribute-name="SecurityManagerService"> jboss.security:service=JaasSecurityManager</depends>
-  </mbean>
-</server>

Deleted: jbpm4/trunk/modules/enterprise/src/main/resources/jbpm-roles.properties
===================================================================
--- jbpm4/trunk/modules/enterprise/src/main/resources/jbpm-roles.properties	2009-03-24 11:28:17 UTC (rev 4314)
+++ jbpm4/trunk/modules/enterprise/src/main/resources/jbpm-roles.properties	2009-03-24 14:07:27 UTC (rev 4315)
@@ -1 +0,0 @@
-admin=admin
\ No newline at end of file

Deleted: jbpm4/trunk/modules/enterprise/src/main/resources/jbpm-users.properties
===================================================================
--- jbpm4/trunk/modules/enterprise/src/main/resources/jbpm-users.properties	2009-03-24 11:28:17 UTC (rev 4314)
+++ jbpm4/trunk/modules/enterprise/src/main/resources/jbpm-users.properties	2009-03-24 14:07:27 UTC (rev 4315)
@@ -1 +0,0 @@
-admin=admin
\ No newline at end of file

Modified: jbpm4/trunk/modules/examples/jbpm4-examples.iml
===================================================================
--- jbpm4/trunk/modules/examples/jbpm4-examples.iml	2009-03-24 11:28:17 UTC (rev 4314)
+++ jbpm4/trunk/modules/examples/jbpm4-examples.iml	2009-03-24 14:07:27 UTC (rev 4315)
@@ -9,195 +9,186 @@
     </content>
     <orderEntry type="inheritedJdk" />
     <orderEntry type="sourceFolder" forTests="false" />
-    <orderEntry type="module" module-name="toplevel" />
-    <orderEntry type="module" module-name="jpdl" />
-    <orderEntry type="module" module-name="pvm" />
+    <orderEntry type="module" module-name="toplevel" exported="" />
+    <orderEntry type="module" module-name="pvm" exported="" />
+    <orderEntry type="module" module-name="jpdl" exported="" />
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: javax.transaction:jta:jar:1.0.1B:compile">
+      <library name="M2 Dep: jboss:jboss-j2ee:jar:4.2.2.GA:compile">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/jboss/jboss-j2ee/4.2.2.GA/jboss-j2ee-4.2.2.GA.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: junit:junit:jar:3.8.1:compile">
+      <library name="M2 Dep: hsqldb:hsqldb:jar:1.8.0.7:test">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/hsqldb/hsqldb/1.8.0.7/hsqldb-1.8.0.7.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.hibernate:hibernate:jar:3.2.6.ga:compile">
+      <library name="M2 Dep: org.jbpm.jbpm4.dependencies.esb:jbossesb-rosetta:jar:4.4.0.GA:compile">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jbpm/jbpm4/dependencies/esb/jbossesb-rosetta/4.4.0.GA/jbossesb-rosetta-4.4.0.GA.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: commons-logging:commons-logging:jar:1.0.4:compile">
+      <library name="M2 Dep: stax:stax-api:jar:1.0.1:compile">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: antlr:antlr:jar:2.7.6:compile">
+      <library name="M2 Dep: org.codehaus.woodstox:wstx-lgpl:jar:3.2.6:test">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/antlr/antlr/2.7.6/antlr-2.7.6.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/codehaus/woodstox/wstx-lgpl/3.2.6/wstx-lgpl-3.2.6.jar!/" />
         </CLASSES>
         <JAVADOC />
-        <SOURCES />
+        <SOURCES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/codehaus/woodstox/wstx-lgpl/3.2.6/wstx-lgpl-3.2.6-sources.jar!/" />
+        </SOURCES>
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: asm:asm:jar:1.5.3:compile">
+      <library name="M2 Dep: stax:stax:jar:1.2.0:compile">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/asm/asm/1.5.3/asm-1.5.3.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/stax/stax/1.2.0/stax-1.2.0.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: jboss:jboss-j2ee:jar:4.2.2.GA:compile">
+      <library name="M2 Dep: jboss.jbossts:jbossts-common:jar:4.4.0.GA:compile">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/jboss/jboss-j2ee/4.2.2.GA/jboss-j2ee-4.2.2.GA.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/jboss/jbossts/jbossts-common/4.4.0.GA/jbossts-common-4.4.0.GA.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: hsqldb:hsqldb:jar:1.8.0.7:test">
+      <library name="M2 Dep: org.jboss.identity:idm-spi:jar:1.0.0-SNAPSHOT:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/hsqldb/hsqldb/1.8.0.7/hsqldb-1.8.0.7.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/identity/idm-spi/1.0.0-SNAPSHOT/idm-spi-1.0.0-SNAPSHOT.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: net.sf.ehcache:ehcache:jar:1.2.3:compile">
+      <library name="M2 Dep: javax.xml.bind:jaxb-api:jar:2.1:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: dom4j:dom4j:jar:1.6.1:compile">
+      <library name="M2 Dep: javax.transaction:jta:jar:1.1:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/transaction/jta/1.1/jta-1.1.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1-sources.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/transaction/jta/1.1/jta-1.1-sources.jar!/" />
         </SOURCES>
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: cglib:cglib:jar:2.1_3:compile">
+      <library name="M2 Dep: junit:junit:jar:3.8.1:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/cglib/cglib/2.1_3/cglib-2.1_3.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: asm:asm-attrs:jar:1.5.3:compile">
+      <library name="M2 Dep: org.hibernate:hibernate-commons-annotations:jar:3.0.0.ga:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/hibernate/hibernate-commons-annotations/3.0.0.ga/hibernate-commons-annotations-3.0.0.ga.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: commons-collections:commons-collections:jar:2.1.1:compile">
+      <library name="M2 Dep: org.hibernate:hibernate:jar:3.2.6.ga:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/commons-collections/commons-collections/2.1.1/commons-collections-2.1.1.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: log4j:log4j:jar:1.2.14:compile">
+      <library name="M2 Dep: commons-logging:commons-logging:jar:1.0.4:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar!/" />
         </CLASSES>
         <JAVADOC />
-        <SOURCES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14-sources.jar!/" />
-        </SOURCES>
-      </library>
-    </orderEntry>
-    <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.jboss.identity:idm-spi:jar:1.0.0-SNAPSHOT:test">
-        <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/identity/idm-spi/1.0.0-SNAPSHOT/idm-spi-1.0.0-SNAPSHOT.jar!/" />
-        </CLASSES>
-        <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: javax.xml.bind:jaxb-api:jar:2.1:test">
+      <library name="M2 Dep: org.jboss.cache:jbosscache-core:jar:3.0.2.GA:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/cache/jbosscache-core/3.0.2.GA/jbosscache-core-3.0.2.GA.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.hibernate:hibernate-commons-annotations:jar:3.0.0.ga:test">
+      <library name="M2 Dep: javax.xml.stream:stax-api:jar:1.0-2:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/hibernate/hibernate-commons-annotations/3.0.0.ga/hibernate-commons-annotations-3.0.0.ga.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.jboss.cache:jbosscache-core:jar:3.0.2.GA:test">
+      <library name="M2 Dep: antlr:antlr:jar:2.7.6:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/cache/jbosscache-core/3.0.2.GA/jbosscache-core-3.0.2.GA.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/antlr/antlr/2.7.6/antlr-2.7.6.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: javax.xml.stream:stax-api:jar:1.0-2:test">
+      <library name="M2 Dep: juel:juel-engine:jar:2.1.0:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/juel/juel-engine/2.1.0/juel-engine-2.1.0.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: juel:juel-engine:jar:2.1.0:test">
+      <library name="M2 Dep: asm:asm:jar:1.5.3:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/juel/juel-engine/2.1.0/juel-engine-2.1.0.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/asm/asm/1.5.3/asm-1.5.3.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: javassist:javassist:jar:3.4.GA:test">
+      <library name="M2 Dep: javassist:javassist:jar:3.4.GA:runtime">
         <CLASSES>
           <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javassist/javassist/3.4.GA/javassist-3.4.GA.jar!/" />
         </CLASSES>
@@ -206,7 +197,7 @@
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.jboss.identity:idm-api:jar:1.0.0-SNAPSHOT:test">
+      <library name="M2 Dep: org.jboss.identity:idm-api:jar:1.0.0-SNAPSHOT:runtime">
         <CLASSES>
           <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/identity/idm-api/1.0.0-SNAPSHOT/idm-api-1.0.0-SNAPSHOT.jar!/" />
         </CLASSES>
@@ -215,7 +206,7 @@
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: javax.persistence:persistence-api:jar:1.0:test">
+      <library name="M2 Dep: javax.persistence:persistence-api:jar:1.0:runtime">
         <CLASSES>
           <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar!/" />
         </CLASSES>
@@ -224,7 +215,7 @@
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.jboss.identity:idm:jar:1.0.0-SNAPSHOT:test">
+      <library name="M2 Dep: org.jboss.identity:idm:jar:1.0.0-SNAPSHOT:runtime">
         <CLASSES>
           <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/identity/idm/1.0.0-SNAPSHOT/idm-1.0.0-SNAPSHOT.jar!/" />
         </CLASSES>
@@ -233,34 +224,34 @@
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: juel:juel:jar:2.1.0:test">
+      <library name="M2 Dep: org.jboss.identity:idm-common:jar:1.0.0-SNAPSHOT:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/juel/juel/2.1.0/juel-2.1.0.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/identity/idm-common/1.0.0-SNAPSHOT/idm-common-1.0.0-SNAPSHOT.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.hibernate:ejb3-persistence:jar:1.0.1.GA:test">
+      <library name="M2 Dep: juel:juel:jar:2.1.0:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/hibernate/ejb3-persistence/1.0.1.GA/ejb3-persistence-1.0.1.GA.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/juel/juel/2.1.0/juel-2.1.0.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.jboss.identity:idm-common:jar:1.0.0-SNAPSHOT:test">
+      <library name="M2 Dep: org.hibernate:ejb3-persistence:jar:1.0.1.GA:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/identity/idm-common/1.0.0-SNAPSHOT/idm-common-1.0.0-SNAPSHOT.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/hibernate/ejb3-persistence/1.0.1.GA/ejb3-persistence-1.0.1.GA.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: javax.activation:activation:jar:1.1:test">
+      <library name="M2 Dep: javax.activation:activation:jar:1.1:runtime">
         <CLASSES>
           <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/activation/activation/1.1/activation-1.1.jar!/" />
         </CLASSES>
@@ -271,7 +262,7 @@
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: jgroups:jgroups:jar:2.6.7.GA:test">
+      <library name="M2 Dep: jgroups:jgroups:jar:2.6.7.GA:runtime">
         <CLASSES>
           <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/jgroups/jgroups/2.6.7.GA/jgroups-2.6.7.GA.jar!/" />
         </CLASSES>
@@ -282,7 +273,7 @@
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: com.sun.xml.bind:jaxb-impl:jar:2.1.8:test">
+      <library name="M2 Dep: com.sun.xml.bind:jaxb-impl:jar:2.1.8:runtime">
         <CLASSES>
           <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/com/sun/xml/bind/jaxb-impl/2.1.8/jaxb-impl-2.1.8.jar!/" />
         </CLASSES>
@@ -291,7 +282,7 @@
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.hibernate:hibernate-annotations:jar:3.3.1.GA:test">
+      <library name="M2 Dep: org.hibernate:hibernate-annotations:jar:3.3.1.GA:runtime">
         <CLASSES>
           <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/hibernate/hibernate-annotations/3.3.1.GA/hibernate-annotations-3.3.1.GA.jar!/" />
         </CLASSES>
@@ -300,8 +291,17 @@
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: juel:juel-impl:jar:2.1.0:test">
+      <library name="M2 Dep: net.sf.ehcache:ehcache:jar:1.2.3:runtime">
         <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: juel:juel-impl:jar:2.1.0:runtime">
+        <CLASSES>
           <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/juel/juel-impl/2.1.0/juel-impl-2.1.0.jar!/" />
         </CLASSES>
         <JAVADOC />
@@ -309,7 +309,7 @@
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.livetribe:livetribe-jsr223:jar:2.0.5:test">
+      <library name="M2 Dep: org.livetribe:livetribe-jsr223:jar:2.0.5:runtime">
         <CLASSES>
           <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/livetribe/livetribe-jsr223/2.0.5/livetribe-jsr223-2.0.5.jar!/" />
         </CLASSES>
@@ -318,99 +318,101 @@
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.jboss:jboss-common-core:jar:2.2.10.GA:test">
+      <library name="M2 Dep: dom4j:dom4j:jar:1.6.1:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/jboss-common-core/2.2.10.GA/jboss-common-core-2.2.10.GA.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/jboss-common-core/2.2.10.GA/jboss-common-core-2.2.10.GA-sources.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1-sources.jar!/" />
         </SOURCES>
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.hibernate:hibernate-entitymanager:jar:3.3.2.GA:test">
+      <library name="M2 Dep: cglib:cglib:jar:2.1_3:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/hibernate/hibernate-entitymanager/3.3.2.GA/hibernate-entitymanager-3.3.2.GA.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/cglib/cglib/2.1_3/cglib-2.1_3.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.jboss.logging:jboss-logging-spi:jar:2.0.5.GA:test">
+      <library name="M2 Dep: asm:asm-attrs:jar:1.5.3:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/logging/jboss-logging-spi/2.0.5.GA/jboss-logging-spi-2.0.5.GA.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.jar!/" />
         </CLASSES>
         <JAVADOC />
-        <SOURCES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/logging/jboss-logging-spi/2.0.5.GA/jboss-logging-spi-2.0.5.GA-sources.jar!/" />
-        </SOURCES>
+        <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.jbpm.jbpm4.dependencies.esb:jbossesb-rosetta:jar:4.4.0.GA:compile">
+      <library name="M2 Dep: org.jbpm.jbpm4.dependencies.esb:test-util:jar:4.4.0.GA:test">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jbpm/jbpm4/dependencies/esb/jbossesb-rosetta/4.4.0.GA/jbossesb-rosetta-4.4.0.GA.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jbpm/jbpm4/dependencies/esb/test-util/4.4.0.GA/test-util-4.4.0.GA.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.jboss.client:jbossall-client:jar:4.2.2.GA:compile">
+      <library name="M2 Dep: org.jboss:jboss-common-core:jar:2.2.10.GA:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/client/jbossall-client/4.2.2.GA/jbossall-client-4.2.2.GA.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/jboss-common-core/2.2.10.GA/jboss-common-core-2.2.10.GA.jar!/" />
         </CLASSES>
         <JAVADOC />
-        <SOURCES />
+        <SOURCES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/jboss-common-core/2.2.10.GA/jboss-common-core-2.2.10.GA-sources.jar!/" />
+        </SOURCES>
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: stax:stax-api:jar:1.0.1:compile">
+      <library name="M2 Dep: commons-collections:commons-collections:jar:2.1.1:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/commons-collections/commons-collections/2.1.1/commons-collections-2.1.1.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.codehaus.woodstox:wstx-lgpl:jar:3.2.6:test">
+      <library name="M2 Dep: org.hibernate:hibernate-entitymanager:jar:3.3.2.GA:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/codehaus/woodstox/wstx-lgpl/3.2.6/wstx-lgpl-3.2.6.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/hibernate/hibernate-entitymanager/3.3.2.GA/hibernate-entitymanager-3.3.2.GA.jar!/" />
         </CLASSES>
         <JAVADOC />
-        <SOURCES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/codehaus/woodstox/wstx-lgpl/3.2.6/wstx-lgpl-3.2.6-sources.jar!/" />
-        </SOURCES>
+        <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: stax:stax:jar:1.2.0:compile">
+      <library name="M2 Dep: org.jboss.client:jbossall-client:jar:5.0.0.GA:compile">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/stax/stax/1.2.0/stax-1.2.0.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/client/jbossall-client/5.0.0.GA/jbossall-client-5.0.0.GA.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.jbpm.jbpm4.dependencies.esb:test-util:jar:4.4.0.GA:compile">
+      <library name="M2 Dep: org.jboss.logging:jboss-logging-spi:jar:2.0.5.GA:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jbpm/jbpm4/dependencies/esb/test-util/4.4.0.GA/test-util-4.4.0.GA.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/logging/jboss-logging-spi/2.0.5.GA/jboss-logging-spi-2.0.5.GA.jar!/" />
         </CLASSES>
         <JAVADOC />
-        <SOURCES />
+        <SOURCES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/logging/jboss-logging-spi/2.0.5.GA/jboss-logging-spi-2.0.5.GA-sources.jar!/" />
+        </SOURCES>
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: jboss.jbossts:jbossts-common:jar:4.4.0.GA:compile">
+      <library name="M2 Dep: log4j:log4j:jar:1.2.14:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/jboss/jbossts/jbossts-common/4.4.0.GA/jbossts-common-4.4.0.GA.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar!/" />
         </CLASSES>
         <JAVADOC />
-        <SOURCES />
+        <SOURCES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14-sources.jar!/" />
+        </SOURCES>
       </library>
     </orderEntry>
     <orderEntryProperties />

Modified: jbpm4/trunk/modules/examples/pom.xml
===================================================================
--- jbpm4/trunk/modules/examples/pom.xml	2009-03-24 11:28:17 UTC (rev 4314)
+++ jbpm4/trunk/modules/examples/pom.xml	2009-03-24 14:07:27 UTC (rev 4315)
@@ -11,7 +11,7 @@
 
 <!-- $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>
@@ -40,7 +40,7 @@
     </dependency>
     <dependency>
       <groupId>org.jbpm.jbpm4</groupId>
-      <artifactId>jbpm-jpdl</artifactId>    
+      <artifactId>jbpm-jpdl</artifactId>
       <scope>runtime</scope>
     </dependency>
 
@@ -98,7 +98,7 @@
       </build>
     </profile>
 
-    <!-- -Djboss.bind.address=  
+    <!-- -Djboss.bind.address -->
     <profile>
       <id>use.jboss.directly</id>
       <activation>
@@ -109,7 +109,7 @@
       <dependencies>
         <dependency>
           <groupId>org.jbpm.jbpm4</groupId>
-          <artifactId>jbpm-enterprise</artifactId>    
+          <artifactId>jbpm-enterprise</artifactId>
           <scope>runtime</scope>
         </dependency>
         <dependency>
@@ -118,9 +118,8 @@
           <scope>runtime</scope>
         </dependency>
         <dependency>
-        	<groupId>org.jboss.client</groupId>
-        	<artifactId>jboss-client</artifactId>
-        	<scope>runtime</scope>
+          <groupId>jboss</groupId>
+          <artifactId>jboss-j2ee</artifactId>          
         </dependency>
       </dependencies>
       <build>
@@ -136,8 +135,8 @@
                 <configuration>
                   <tasks>
                     <echo>Overwriting db configuration for ${database}</echo>
-                    <ant antfile="../distro/src/main/resources/config-tool/build.xml" 
-                         target="create.remote.configuration" 
+                    <ant antfile="../distro/src/main/resources/config-tool/build.xml"
+                         target="create.remote.configuration"
                          inheritall="false">
                       <property name="jboss.bind.address" value="${jboss.bind.address}" />
                       <property name="config.files.dir" value="${basedir}/target/test-classes" />
@@ -151,7 +150,7 @@
         </plugins>
       </build>
     </profile>
-    -->
+
   </profiles>
 
 </project>
\ No newline at end of file

Modified: jbpm4/trunk/modules/integration/console/integration-console.iml
===================================================================
--- jbpm4/trunk/modules/integration/console/integration-console.iml	2009-03-24 11:28:17 UTC (rev 4314)
+++ jbpm4/trunk/modules/integration/console/integration-console.iml	2009-03-24 14:07:27 UTC (rev 4315)
@@ -9,10 +9,11 @@
     </content>
     <orderEntry type="inheritedJdk" />
     <orderEntry type="sourceFolder" forTests="false" />
-    <orderEntry type="module" module-name="gwt-parent" />
-    <orderEntry type="module" module-name="toplevel" />
-    <orderEntry type="module" module-name="gwt-server-integration" />
-    <orderEntry type="module-library">
+    <orderEntry type="module" module-name="toplevel" exported="" />
+    <orderEntry type="module" module-name="gwt-server-integration" exported="" />
+    <orderEntry type="module" module-name="pvm" exported="" />
+    <orderEntry type="module" module-name="gwt-rpc" exported="" />
+    <orderEntry type="module-library" exported="">
       <library name="M2 Dep: com.google.code.gson:gson:jar:1.2.2:provided">
         <CLASSES>
           <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/com/google/code/gson/gson/1.2.2/gson-1.2.2.jar!/" />
@@ -21,7 +22,7 @@
         <SOURCES />
       </library>
     </orderEntry>
-    <orderEntry type="module-library">
+    <orderEntry type="module-library" exported="">
       <library name="M2 Dep: hsqldb:hsqldb:jar:1.8.0.7:test">
         <CLASSES>
           <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/hsqldb/hsqldb/1.8.0.7/hsqldb-1.8.0.7.jar!/" />
@@ -30,7 +31,7 @@
         <SOURCES />
       </library>
     </orderEntry>
-    <orderEntry type="module-library">
+    <orderEntry type="module-library" exported="">
       <library name="M2 Dep: jboss:jboss-j2ee:jar:4.2.2.GA:compile">
         <CLASSES>
           <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/jboss/jboss-j2ee/4.2.2.GA/jboss-j2ee-4.2.2.GA.jar!/" />
@@ -39,7 +40,7 @@
         <SOURCES />
       </library>
     </orderEntry>
-    <orderEntry type="module-library">
+    <orderEntry type="module-library" exported="">
       <library name="M2 Dep: javax.xml.bind:jaxb-api:jar:2.1:provided">
         <CLASSES>
           <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar!/" />
@@ -48,7 +49,7 @@
         <SOURCES />
       </library>
     </orderEntry>
-    <orderEntry type="module-library">
+    <orderEntry type="module-library" exported="">
       <library name="M2 Dep: javax.xml.stream:stax-api:jar:1.0-2:provided">
         <CLASSES>
           <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar!/" />
@@ -57,7 +58,7 @@
         <SOURCES />
       </library>
     </orderEntry>
-    <orderEntry type="module-library">
+    <orderEntry type="module-library" exported="">
       <library name="M2 Dep: javax.activation:activation:jar:1.1:provided">
         <CLASSES>
           <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/javax/activation/activation/1.1/activation-1.1.jar!/" />
@@ -68,6 +69,297 @@
         </SOURCES>
       </library>
     </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: org.jboss.identity:idm-spi:jar:1.0.0-SNAPSHOT:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/org/jboss/identity/idm-spi/1.0.0-SNAPSHOT/idm-spi-1.0.0-SNAPSHOT.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: javax.transaction:jta:jar:1.1:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/javax/transaction/jta/1.1/jta-1.1.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/javax/transaction/jta/1.1/jta-1.1-sources.jar!/" />
+        </SOURCES>
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: junit:junit:jar:3.8.1:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: org.hibernate:hibernate-commons-annotations:jar:3.0.0.ga:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/org/hibernate/hibernate-commons-annotations/3.0.0.ga/hibernate-commons-annotations-3.0.0.ga.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: org.hibernate:hibernate:jar:3.2.6.ga:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: commons-logging:commons-logging:jar:1.0.4:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: org.jboss.cache:jbosscache-core:jar:3.0.2.GA:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/org/jboss/cache/jbosscache-core/3.0.2.GA/jbosscache-core-3.0.2.GA.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: antlr:antlr:jar:2.7.6:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/antlr/antlr/2.7.6/antlr-2.7.6.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: juel:juel-engine:jar:2.1.0:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/juel/juel-engine/2.1.0/juel-engine-2.1.0.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: asm:asm:jar:1.5.3:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/asm/asm/1.5.3/asm-1.5.3.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: javassist:javassist:jar:3.4.GA:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/javassist/javassist/3.4.GA/javassist-3.4.GA.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: org.jboss.identity:idm-api:jar:1.0.0-SNAPSHOT:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/org/jboss/identity/idm-api/1.0.0-SNAPSHOT/idm-api-1.0.0-SNAPSHOT.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: javax.persistence:persistence-api:jar:1.0:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: org.jboss.identity:idm:jar:1.0.0-SNAPSHOT:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/org/jboss/identity/idm/1.0.0-SNAPSHOT/idm-1.0.0-SNAPSHOT.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: org.hibernate:ejb3-persistence:jar:1.0.1.GA:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/org/hibernate/ejb3-persistence/1.0.1.GA/ejb3-persistence-1.0.1.GA.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: org.jboss.identity:idm-common:jar:1.0.0-SNAPSHOT:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/org/jboss/identity/idm-common/1.0.0-SNAPSHOT/idm-common-1.0.0-SNAPSHOT.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: juel:juel:jar:2.1.0:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/juel/juel/2.1.0/juel-2.1.0.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: jgroups:jgroups:jar:2.6.7.GA:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/jgroups/jgroups/2.6.7.GA/jgroups-2.6.7.GA.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/jgroups/jgroups/2.6.7.GA/jgroups-2.6.7.GA-sources.jar!/" />
+        </SOURCES>
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: com.sun.xml.bind:jaxb-impl:jar:2.1.8:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/com/sun/xml/bind/jaxb-impl/2.1.8/jaxb-impl-2.1.8.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: net.sf.ehcache:ehcache:jar:1.2.3:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: org.hibernate:hibernate-annotations:jar:3.3.1.GA:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/org/hibernate/hibernate-annotations/3.3.1.GA/hibernate-annotations-3.3.1.GA.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: juel:juel-impl:jar:2.1.0:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/juel/juel-impl/2.1.0/juel-impl-2.1.0.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: org.livetribe:livetribe-jsr223:jar:2.0.5:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/org/livetribe/livetribe-jsr223/2.0.5/livetribe-jsr223-2.0.5.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: dom4j:dom4j:jar:1.6.1:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1-sources.jar!/" />
+        </SOURCES>
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: cglib:cglib:jar:2.1_3:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/cglib/cglib/2.1_3/cglib-2.1_3.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: asm:asm-attrs:jar:1.5.3:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: org.jboss:jboss-common-core:jar:2.2.10.GA:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/org/jboss/jboss-common-core/2.2.10.GA/jboss-common-core-2.2.10.GA.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/org/jboss/jboss-common-core/2.2.10.GA/jboss-common-core-2.2.10.GA-sources.jar!/" />
+        </SOURCES>
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: commons-collections:commons-collections:jar:2.1.1:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/commons-collections/commons-collections/2.1.1/commons-collections-2.1.1.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: org.hibernate:hibernate-entitymanager:jar:3.3.2.GA:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/org/hibernate/hibernate-entitymanager/3.3.2.GA/hibernate-entitymanager-3.3.2.GA.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: org.jboss.logging:jboss-logging-spi:jar:2.0.5.GA:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/org/jboss/logging/jboss-logging-spi/2.0.5.GA/jboss-logging-spi-2.0.5.GA.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/org/jboss/logging/jboss-logging-spi/2.0.5.GA/jboss-logging-spi-2.0.5.GA-sources.jar!/" />
+        </SOURCES>
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: log4j:log4j:jar:1.2.14:compile">
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14-sources.jar!/" />
+        </SOURCES>
+      </library>
+    </orderEntry>
     <orderEntryProperties />
   </component>
 </module>

Modified: jbpm4/trunk/modules/integration/console/pom.xml
===================================================================
--- jbpm4/trunk/modules/integration/console/pom.xml	2009-03-24 11:28:17 UTC (rev 4314)
+++ jbpm4/trunk/modules/integration/console/pom.xml	2009-03-24 14:07:27 UTC (rev 4315)
@@ -26,8 +26,15 @@
       <groupId>org.jbpm.jbpm4</groupId>
       <artifactId>jbpm-api</artifactId>
       <version>${version}</version>
+      <scope>provided</scope>
     </dependency>
     <dependency>
+      <groupId>org.jbpm.jbpm4</groupId>
+      <artifactId>jbpm-pvm</artifactId>
+      <version>${version}</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
       <groupId>org.jboss.bpm</groupId>
       <artifactId>gwt-console-server-integration</artifactId>
       <scope>compile</scope>
@@ -37,7 +44,39 @@
       <artifactId>jaxb-api</artifactId>
       <version>${javax.jaxb.version}</version>
       <scope>provided</scope>
-    </dependency>
+    </dependency>    
   </dependencies>
 
+  <build>
+    <plugins>
+        <plugin>
+        <artifactId>maven-assembly-plugin</artifactId>
+        <executions>
+          <execution>
+            <phase>package</phase>
+            <goals>
+              <goal>single</goal>
+            </goals>
+            <configuration>
+              <finalName>${project.build.finalName}</finalName>
+              <appendAssemblyId>true</appendAssemblyId>
+              <descriptors>
+                <descriptor>scripts/assembly-config.xml</descriptor>
+              </descriptors>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <artifactId>maven-jar-plugin</artifactId>
+        <configuration>
+          <excludes>            
+            <exclude>jbpm-users.properties</exclude>
+            <exclude>jbpm-roles.properties</exclude>
+            <exclude>jboss-service.xml</exclude>
+          </excludes>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
 </project>

Added: jbpm4/trunk/modules/integration/console/scripts/assembly-config.xml
===================================================================
--- jbpm4/trunk/modules/integration/console/scripts/assembly-config.xml	                        (rev 0)
+++ jbpm4/trunk/modules/integration/console/scripts/assembly-config.xml	2009-03-24 14:07:27 UTC (rev 4315)
@@ -0,0 +1,19 @@
+<assembly 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/xsd/assembly-1.1.0-SNAPSHOT.xsd">
+  <id>config</id>
+  <formats>
+    <format>jar</format>
+  </formats>
+  <includeBaseDirectory>false</includeBaseDirectory>
+  <fileSets>
+    <fileSet>
+      <directory>${project.build.outputDirectory}</directory>
+      <outputDirectory>/</outputDirectory>
+      <includes>        
+        <include>jbpm-users.properties</include>
+        <include>jbpm-roles.properties</include>
+        <include>jboss-service.xml</include>
+      </includes>
+    </fileSet>
+  </fileSets>
+</assembly>
\ No newline at end of file

Added: jbpm4/trunk/modules/integration/console/src/main/java/org/jbpm/integration/console/JBPMIntegration.java
===================================================================
--- jbpm4/trunk/modules/integration/console/src/main/java/org/jbpm/integration/console/JBPMIntegration.java	                        (rev 0)
+++ jbpm4/trunk/modules/integration/console/src/main/java/org/jbpm/integration/console/JBPMIntegration.java	2009-03-24 14:07:27 UTC (rev 4315)
@@ -0,0 +1,53 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jbpm.integration.console;
+
+import org.jbpm.ProcessEngine;
+
+import javax.naming.InitialContext;
+
+/**
+ * Base class for jbpm integration
+ * @author Heiko.Braun <heiko.braun at jboss.com>
+ */
+public abstract class JBPMIntegration
+{
+  protected ProcessEngine processEngine;
+
+  public JBPMIntegration()
+  {
+    initializeProcessEngine();
+  }
+
+  protected void initializeProcessEngine()
+  {
+    try
+    {
+      InitialContext ctx = new InitialContext();
+      this.processEngine = (ProcessEngine)ctx.lookup("java:/ProcessEngine");
+    }
+    catch (Exception e)
+    {
+      throw new RuntimeException("Failed to lookup process engine", e);
+    }
+  }
+}

Modified: jbpm4/trunk/modules/integration/console/src/main/java/org/jbpm/integration/console/ManagementFactoryImpl.java
===================================================================
--- jbpm4/trunk/modules/integration/console/src/main/java/org/jbpm/integration/console/ManagementFactoryImpl.java	2009-03-24 11:28:17 UTC (rev 4314)
+++ jbpm4/trunk/modules/integration/console/src/main/java/org/jbpm/integration/console/ManagementFactoryImpl.java	2009-03-24 14:07:27 UTC (rev 4315)
@@ -40,7 +40,8 @@
 
   public TaskManagement createTaskManagement()
   {
-    throw new RuntimeException("Not implemented");
+    return (TaskManagement)
+        InvocationProxy.newInstance(new TaskManagementImpl());
   }
 
   public UserManagement createUserManagement()

Modified: jbpm4/trunk/modules/integration/console/src/main/java/org/jbpm/integration/console/ModelAdaptor.java
===================================================================
--- jbpm4/trunk/modules/integration/console/src/main/java/org/jbpm/integration/console/ModelAdaptor.java	2009-03-24 11:28:17 UTC (rev 4314)
+++ jbpm4/trunk/modules/integration/console/src/main/java/org/jbpm/integration/console/ModelAdaptor.java	2009-03-24 14:07:27 UTC (rev 4315)
@@ -23,11 +23,15 @@
 
 import org.jboss.bpm.console.client.model.ProcessDefinitionRef;
 import org.jboss.bpm.console.client.model.ProcessInstanceRef;
+import org.jboss.bpm.console.client.model.TaskRef;
 import org.jboss.bpm.console.client.model.jbpm3.TokenReference;
 
 import org.jbpm.model.OpenExecution;
 import org.jbpm.model.OpenProcessDefinition;
 import org.jbpm.model.Transition;
+import org.jbpm.task.Task;
+import org.jbpm.pvm.internal.task.TaskImpl;
+import org.jbpm.pvm.internal.model.ExecutionImpl;
 
 import java.util.Date;
 import java.util.List;
@@ -96,4 +100,26 @@
     tok.setAvailableSignals(availableSignals);
     return tok;
   }
+
+  public static TaskRef adoptTask(Task t0)
+  {
+    TaskRef task = new TaskRef();
+    task.setId( t0.getDbid() );
+    task.setName( t0.getName());
+    task.setActor( t0.getAssignee() );
+
+
+    // TODO: verify usage
+    TaskImpl cast = ((TaskImpl) t0);
+    task.setSignalling( cast.isSignalling());
+    task.setBlocking( cast.isBlocking());
+
+    ExecutionImpl execution = cast.getProcessInstance();
+    task.setProcessInstanceId( cast.getProcessInstance().getId() );
+
+    // TODO: weird API
+    task.setProcessId( execution.getProcessInstance().getProcessInstance().getId() );
+    
+    return task;
+  }
 }

Modified: jbpm4/trunk/modules/integration/console/src/main/java/org/jbpm/integration/console/ProcessManagementImpl.java
===================================================================
--- jbpm4/trunk/modules/integration/console/src/main/java/org/jbpm/integration/console/ProcessManagementImpl.java	2009-03-24 11:28:17 UTC (rev 4314)
+++ jbpm4/trunk/modules/integration/console/src/main/java/org/jbpm/integration/console/ProcessManagementImpl.java	2009-03-24 14:07:27 UTC (rev 4315)
@@ -21,38 +21,25 @@
  */
 package org.jbpm.integration.console;
 
-import org.jboss.bpm.console.server.integration.ProcessManagement;
 import org.jboss.bpm.console.client.model.ProcessDefinitionRef;
 import org.jboss.bpm.console.client.model.ProcessInstanceRef;
-import org.jbpm.model.OpenProcessDefinition;
-import org.jbpm.model.OpenExecution;
+import org.jboss.bpm.console.server.integration.ProcessManagement;
 import org.jbpm.*;
+import org.jbpm.model.OpenExecution;
+import org.jbpm.model.OpenProcessDefinition;
 
-import javax.naming.InitialContext;
-import java.util.*;
 import java.io.InputStream;
+import java.util.ArrayList;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Set;
 
 /**
  * @author Heiko.Braun <heiko.braun at jboss.com>
  */
-class ProcessManagementImpl implements ProcessManagement
+class ProcessManagementImpl extends JBPMIntegration implements ProcessManagement
 {
-  private ProcessEngine processEngine;
-
-  public ProcessManagementImpl()
-  {    
-      try
-      {
-        InitialContext ctx = new InitialContext();
-        this.processEngine = (ProcessEngine)ctx.lookup("java:/ProcessEngine");
-      }
-      catch (Exception e)
-      {
-        throw new RuntimeException("Failed to lookup process engine");
-      }
-
-  }
-
+  
   public List<ProcessDefinitionRef> getProcessDefinitions()
   {
     List<ProcessDefinitionRef> results = new ArrayList<ProcessDefinitionRef>();
@@ -111,7 +98,8 @@
     {
       if(exec.isEnded())
       {
-        System.out.println("*** JBPM-2055: Execution ("+exec.getId()+") is already ended. Should not show up in query");
+        System.out.println("*** JBPM-2055: Execution ("+exec.getId()+") is already ended. " +
+            "Should not show up in query");
         continue;
       }
 

Added: jbpm4/trunk/modules/integration/console/src/main/java/org/jbpm/integration/console/TaskManagementImpl.java
===================================================================
--- jbpm4/trunk/modules/integration/console/src/main/java/org/jbpm/integration/console/TaskManagementImpl.java	                        (rev 0)
+++ jbpm4/trunk/modules/integration/console/src/main/java/org/jbpm/integration/console/TaskManagementImpl.java	2009-03-24 14:07:27 UTC (rev 4315)
@@ -0,0 +1,74 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jbpm.integration.console;
+
+import org.jboss.bpm.console.server.integration.TaskManagement;
+import org.jboss.bpm.console.client.model.TaskRef;
+import org.jbpm.TaskService;
+import org.jbpm.pvm.internal.env.Authentication;
+import org.jbpm.task.Task;
+
+import java.util.List;
+import java.util.ArrayList;
+
+/**
+ * @author Heiko.Braun <heiko.braun at jboss.com>
+ */
+public class TaskManagementImpl extends JBPMIntegration implements TaskManagement
+{
+  public List<TaskRef> getTasksByActor(String actorName)
+  {
+    TaskService taskService = this.processEngine.get(TaskService.class);
+
+    // TODO: Paging
+    List<Task> tasks = taskService.getPersonalTaskList(actorName, 0 , 100);
+    List<TaskRef> actualTasks = new ArrayList<TaskRef>();
+    for(Task t0 : tasks)
+    {
+      actualTasks.add( ModelAdaptor.adoptTask(t0) );
+    }
+    return actualTasks;
+  }
+
+  public TaskRef getTaskById(long taskId)
+  {
+    TaskService taskService = this.processEngine.get(TaskService.class);
+    Task t0 = taskService.getTask(taskId);
+    return ModelAdaptor.adoptTask(t0);
+  }
+
+  public void reassignTask(long taskId, String actorId)
+  {
+    TaskService taskService = this.processEngine.get(TaskService.class);
+    Authentication.setUserId(actorId);
+
+    // TODO: Weird API
+    taskService.takeTask(taskId);
+  }
+
+  public void closeTask(long taskId, String signalName)
+  {
+    TaskService taskService = this.processEngine.get(TaskService.class);
+    // TODO. Signaling?
+    taskService.completeTask(taskId);
+  }
+}

Added: jbpm4/trunk/modules/integration/console/src/main/resources/jboss-service.xml
===================================================================
--- jbpm4/trunk/modules/integration/console/src/main/resources/jboss-service.xml	                        (rev 0)
+++ jbpm4/trunk/modules/integration/console/src/main/resources/jboss-service.xml	2009-03-24 14:07:27 UTC (rev 4315)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+  <!-- The custom JAAS login configuration that installs
+      a Configuration capable of dynamically updating the
+      config settings
+  -->
+  <mbean code="org.jboss.security.auth.login.DynamicLoginConfig" name="org.jbpm:service=LoginConfig">
+    <attribute name="PolicyConfig" serialDataType="jbxb">
+      <jaas:policy xsi:schemaLocation="urn:jboss:security-config:4.1 resource:security-config_4_1.xsd" xmlns:jaas="urn:jboss:security-config:4.1"
+                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+        <jaas:application-policy name="jbpm-console">
+          <jaas:authentication>
+            <!-- Authenticate against the Identiy database -->
+            <jaas:login-module code="org.jboss.security.auth.spi.DatabaseServerLoginModule" flag="required">
+              <jaas:module-option name="dsJndiName">java:/JbpmDS</jaas:module-option>
+              <jaas:module-option name="principalsQuery"> SELECT PASSWORD_ FROM JBPM_ID_USER WHERE ID_=? </jaas:module-option>
+              <jaas:module-option name="rolesQuery">
+                SELECT g.NAME_ ,'Roles' FROM JBPM_ID_USER u, JBPM_ID_MEMBERSHIP m, JBPM_ID_GROUP g
+                WHERE g.TYPE_='security-role' AND m.GROUP_ = g.DBID_ AND m.USER_ = u.DBID_ AND u.ID_=? </jaas:module-option>
+            </jaas:login-module>
+          </jaas:authentication>
+        </jaas:application-policy>
+      </jaas:policy>
+    </attribute>
+    <depends optional-attribute-name="LoginConfigService"> jboss.security:service=XMLLoginConfig</depends>
+    <depends optional-attribute-name="SecurityManagerService"> jboss.security:service=JaasSecurityManager</depends>
+  </mbean>
+</server>

Modified: jbpm4/trunk/modules/integration/jboss5/integration-jboss5.iml
===================================================================
--- jbpm4/trunk/modules/integration/jboss5/integration-jboss5.iml	2009-03-24 11:28:17 UTC (rev 4314)
+++ jbpm4/trunk/modules/integration/jboss5/integration-jboss5.iml	2009-03-24 14:07:27 UTC (rev 4315)
@@ -9,9 +9,10 @@
     </content>
     <orderEntry type="inheritedJdk" />
     <orderEntry type="sourceFolder" forTests="false" />
-    <orderEntry type="module" module-name="toplevel" />
-    <orderEntry type="module" module-name="jpdl" />
-    <orderEntry type="module" module-name="pvm" />
+    <orderEntry type="module" module-name="toplevel" exported="" />
+    <orderEntry type="module" module-name="pvm" exported="" />
+    <orderEntry type="module" module-name="jpdl" exported="" />
+    <orderEntry type="module" module-name="integration-spi" exported="" />
     <orderEntry type="module-library" exported="">
       <library name="M2 Dep: org.jboss.identity:idm-spi:jar:1.0.0-SNAPSHOT:compile">
         <CLASSES>
@@ -1091,13 +1092,15 @@
         <SOURCES />
       </library>
     </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: javax.transaction:jta:jar:1.0.1B:compile">
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: javax.transaction:jta:jar:1.1:compile">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/javax/transaction/jta/1.1/jta-1.1.jar!/" />
         </CLASSES>
         <JAVADOC />
-        <SOURCES />
+        <SOURCES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/javax/transaction/jta/1.1/jta-1.1-sources.jar!/" />
+        </SOURCES>
       </library>
     </orderEntry>
     <orderEntryProperties />

Modified: jbpm4/trunk/modules/integration/jboss5/src/main/resources/META-INF/jbpm-service-jboss-beans.xml
===================================================================
--- jbpm4/trunk/modules/integration/jboss5/src/main/resources/META-INF/jbpm-service-jboss-beans.xml	2009-03-24 11:28:17 UTC (rev 4314)
+++ jbpm4/trunk/modules/integration/jboss5/src/main/resources/META-INF/jbpm-service-jboss-beans.xml	2009-03-24 14:07:27 UTC (rev 4315)
@@ -18,5 +18,4 @@
     <property name="mbeanServer"><inject bean="JMXKernel" property="mbeanServer"/></property>
   </bean>
 
-
 </deployment>
\ No newline at end of file

Modified: jbpm4/trunk/modules/integration/spi/integration-spi.iml
===================================================================
--- jbpm4/trunk/modules/integration/spi/integration-spi.iml	2009-03-24 11:28:17 UTC (rev 4314)
+++ jbpm4/trunk/modules/integration/spi/integration-spi.iml	2009-03-24 14:07:27 UTC (rev 4315)
@@ -9,9 +9,9 @@
     </content>
     <orderEntry type="inheritedJdk" />
     <orderEntry type="sourceFolder" forTests="false" />
-    <orderEntry type="module" module-name="toplevel" />
-    <orderEntry type="module" module-name="jpdl" />
-    <orderEntry type="module" module-name="pvm" />
+    <orderEntry type="module" module-name="toplevel" exported="" />
+    <orderEntry type="module" module-name="pvm" exported="" />
+    <orderEntry type="module" module-name="jpdl" exported="" />
     <orderEntry type="module-library" exported="">
       <library name="M2 Dep: hsqldb:hsqldb:jar:1.8.0.7:test">
         <CLASSES>
@@ -1089,13 +1089,15 @@
         <SOURCES />
       </library>
     </orderEntry>
-    <orderEntry type="module-library">
-      <library name="M2 Dep: javax.transaction:jta:jar:1.0.1B:compile">
+    <orderEntry type="module-library" exported="">
+      <library name="M2 Dep: javax.transaction:jta:jar:1.1:compile">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/javax/transaction/jta/1.1/jta-1.1.jar!/" />
         </CLASSES>
         <JAVADOC />
-        <SOURCES />
+        <SOURCES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../../.m2/repository/javax/transaction/jta/1.1/jta-1.1-sources.jar!/" />
+        </SOURCES>
       </library>
     </orderEntry>
     <orderEntryProperties />

Modified: jbpm4/trunk/modules/integration/spi/pom.xml
===================================================================
--- jbpm4/trunk/modules/integration/spi/pom.xml	2009-03-24 11:28:17 UTC (rev 4314)
+++ jbpm4/trunk/modules/integration/spi/pom.xml	2009-03-24 14:07:27 UTC (rev 4315)
@@ -57,10 +57,7 @@
         <artifactId>maven-jar-plugin</artifactId>
         <configuration>
           <excludes>
-            <exclude>jbpm.cfg.xml</exclude>
-             <exclude>jbpm-users.properties</exclude>
-            <exclude>jbpm-roles.properties</exclude>
-            <exclude>jboss-service.xml</exclude>
+            <exclude>jbpm.cfg.xml</exclude>          
           </excludes>
         </configuration>
       </plugin>

Modified: jbpm4/trunk/modules/integration/spi/scripts/assembly-config.xml
===================================================================
--- jbpm4/trunk/modules/integration/spi/scripts/assembly-config.xml	2009-03-24 11:28:17 UTC (rev 4314)
+++ jbpm4/trunk/modules/integration/spi/scripts/assembly-config.xml	2009-03-24 14:07:27 UTC (rev 4315)
@@ -10,10 +10,7 @@
       <directory>${project.build.outputDirectory}</directory>
       <outputDirectory>/</outputDirectory>
       <includes>
-        <include>jbpm.cfg.xml</include>
-        <include>jbpm-users.properties</include>
-        <include>jbpm-roles.properties</include>
-        <include>jboss-service.xml</include>
+        <include>jbpm.cfg.xml</include>       
       </includes>
     </fileSet>
   </fileSets>

Deleted: jbpm4/trunk/modules/integration/spi/src/main/resources/jboss-service.xml
===================================================================
--- jbpm4/trunk/modules/integration/spi/src/main/resources/jboss-service.xml	2009-03-24 11:28:17 UTC (rev 4314)
+++ jbpm4/trunk/modules/integration/spi/src/main/resources/jboss-service.xml	2009-03-24 14:07:27 UTC (rev 4315)
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<server>
-  <!-- The custom JAAS login configuration that installs
-      a Configuration capable of dynamically updating the
-      config settings
-  -->
-  <mbean code="org.jboss.security.auth.login.DynamicLoginConfig" name="org.jbpm:service=LoginConfig">
-    <attribute name="PolicyConfig" serialDataType="jbxb">
-      <jaas:policy xsi:schemaLocation="urn:jboss:security-config:4.1 resource:security-config_4_1.xsd" xmlns:jaas="urn:jboss:security-config:4.1"
-                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-        <jaas:application-policy name="jbpm-console">
-          <jaas:authentication>
-
-            <!-- Simple authentication -->
-            <jaas:login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
-                               flag="required">
-              <jaas:module-option name="usersProperties">jbpm-users.properties</jaas:module-option>
-              <jaas:module-option name="rolesProperties">jbpm-roles.properties</jaas:module-option>
-            </jaas:login-module>
-
-
-            <!-- Authenticate against the IDM database -->
-            <!--jaas:login-module code="org.jboss.security.auth.spi.DatabaseServerLoginModule" flag="required">
-              <jaas:module-option name="dsJndiName">java:/JbpmDS</jaas:module-option>
-              <jaas:module-option name="principalsQuery"> SELECT PASSWORD_ FROM JBPM_ID_USER WHERE NAME_=? </jaas:module-option>
-              <jaas:module-option name="rolesQuery">
-                SELECT g.NAME_ ,'Roles' FROM JBPM_ID_USER u, JBPM_ID_MEMBERSHIP m, JBPM_ID_GROUP g
-                WHERE g.TYPE_='security-role' AND m.GROUP_ = g.ID_ AND m.USER_ = u.ID_ AND u.NAME_=? </jaas:module-option>
-            </jaas:login-module-->
-          </jaas:authentication>
-        </jaas:application-policy>
-      </jaas:policy>
-    </attribute>
-    <depends optional-attribute-name="LoginConfigService"> jboss.security:service=XMLLoginConfig</depends>
-    <depends optional-attribute-name="SecurityManagerService"> jboss.security:service=JaasSecurityManager</depends>
-  </mbean>
-</server>

Deleted: jbpm4/trunk/modules/integration/spi/src/main/resources/jbpm-roles.properties
===================================================================
--- jbpm4/trunk/modules/integration/spi/src/main/resources/jbpm-roles.properties	2009-03-24 11:28:17 UTC (rev 4314)
+++ jbpm4/trunk/modules/integration/spi/src/main/resources/jbpm-roles.properties	2009-03-24 14:07:27 UTC (rev 4315)
@@ -1 +0,0 @@
-admin=admin
\ No newline at end of file

Deleted: jbpm4/trunk/modules/integration/spi/src/main/resources/jbpm-users.properties
===================================================================
--- jbpm4/trunk/modules/integration/spi/src/main/resources/jbpm-users.properties	2009-03-24 11:28:17 UTC (rev 4314)
+++ jbpm4/trunk/modules/integration/spi/src/main/resources/jbpm-users.properties	2009-03-24 14:07:27 UTC (rev 4315)
@@ -1 +0,0 @@
-admin=admin
\ No newline at end of file

Modified: jbpm4/trunk/modules/test-db/jbpm4-test-db.iml
===================================================================
--- jbpm4/trunk/modules/test-db/jbpm4-test-db.iml	2009-03-24 11:28:17 UTC (rev 4314)
+++ jbpm4/trunk/modules/test-db/jbpm4-test-db.iml	2009-03-24 14:07:27 UTC (rev 4315)
@@ -4,8 +4,8 @@
   <component name="NewModuleRootManager" inherit-compiler-output="true">
     <exclude-output />
     <content url="file://$MODULE_DIR$">
-      <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
-      <sourceFolder url="file://$MODULE_DIR$/src/main/resources" isTestSource="false" />
+      <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
+      <sourceFolder url="file://$MODULE_DIR$/src/test/resources" isTestSource="true" />
     </content>
     <orderEntry type="inheritedJdk" />
     <orderEntry type="sourceFolder" forTests="false" />
@@ -15,317 +15,317 @@
     <orderEntry type="module" module-name="jbpm4-task" exported="" />
     <orderEntry type="module" module-name="jbpm4-toplevel" exported="" />
     <orderEntry type="module" module-name="toplevel" exported="" />
+    <orderEntry type="module" module-name="pvm" exported="" />
     <orderEntry type="module" module-name="jpdl" exported="" />
-    <orderEntry type="module" module-name="pvm" exported="" />
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: javax.transaction:jta:jar:1.0.1B:compile">
+      <library name="M2 Dep: jboss:jboss-j2ee:jar:4.2.2.GA:compile">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/jboss/jboss-j2ee/4.2.2.GA/jboss-j2ee-4.2.2.GA.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: junit:junit:jar:3.8.1:compile">
+      <library name="M2 Dep: hsqldb:hsqldb:jar:1.8.0.7:test">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/hsqldb/hsqldb/1.8.0.7/hsqldb-1.8.0.7.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.hibernate:hibernate:jar:3.2.6.ga:compile">
+      <library name="M2 Dep: org.jboss.identity:idm-spi:jar:1.0.0-SNAPSHOT:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/identity/idm-spi/1.0.0-SNAPSHOT/idm-spi-1.0.0-SNAPSHOT.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: commons-logging:commons-logging:jar:1.0.4:compile">
+      <library name="M2 Dep: javax.xml.bind:jaxb-api:jar:2.1:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: antlr:antlr:jar:2.7.6:compile">
+      <library name="M2 Dep: javax.transaction:jta:jar:1.1:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/antlr/antlr/2.7.6/antlr-2.7.6.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/transaction/jta/1.1/jta-1.1.jar!/" />
         </CLASSES>
         <JAVADOC />
-        <SOURCES />
+        <SOURCES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/transaction/jta/1.1/jta-1.1-sources.jar!/" />
+        </SOURCES>
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: asm:asm:jar:1.5.3:compile">
+      <library name="M2 Dep: junit:junit:jar:3.8.1:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/asm/asm/1.5.3/asm-1.5.3.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: jboss:jboss-j2ee:jar:4.2.2.GA:compile">
+      <library name="M2 Dep: org.hibernate:hibernate-commons-annotations:jar:3.0.0.ga:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/jboss/jboss-j2ee/4.2.2.GA/jboss-j2ee-4.2.2.GA.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/hibernate/hibernate-commons-annotations/3.0.0.ga/hibernate-commons-annotations-3.0.0.ga.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: hsqldb:hsqldb:jar:1.8.0.7:test">
+      <library name="M2 Dep: org.hibernate:hibernate:jar:3.2.6.ga:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/hsqldb/hsqldb/1.8.0.7/hsqldb-1.8.0.7.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: net.sf.ehcache:ehcache:jar:1.2.3:compile">
+      <library name="M2 Dep: commons-logging:commons-logging:jar:1.0.4:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: dom4j:dom4j:jar:1.6.1:compile">
+      <library name="M2 Dep: org.jboss.cache:jbosscache-core:jar:3.0.2.GA:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/cache/jbosscache-core/3.0.2.GA/jbosscache-core-3.0.2.GA.jar!/" />
         </CLASSES>
         <JAVADOC />
-        <SOURCES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1-sources.jar!/" />
-        </SOURCES>
+        <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: cglib:cglib:jar:2.1_3:compile">
+      <library name="M2 Dep: javax.xml.stream:stax-api:jar:1.0-2:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/cglib/cglib/2.1_3/cglib-2.1_3.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: asm:asm-attrs:jar:1.5.3:compile">
+      <library name="M2 Dep: antlr:antlr:jar:2.7.6:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/antlr/antlr/2.7.6/antlr-2.7.6.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: commons-collections:commons-collections:jar:2.1.1:compile">
+      <library name="M2 Dep: juel:juel-engine:jar:2.1.0:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/commons-collections/commons-collections/2.1.1/commons-collections-2.1.1.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/juel/juel-engine/2.1.0/juel-engine-2.1.0.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: log4j:log4j:jar:1.2.14:compile">
+      <library name="M2 Dep: asm:asm:jar:1.5.3:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/asm/asm/1.5.3/asm-1.5.3.jar!/" />
         </CLASSES>
         <JAVADOC />
-        <SOURCES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14-sources.jar!/" />
-        </SOURCES>
+        <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.livetribe:livetribe-jsr223:jar:2.0.5:test">
+      <library name="M2 Dep: javassist:javassist:jar:3.4.GA:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/livetribe/livetribe-jsr223/2.0.5/livetribe-jsr223-2.0.5.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javassist/javassist/3.4.GA/javassist-3.4.GA.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: juel:juel-engine:jar:2.1.0:test">
+      <library name="M2 Dep: org.jboss.identity:idm-api:jar:1.0.0-SNAPSHOT:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/juel/juel-engine/2.1.0/juel-engine-2.1.0.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/identity/idm-api/1.0.0-SNAPSHOT/idm-api-1.0.0-SNAPSHOT.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: juel:juel:jar:2.1.0:test">
+      <library name="M2 Dep: javax.persistence:persistence-api:jar:1.0:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/juel/juel/2.1.0/juel-2.1.0.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: juel:juel-impl:jar:2.1.0:test">
+      <library name="M2 Dep: org.jboss.identity:idm:jar:1.0.0-SNAPSHOT:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/juel/juel-impl/2.1.0/juel-impl-2.1.0.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/identity/idm/1.0.0-SNAPSHOT/idm-1.0.0-SNAPSHOT.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.jboss.identity:idm-spi:jar:1.0.0-SNAPSHOT:test">
+      <library name="M2 Dep: org.jboss.identity:idm-common:jar:1.0.0-SNAPSHOT:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/identity/idm-spi/1.0.0-SNAPSHOT/idm-spi-1.0.0-SNAPSHOT.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/identity/idm-common/1.0.0-SNAPSHOT/idm-common-1.0.0-SNAPSHOT.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: javax.xml.bind:jaxb-api:jar:2.1:test">
+      <library name="M2 Dep: juel:juel:jar:2.1.0:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/juel/juel/2.1.0/juel-2.1.0.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.hibernate:hibernate-commons-annotations:jar:3.0.0.ga:test">
+      <library name="M2 Dep: org.hibernate:ejb3-persistence:jar:1.0.1.GA:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/hibernate/hibernate-commons-annotations/3.0.0.ga/hibernate-commons-annotations-3.0.0.ga.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/hibernate/ejb3-persistence/1.0.1.GA/ejb3-persistence-1.0.1.GA.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.jboss.cache:jbosscache-core:jar:3.0.2.GA:test">
+      <library name="M2 Dep: javax.activation:activation:jar:1.1:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/cache/jbosscache-core/3.0.2.GA/jbosscache-core-3.0.2.GA.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/activation/activation/1.1/activation-1.1.jar!/" />
         </CLASSES>
         <JAVADOC />
-        <SOURCES />
+        <SOURCES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/activation/activation/1.1/activation-1.1-sources.jar!/" />
+        </SOURCES>
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: javax.xml.stream:stax-api:jar:1.0-2:test">
+      <library name="M2 Dep: jgroups:jgroups:jar:2.6.7.GA:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/jgroups/jgroups/2.6.7.GA/jgroups-2.6.7.GA.jar!/" />
         </CLASSES>
         <JAVADOC />
-        <SOURCES />
+        <SOURCES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/jgroups/jgroups/2.6.7.GA/jgroups-2.6.7.GA-sources.jar!/" />
+        </SOURCES>
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.jboss.identity:idm-api:jar:1.0.0-SNAPSHOT:test">
+      <library name="M2 Dep: com.sun.xml.bind:jaxb-impl:jar:2.1.8:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/identity/idm-api/1.0.0-SNAPSHOT/idm-api-1.0.0-SNAPSHOT.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/com/sun/xml/bind/jaxb-impl/2.1.8/jaxb-impl-2.1.8.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: javax.persistence:persistence-api:jar:1.0:test">
+      <library name="M2 Dep: org.hibernate:hibernate-annotations:jar:3.3.1.GA:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/hibernate/hibernate-annotations/3.3.1.GA/hibernate-annotations-3.3.1.GA.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.jboss.identity:idm:jar:1.0.0-SNAPSHOT:test">
+      <library name="M2 Dep: net.sf.ehcache:ehcache:jar:1.2.3:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/identity/idm/1.0.0-SNAPSHOT/idm-1.0.0-SNAPSHOT.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.jboss.identity:idm-common:jar:1.0.0-SNAPSHOT:test">
+      <library name="M2 Dep: juel:juel-impl:jar:2.1.0:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/identity/idm-common/1.0.0-SNAPSHOT/idm-common-1.0.0-SNAPSHOT.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/juel/juel-impl/2.1.0/juel-impl-2.1.0.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.hibernate:ejb3-persistence:jar:1.0.1.GA:test">
+      <library name="M2 Dep: org.livetribe:livetribe-jsr223:jar:2.0.5:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/hibernate/ejb3-persistence/1.0.1.GA/ejb3-persistence-1.0.1.GA.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/livetribe/livetribe-jsr223/2.0.5/livetribe-jsr223-2.0.5.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: jgroups:jgroups:jar:2.6.7.GA:test">
+      <library name="M2 Dep: dom4j:dom4j:jar:1.6.1:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/jgroups/jgroups/2.6.7.GA/jgroups-2.6.7.GA.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/jgroups/jgroups/2.6.7.GA/jgroups-2.6.7.GA-sources.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1-sources.jar!/" />
         </SOURCES>
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: javax.activation:activation:jar:1.1:test">
+      <library name="M2 Dep: cglib:cglib:jar:2.1_3:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/activation/activation/1.1/activation-1.1.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/cglib/cglib/2.1_3/cglib-2.1_3.jar!/" />
         </CLASSES>
         <JAVADOC />
-        <SOURCES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javax/activation/activation/1.1/activation-1.1-sources.jar!/" />
-        </SOURCES>
+        <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: com.sun.xml.bind:jaxb-impl:jar:2.1.8:test">
+      <library name="M2 Dep: asm:asm-attrs:jar:1.5.3:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/com/sun/xml/bind/jaxb-impl/2.1.8/jaxb-impl-2.1.8.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.jar!/" />
         </CLASSES>
         <JAVADOC />
         <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.hibernate:hibernate-annotations:jar:3.3.1.GA:test">
+      <library name="M2 Dep: org.jboss:jboss-common-core:jar:2.2.10.GA:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/hibernate/hibernate-annotations/3.3.1.GA/hibernate-annotations-3.3.1.GA.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/jboss-common-core/2.2.10.GA/jboss-common-core-2.2.10.GA.jar!/" />
         </CLASSES>
         <JAVADOC />
-        <SOURCES />
+        <SOURCES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/jboss-common-core/2.2.10.GA/jboss-common-core-2.2.10.GA-sources.jar!/" />
+        </SOURCES>
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.jboss:jboss-common-core:jar:2.2.10.GA:test">
+      <library name="M2 Dep: commons-collections:commons-collections:jar:2.1.1:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/jboss-common-core/2.2.10.GA/jboss-common-core-2.2.10.GA.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/commons-collections/commons-collections/2.1.1/commons-collections-2.1.1.jar!/" />
         </CLASSES>
         <JAVADOC />
-        <SOURCES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/jboss-common-core/2.2.10.GA/jboss-common-core-2.2.10.GA-sources.jar!/" />
-        </SOURCES>
+        <SOURCES />
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.hibernate:hibernate-entitymanager:jar:3.3.2.GA:test">
+      <library name="M2 Dep: org.hibernate:hibernate-entitymanager:jar:3.3.2.GA:runtime">
         <CLASSES>
           <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/hibernate/hibernate-entitymanager/3.3.2.GA/hibernate-entitymanager-3.3.2.GA.jar!/" />
         </CLASSES>
@@ -334,7 +334,7 @@
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: org.jboss.logging:jboss-logging-spi:jar:2.0.5.GA:test">
+      <library name="M2 Dep: org.jboss.logging:jboss-logging-spi:jar:2.0.5.GA:runtime">
         <CLASSES>
           <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/org/jboss/logging/jboss-logging-spi/2.0.5.GA/jboss-logging-spi-2.0.5.GA.jar!/" />
         </CLASSES>
@@ -345,12 +345,14 @@
       </library>
     </orderEntry>
     <orderEntry type="module-library" exported="">
-      <library name="M2 Dep: javassist:javassist:jar:3.4.GA:test">
+      <library name="M2 Dep: log4j:log4j:jar:1.2.14:runtime">
         <CLASSES>
-          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/javassist/javassist/3.4.GA/javassist-3.4.GA.jar!/" />
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar!/" />
         </CLASSES>
         <JAVADOC />
-        <SOURCES />
+        <SOURCES>
+          <root url="jar://$MODULE_DIR$/../../../../../../../.m2/repository/log4j/log4j/1.2.14/log4j-1.2.14-sources.jar!/" />
+        </SOURCES>
       </library>
     </orderEntry>
     <orderEntryProperties />

Modified: jbpm4/trunk/pom.xml
===================================================================
--- jbpm4/trunk/pom.xml	2009-03-24 11:28:17 UTC (rev 4314)
+++ jbpm4/trunk/pom.xml	2009-03-24 14:07:27 UTC (rev 4315)
@@ -36,6 +36,7 @@
     <module>modules/pvm</module>
     <module>modules/jpdl</module>
     <module>modules/db</module>
+    <module>modules/integration</module>
     <module>modules/examples</module>
     <module>modules/test-db</module>
     <module>modules/test-pojo</module>
@@ -54,7 +55,7 @@
     <jboss.identity.version>1.0.0-SNAPSHOT</jboss.identity.version>
     <jboss.j2ee.version>4.2.2.GA</jboss.j2ee.version>
     <jbossesb.version>4.4.0.GA</jbossesb.version>
-    <jboss.client.version>4.2.2.GA</jboss.client.version>
+    <jboss.client.version>5.0.0.GA</jboss.client.version>
     <jsr233.version>2.0.5</jsr233.version>
     <juel.version>2.1.0</juel.version>
     <junit.version>3.8.1</junit.version>
@@ -236,11 +237,6 @@
         <version>${jboss.client.version}</version>
       </dependency>
       <dependency>
-        <groupId>org.jboss.client</groupId>
-        <artifactId>jboss-client</artifactId>
-        <version>${jboss.client.version}</version>
-      </dependency>
-      <dependency>
         <groupId>juel</groupId>
         <artifactId>juel</artifactId>
         <version>${juel.version}</version>
@@ -415,8 +411,7 @@
     <profile>
       <id>distro</id>
       <modules>
-        <module>modules/enterprise</module>
-        <module>modules/integration</module>
+        <module>modules/enterprise</module>        
         <module>modules/devguide</module>
         <module>modules/userguide</module>
         <module>modules/distro</module>




More information about the jbpm-commits mailing list