[jbpm-commits] JBoss JBPM SVN: r2063 - in jbpm3/trunk/modules: jpdl/core/src/main/resources and 1 other directory.
do-not-reply at jboss.org
do-not-reply at jboss.org
Tue Sep 2 02:32:15 EDT 2008
Author: thomas.diesler at jboss.com
Date: 2008-09-02 02:32:15 -0400 (Tue, 02 Sep 2008)
New Revision: 2063
Modified:
jbpm3/trunk/modules/enterprise/pom.xml
jbpm3/trunk/modules/jpdl/core/src/main/resources/hibernate.properties.hsqldb.xml
Log:
Use jboss mojo for test deployment
Modified: jbpm3/trunk/modules/enterprise/pom.xml
===================================================================
--- jbpm3/trunk/modules/enterprise/pom.xml 2008-09-01 17:36:56 UTC (rev 2062)
+++ jbpm3/trunk/modules/enterprise/pom.xml 2008-09-02 06:32:15 UTC (rev 2063)
@@ -86,7 +86,6 @@
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
- <id>build-jars</id>
<phase>test-compile</phase>
<goals>
<goal>run</goal>
@@ -123,7 +122,6 @@
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
- <id>copy</id>
<phase>generate-test-resources</phase>
<goals>
<goal>copy-dependencies</goal>
@@ -150,6 +148,32 @@
</configuration>
</plugin>
<plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>jboss-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>deploy-tests</id>
+ <phase>process-test-classes</phase>
+ <goals>
+ <goal>deploy</goal>
+ </goals>
+ <configuration>
+ <fileName>${project.build.directory}/test-libs/enterprise-test.war</fileName>
+ </configuration>
+ </execution>
+ <execution>
+ <id>undeploy-tests</id>
+ <phase>post-integration-test</phase>
+ <goals>
+ <goal>undeploy</goal>
+ </goals>
+ <configuration>
+ <fileName>${project.build.directory}/test-libs/enterprise-test.war</fileName>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludes>
Modified: jbpm3/trunk/modules/jpdl/core/src/main/resources/hibernate.properties.hsqldb.xml
===================================================================
--- jbpm3/trunk/modules/jpdl/core/src/main/resources/hibernate.properties.hsqldb.xml 2008-09-01 17:36:56 UTC (rev 2062)
+++ jbpm3/trunk/modules/jpdl/core/src/main/resources/hibernate.properties.hsqldb.xml 2008-09-02 06:32:15 UTC (rev 2063)
@@ -16,15 +16,15 @@
<property name="hibernate.connection.datasource">java:comp/env/jdbc/JbpmDataSource</property>
==== DataSource properties (end) -->
- <!-- JTA transaction properties
+ <!-- JTA transaction properties (begin) ===
<property name="hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</property>
<property name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.JBossTransactionManagerLookup</property>
- -->
+ ==== JTA transaction properties (end) -->
- <!-- CMT transaction properties
+ <!-- CMT transaction properties (begin) ===
<property name="hibernate.transaction.factory_class">org.hibernate.transaction.CMTTransactionFactory</property>
<property name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.JBossTransactionManagerLookup</property>
- -->
+ ==== CMT transaction properties (end) -->
<!-- logging properties
<property name="hibernate.show_sql">true</property>
More information about the jbpm-commits
mailing list