[jboss-svn-commits] JBL Code SVN: r33533 - in labs/jbossrules/soa_branches/SOA5.0MaveniseDev: drools-guvnor and 2 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Wed Jun 16 23:52:12 EDT 2010


Author: ryanzhang
Date: 2010-06-16 23:52:12 -0400 (Wed, 16 Jun 2010)
New Revision: 33533

Modified:
   labs/jbossrules/soa_branches/SOA5.0MaveniseDev/drools-guvnor/pom.xml
   labs/jbossrules/soa_branches/SOA5.0MaveniseDev/pom.xml
   labs/jbossrules/soa_branches/SOA5.0MaveniseDev/prod-brms-dist/build.xml
   labs/jbossrules/soa_branches/SOA5.0MaveniseDev/prod-brms-dist/pom.xml
   labs/jbossrules/soa_branches/SOA5.0MaveniseDev/prod-brms-dist/post-patch/patch_brms_ui.xml
Log:
SOA-P mavenise development

Modified: labs/jbossrules/soa_branches/SOA5.0MaveniseDev/drools-guvnor/pom.xml
===================================================================
--- labs/jbossrules/soa_branches/SOA5.0MaveniseDev/drools-guvnor/pom.xml	2010-06-17 02:55:53 UTC (rev 33532)
+++ labs/jbossrules/soa_branches/SOA5.0MaveniseDev/drools-guvnor/pom.xml	2010-06-17 03:52:12 UTC (rev 33533)
@@ -69,87 +69,6 @@
 
   </build>
 
-
-    <profiles>
-        <profile>
-            <id>soa</id>
-            <activation>
-                <property>
-                    <name>soa</name>
-                </property>
-            </activation>
-            <build>
-              <finalName>drools-guvnor</finalName>    
-        	<plugins>
-	          <plugin>
-     
-	        <artifactId>maven-antrun-plugin</artifactId>
-	        <executions>
-	          <execution>
-                    <id>generate-sources</id>
-	            <phase>generate-sources</phase>
-	            <configuration>
-	              <tasks>
-			<ant antfile="${basedir}/revision-number.xml" target="find_revision">
-				<property name="project.version" value="${project.version}"/>
-  			</ant>         	
-		      </tasks>
-	            </configuration>
-        	    <goals>
-	              <goal>run</goal>
-        	    </goals>
-	          </execution>
-	          <execution>
-                    <id>soa_overlay</id>
-	            <phase>package</phase>
-	            <configuration>
-	              <tasks>
-			<ant antfile="${basedir}/soa-specific.xml" target="soa_overlay">
-  			</ant>         	
-		      </tasks>
-	            </configuration>
-        	    <goals>
-	              <goal>run</goal>
-        	    </goals>
-	          </execution>
-	        </executions>
-		<dependencies>    
-			<dependency>
-			      <groupId>ant</groupId>
-			      <artifactId>ant-nodeps</artifactId>
-			      <version>1.6.5</version>
-			</dependency>
-			<dependency>
-			      <groupId>ant</groupId>
-			      <artifactId>ant-apache-regexp</artifactId>
-			      <version>1.6.5</version>
-			</dependency>
-			<dependency>
-			      <artifactId>jakarta-regexp</artifactId>
-			      <groupId>jakarta-regexp</groupId>
-			      <version>1.4</version>
-			</dependency>
-		</dependencies>
-	      </plugin>
-              <plugin>
-               <groupId>org.apache.maven.plugins</groupId>
-               <artifactId>maven-war-plugin</artifactId>
-               <executions>
-                   <execution>
-                       <id>war-it</id>
-                       <phase>pre-integration-test</phase>
-                       <goals>
-                           <goal>war</goal>
-                       </goals>
-                   </execution> 
-               </executions> 
-	      </plugin>                 
-	    </plugins>
-          </build>
-
-        </profile>          
-     </profiles>
-
   <dependencies>
     <!-- Internal dependencies -->
 

