[jbpm-commits] JBoss JBPM SVN: r2318 - jbpm3/trunk/modules/enterprise/jar.

do-not-reply at jboss.org do-not-reply at jboss.org
Tue Sep 23 14:15:44 EDT 2008


Author: thomas.diesler at jboss.com
Date: 2008-09-23 14:15:44 -0400 (Tue, 23 Sep 2008)
New Revision: 2318

Modified:
   jbpm3/trunk/modules/enterprise/jar/pom.xml
Log:
Add default jbpm.target.container

Modified: jbpm3/trunk/modules/enterprise/jar/pom.xml
===================================================================
--- jbpm3/trunk/modules/enterprise/jar/pom.xml	2008-09-23 18:07:37 UTC (rev 2317)
+++ jbpm3/trunk/modules/enterprise/jar/pom.xml	2008-09-23 18:15:44 UTC (rev 2318)
@@ -172,6 +172,12 @@
       <plugin>
         <artifactId>maven-surefire-plugin</artifactId>
         <configuration>
+          <systemProperties>
+            <property>
+              <name>target.container</name>
+              <value>jboss422</value>
+            </property>
+          </systemProperties>
           <!-- Please only remove excludes, when the tests are working -->
           <excludes>
             <!-- https://jira.jboss.org/jira/browse/JBPM-1708 -->
@@ -186,8 +192,10 @@
 
   <!-- Profiles -->
   <profiles>
+
     <!--
-      Name: no-jboss-bind-address Descr: Set the default jboss.bind.address command line cannot overwrite pom properties
+      Name: no-jboss-bind-address 
+      Descr: Set the default jboss.bind.address command line cannot overwrite pom properties
       http://jira.codehaus.org/browse/MNG-3546
     -->
     <profile>
@@ -201,6 +209,38 @@
         <jboss.bind.address>localhost</jboss.bind.address>
       </properties>
     </profile>
+
+    <!-- 
+    Name:  no-jbpm-target-container
+    Descr: Setup the default database   
+    -->
+    <profile>
+      <id>no-jbpm-target-container</id>
+      <activation>
+        <property>
+          <name>!jbpm.target.container</name>
+        </property>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <systemProperties>
+                <property>
+                  <name>jbpm.target.container</name>
+                  <value>jboss422</value>
+                </property>
+                <property>
+                  <name>log4j.output.dir</name>
+                  <value>${project.build.directory}</value>
+                </property>
+              </systemProperties>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
 
 </project>




More information about the jbpm-commits mailing list