[jbpm-commits] JBoss JBPM SVN: r3435 - in jbpm3/trunk: modules/distribution and 1 other directory.

do-not-reply at jboss.org do-not-reply at jboss.org
Thu Dec 18 16:17:44 EST 2008


Author: heiko.braun at jboss.com
Date: 2008-12-18 16:17:44 -0500 (Thu, 18 Dec 2008)
New Revision: 3435

Modified:
   jbpm3/trunk/modules/distribution/pom.xml
   jbpm3/trunk/pom.xml
Log:
Added -Psoa switch to distribution that includes the SOA-P console overlays

Modified: jbpm3/trunk/modules/distribution/pom.xml
===================================================================
--- jbpm3/trunk/modules/distribution/pom.xml	2008-12-18 18:52:16 UTC (rev 3434)
+++ jbpm3/trunk/modules/distribution/pom.xml	2008-12-18 21:17:44 UTC (rev 3435)
@@ -1,15 +1,15 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-  <!-- ====================================================================== -->
-  <!--                                                                        -->
-  <!--  JBoss, the OpenSource J2EE webOS                                      -->
-  <!--                                                                        -->
-  <!--  Distributable under LGPL license.                                     -->
-  <!--  See terms of license at http://www.gnu.org.                           -->
-  <!--                                                                        -->
-  <!-- ====================================================================== -->
+<!-- ====================================================================== -->
+<!--                                                                        -->
+<!--  JBoss, the OpenSource J2EE webOS                                      -->
+<!--                                                                        -->
+<!--  Distributable under LGPL license.                                     -->
+<!--  See terms of license at http://www.gnu.org.                           -->
+<!--                                                                        -->
+<!-- ====================================================================== -->
 
-  <!-- $Id$ -->
+<!-- $Id$ -->
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
   <name>JBoss jBPM3 - Distribution</name>
@@ -127,6 +127,12 @@
     </dependency>
     <dependency>
       <groupId>org.jbpm.jbpm3</groupId>
+      <artifactId>jsf-console</artifactId>
+      <classifier>soa</classifier>
+      <type>war</type>
+    </dependency>
+    <dependency>
+      <groupId>org.jbpm.jbpm3</groupId>
       <artifactId>gwt-console</artifactId>
       <type>war</type>
     </dependency>
@@ -242,7 +248,7 @@
         <executions>
           <execution>
             <id>make-assembly</id>
-            <phase>package</phase>
+            <phase>process-resources</phase>
             <goals>
               <goal>directory-single</goal>
             </goals>
@@ -287,4 +293,34 @@
       </plugin>
     </plugins>
   </build>
+  
+  <profiles>
+    <profile>
+      <id>soa</id>
+      <build>
+        <plugins>
+            <plugin>
+              <artifactId>maven-antrun-plugin</artifactId>
+              <executions>
+                <execution>
+                  <phase>process-resources</phase>
+                  <goals>
+                    <goal>run</goal>
+                  </goals>
+                  <configuration>
+                    <tasks>
+                      <!-- replace jsf-console.war with the SOA platform build -->
+                      <property name="targetDir" value="${project.build.directory}/deploy-artifacts/lib/"/>
+                      <echo>**** Replacing jsf-console with SOA-P build ****</echo>                      
+                      <delete file="${targetDir}/jsf-console.war"/>
+                      <copy file="${targetDir}/jsf-console-soa.war" tofile="${targetDir}/jsf-console.war"/>
+                    </tasks>
+                  </configuration>
+                </execution>
+              </executions>
+            </plugin>          
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>
\ No newline at end of file

Modified: jbpm3/trunk/pom.xml
===================================================================
--- jbpm3/trunk/pom.xml	2008-12-18 18:52:16 UTC (rev 3434)
+++ jbpm3/trunk/pom.xml	2008-12-18 21:17:44 UTC (rev 3435)
@@ -103,6 +103,13 @@
         <type>war</type>
       </dependency>
       <dependency>
+      <groupId>org.jbpm.jbpm3</groupId>
+      <artifactId>jsf-console</artifactId>
+      <version>${jbpm.jsf-console.version}</version>
+      <classifier>soa</classifier>
+      <type>war</type>
+    </dependency>
+      <dependency>
         <groupId>org.jbpm.jbpm3</groupId>
         <artifactId>gwt-console</artifactId>
         <version>${jbpm.gwt-console.version}</version>




More information about the jbpm-commits mailing list