Modified: labs/jbossrules/soa_branches/SOA5.0MaveniseDev/pom.xml
===================================================================
--- labs/jbossrules/soa_branches/SOA5.0MaveniseDev/pom.xml	2010-06-17 02:55:53 UTC (rev 33532)
+++ labs/jbossrules/soa_branches/SOA5.0MaveniseDev/pom.xml	2010-06-17 03:52:12 UTC (rev 33533)
@@ -365,58 +365,19 @@
             </modules>
         </profile>
         <profile>
-            <id>soa</id>
-            <activation>
-                <property>
-                    <name>soa</name>
-                </property>
-            </activation>
+            <id>prod-brms-dist</id>
             <modules>
-                <module>drools-api</module>    
-                <module>drools-core</module>
-                <module>drools-compiler</module>
-                <module>drools-jsr94</module>
-                <!--module>drools-templates</module-->
-                <module>drools-decisiontables</module>
-                <!--module>drools-clips</module>
-                <module>drools-pipeline</module>    
-                <module>drools-process</module>                  
-                <module>drools-server</module-->
-                <module>drools-verifier</module>        
-                <module>drools-ant</module>
-                <module>drools-repository</module>
-                <module>drools-guvnor</module>
-                <!--module>drools-solver</module-->
-                <module>drools-container/drools-mc</module>
+                <module>prod-brms-dist</module>    
             </modules>
-            <build>
-                    <pluginManagement>
-                        <plugins>
-                            <plugin>
-		                    <groupId>org.apache.maven.plugins</groupId>
-		                    <artifactId>maven-assembly-plugin</artifactId>
-		                    <version>2.2-beta-2</version>
-		                    <configuration>
-		                        <descriptors>
-		                            <descriptor>src/main/assembly/pre-bin_soaversion.xml</descriptor>
-		                            <descriptor>src/main/assembly/bin.xml</descriptor>
-					    <descriptor>src/main/assembly/guvnor_soaversion.xml</descriptor>
-		                            <descriptor>src/main/assembly/src_soaversion.xml</descriptor>
-		                            <descriptor>src/main/assembly/eclipse.xml</descriptor>
-		                            <descriptor>src/main/assembly/examples_soaversion.xml</descriptor>
-		                            <descriptor>src/main/assembly/solver.xml</descriptor>
-		                            <descriptor>src/main/assembly/docs_soaversion.xml</descriptor>
-		                            <descriptor>src/main/assembly/javadocs_soaversion.xml</descriptor>
-                                            <descriptor>src/main/assembly/soa.xml</descriptor>
-		                        </descriptors>
-		                    </configuration>
-		                    
-                            </plugin>
-                        </plugins>
-                    </pluginManagement>
-            </build>        
         </profile>             
         <profile>
+            <id>prod-soa-dist</id>
+            <modules>
+                <module>soa</module>    
+            </modules>
+        </profile>             
+
+        <profile>
             <id>default</id>
             <activation>
                     <activeByDefault>true</activeByDefault> 

Modified: labs/jbossrules/soa_branches/SOA5.0MaveniseDev/prod-brms-dist/build.xml
===================================================================
--- labs/jbossrules/soa_branches/SOA5.0MaveniseDev/prod-brms-dist/build.xml	2010-06-17 02:55:53 UTC (rev 33532)
+++ labs/jbossrules/soa_branches/SOA5.0MaveniseDev/prod-brms-dist/build.xml	2010-06-17 03:52:12 UTC (rev 33533)
@@ -5,16 +5,13 @@
 	</target>
 
 	<target name="assemble">
-    <copy preservelastmodified="true" todir="${module_base_dir}/target/dist/jbpm-console.war">
-      <fileset dir="${module_base_dir}/target/work/console-war" includes="**/*" />
-    </copy>
+    <mkdir dir="${module_base_dir}/target/dist"/>
+    <war destfile="${module_base_dir}/target/dist/jboss-brms.war" webxml="${module_base_dir}/target/work/drools-guvnor/WEB-INF/web.xml">
+      <fileset dir="${module_base_dir}/target/work/drools-guvnor" includes="**/*" />
+    </war>
 
