[jboss-svn-commits] JBL Code SVN: r36496 - in labs/jbossrules/soa_branches/BRMS-5.1.x-MEAD/soa-distribution: src/main/assembly and 1 other directory.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Tue Jan 4 06:48:16 EST 2011


Author: ryanzhang
Date: 2011-01-04 06:48:16 -0500 (Tue, 04 Jan 2011)
New Revision: 36496

Modified:
   labs/jbossrules/soa_branches/BRMS-5.1.x-MEAD/soa-distribution/pom.xml
   labs/jbossrules/soa_branches/BRMS-5.1.x-MEAD/soa-distribution/src/main/assembly/brms-p-dist.xml
Log:
Update artifact and version id

Modified: labs/jbossrules/soa_branches/BRMS-5.1.x-MEAD/soa-distribution/pom.xml
===================================================================
--- labs/jbossrules/soa_branches/BRMS-5.1.x-MEAD/soa-distribution/pom.xml	2011-01-04 11:44:11 UTC (rev 36495)
+++ labs/jbossrules/soa_branches/BRMS-5.1.x-MEAD/soa-distribution/pom.xml	2011-01-04 11:48:16 UTC (rev 36496)
@@ -3,9 +3,9 @@
 <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>Drools :: Build BRMS distribution For BRMS-P</name>
+  <name>Drools :: Build the distribution For BRMS-P and SOA-P</name>
   <groupId>org.drools</groupId>
-  <artifactId>jboss-brms</artifactId>
+  <artifactId>jbosssoa</artifactId>
   <version>5.1.0.BRMS</version>
   <packaging>pom</packaging>
 
@@ -28,29 +28,65 @@
   
   <build>
      <plugins>
-      <plugin>
-        <artifactId>maven-assembly-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>brms-assembly</id>
-            <phase>package</phase>
-            <goals>
-              <goal>single</goal>
-            </goals>
-            <configuration>
-              <finalName>jboss</finalName>
-              <descriptors>
-                <descriptor>src/main/assembly/brms-engine.xml</descriptor>
-                <descriptor>src/main/assembly/brms-importer.xml</descriptor>
-                <descriptor>src/main/assembly/brms-manager.xml</descriptor>
-                <!--descriptor>src/main/assembly/brms-server.xml</descriptor-->
-                <descriptor>src/main/assembly/brms-p-dist.xml</descriptor>
-                <descriptor>src/main/assembly/soa-p-dist.xml</descriptor>
-              </descriptors>
-            </configuration>
-          </execution>
-        </executions>
-       </plugin>
+        <plugin>
+          <artifactId>maven-assembly-plugin</artifactId>
+          <executions>
+            <execution>
+              <id>brms-assembly</id>
+              <phase>package</phase>
+              <goals>
+                <goal>single</goal>
+              </goals>
+              <configuration>
+                <attached>false</attached>
+                <descriptors>
+                  <descriptor>src/main/assembly/brms-engine.xml</descriptor>
+                  <descriptor>src/main/assembly/brms-importer.xml</descriptor>
+                  <descriptor>src/main/assembly/brms-manager.xml</descriptor>
+                  <!--descriptor>src/main/assembly/brms-server.xml</descriptor-->
+                  <descriptor>src/main/assembly/brms-p-dist.xml</descriptor>
+                  <descriptor>src/main/assembly/soa-p-dist.xml</descriptor>
+                </descriptors>
+              </configuration>
+            </execution>
+          </executions>
+        </plugin>
+        <plugin>
+          <artifactId>maven-install-plugin</artifactId>
+          <configuration>
+            <version>${project.version}-redhat-0</version>
+            <artifactId>${project.artifactId}</artifactId>
+            <groupId>${project.groupId}</groupId>
+          </configuration>
+          <executions>
+             <execution>
+                <id>install-brms-p-distribution</id>
+                <phase>install</phase>
+                <goals>
+                  <goal>install-file</goal>
+                </goals>
+                <configuration>
+                  <file>${project.build.directory}/jbosssoa-${project.version}-brms-dist.zip</file>
+                  <packaging>zip</packaging>
+                  <classifier>brms-dist</classifier>
+                  <pomFile>pom.xml</pomFile>
+                </configuration>
+              </execution>
+             <execution>
+                <id>install-soa-p-distribution</id>
+                <phase>install</phase>
+                <goals>
+                  <goal>install-file</goal>
+                </goals>
+                <configuration>
+                  <file>${project.build.directory}/jbosssoa-${project.version}-soa-dist.zip</file>
+                  <packaging>zip</packaging>
+                  <classifier>soa-dist</classifier>
+                  <pomFile>pom.xml</pomFile>
+                </configuration>
+              </execution>
+           </executions>
+        </plugin>       
      </plugins>
    </build>
 

Modified: labs/jbossrules/soa_branches/BRMS-5.1.x-MEAD/soa-distribution/src/main/assembly/brms-p-dist.xml
===================================================================
--- labs/jbossrules/soa_branches/BRMS-5.1.x-MEAD/soa-distribution/src/main/assembly/brms-p-dist.xml	2011-01-04 11:44:11 UTC (rev 36495)
+++ labs/jbossrules/soa_branches/BRMS-5.1.x-MEAD/soa-distribution/src/main/assembly/brms-p-dist.xml	2011-01-04 11:48:16 UTC (rev 36496)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
 <assembly>
-  <id>brms-p-dist</id>
+  <id>brms-dist</id>
   <formats>
     <format>zip</format>
   </formats>



More information about the jboss-svn-commits mailing list