-    <copy preservelastmodified="true" todir="${module_base_dir}/target/dist/gpd-deployer.war">
-      <fileset dir="${module_base_dir}/target/work/gpd-war" includes="**/*" />
-    </copy>
-
-    <zip destfile="${module_base_dir}/target/${module_build_finalName}.zip" > 
-      <zipfileset dir="${module_base_dir}/target/dist" prefix="jbpm-console" includes="**/*" />
+    <zip destfile="${module_base_dir}/target/dist/jboss-brms-manager.zip" > 
+      <zipfileset dir="${module_base_dir}/target/dist" includes="*.war" />
     </zip>
 
 	</target>

Modified: labs/jbossrules/soa_branches/SOA5.0MaveniseDev/prod-brms-dist/pom.xml
===================================================================
--- labs/jbossrules/soa_branches/SOA5.0MaveniseDev/prod-brms-dist/pom.xml	2010-06-17 02:55:53 UTC (rev 33532)
+++ labs/jbossrules/soa_branches/SOA5.0MaveniseDev/prod-brms-dist/pom.xml	2010-06-17 03:52:12 UTC (rev 33533)
@@ -155,26 +155,28 @@
           </executions>
           </plugin>
           <plugin>
-            <groupId>org.codehaus.mojo</groupId>
-            <artifactId>build-helper-maven-plugin</artifactId>
-            <version>1.2</version>
+		        <groupId>org.apache.maven.plugins</groupId>
+		        <artifactId>maven-assembly-plugin</artifactId>
+		        <version>2.2-beta-2</version>
             <executions>
-              <execution>
-                  <phase>package</phase>
-                  <goals>
-                    <goal>attach-artifact</goal>
-                  </goals>
-                <configuration>
-                  <artifacts>
-                    <artifact>
-                      <file>${project.build.directory}/${project.build.finalName}.zip</file>
-                      <type>zip</type>
-                    </artifact>
-                  </artifacts>
-                </configuration>
-              </execution>
-            </executions>
-          </plugin>
+            <execution>
+              <id>BRMS assembly</id>
+              <phase>package</phase>
+              <goals>
+                <goal>single</goal>
+              </goals>
+		        <configuration>
+		        <descriptors>
+              <descriptor>resource/assembly/brms-engine.xml</descriptor>
+              <!--descriptor>resource/assembly/brms-engine.xml</descriptor>
+              <descriptor>resource/assembly/brms.xml</descriptor>
+              <descriptor>resource/assembly/docs.xml</descriptor>
+              <descriptor>resource/assembly/javadocs.xml</descriptor-->
+		        </descriptors>
+		        </configuration>
+          </execution>
+        </executions>
+         </plugin>
     </plugins>
   </build>
 

Modified: labs/jbossrules/soa_branches/SOA5.0MaveniseDev/prod-brms-dist/post-patch/patch_brms_ui.xml
===================================================================
--- labs/jbossrules/soa_branches/SOA5.0MaveniseDev/prod-brms-dist/post-patch/patch_brms_ui.xml	2010-06-17 02:55:53 UTC (rev 33532)
+++ labs/jbossrules/soa_branches/SOA5.0MaveniseDev/prod-brms-dist/post-patch/patch_brms_ui.xml	2010-06-17 03:52:12 UTC (rev 33533)
@@ -13,7 +13,7 @@
         <replacefilter token="Bienvenidos a Guvnor" value="Bienvenidos a BRMS" />
         <replacefilter token="Guvnor segun sus necesidades." value="BRMS segun sus necesidades." />
       </replace>      
-      <copy file="${module_base_dir}/target/work/drools-guvnor/org.drools.guvnor.Guvnor/hdrlogo_brms.gif" tofile="target/drools-guvnor/org.drools.guvnor.Guvnor/header_logo.gif" overwrite="true"/>
+      <copy file="${module_base_dir}/target/work/drools-guvnor/org.drools.guvnor.Guvnor/hdrlogo_brms.gif" tofile="${module_base_dir}/target/work/drools-guvnor/org.drools.guvnor.Guvnor/header_logo.gif" overwrite="true"/>
 
 	</target>
 </project>



More information about the jboss-svn-commits mailing list