[jboss-cvs] JBossAS SVN: r84409 - in trunk: build and 3 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Feb 18 16:11:52 EST 2009


Author: pgier
Date: 2009-02-18 16:11:52 -0500 (Wed, 18 Feb 2009)
New Revision: 84409

Modified:
   trunk/build/build.xml
   trunk/jbossas/jmx-remoting/pom.xml
   trunk/jbossas/remoting/pom.xml
   trunk/jmx-remoting/pom.xml
   trunk/pom.xml
Log:
[JBBUILD-506] Switch remoting modules to maven.

Modified: trunk/build/build.xml
===================================================================
--- trunk/build/build.xml	2009-02-18 19:50:54 UTC (rev 84408)
+++ trunk/build/build.xml	2009-02-18 21:11:52 UTC (rev 84409)
@@ -103,9 +103,9 @@
       <module name="management"/>
       <module name="mbeans" externalBuild="true"/>
       <module name="messaging"/>
-      <module name="jbossas/remoting"/>
-      <module name="jmx-remoting"/>
-      <module name="jbossas/jmx-remoting"/>
+      <module name="jbossas/remoting" externalBuild="true"/>
+      <module name="jmx-remoting" externalBuild="true"/>
+      <module name="jbossas/jmx-remoting" externalBuild="true"/>
       <module name="profileservice"/>
       <module name="security" externalBuild="true"/>
       <module name="server" externalBuild="true"/>

Modified: trunk/jbossas/jmx-remoting/pom.xml
===================================================================
--- trunk/jbossas/jmx-remoting/pom.xml	2009-02-18 19:50:54 UTC (rev 84408)
+++ trunk/jbossas/jmx-remoting/pom.xml	2009-02-18 21:11:52 UTC (rev 84409)
@@ -19,6 +19,68 @@
         <directory>src/resources</directory>
       </resource>
     </resources>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>create-output</id>
+            <goals>
+              <goal>run</goal>
+            </goals>
+            <phase>package</phase>
+            <configuration>
+              <tasks>
+                                
+                <mkdir dir="output/etc"/>
+                <copy todir="output/etc" filtering="yes">
+                  <fileset dir="src/etc">
+                    <include name="**"/>
+                  </fileset>
+                </copy>
+                
+                <mkdir dir="output/lib"/>
+                <copy file="target/${artifactId}-${version}.jar"
+                      tofile="output/lib/jbossas-jmx-remoting.jar"/>
+                
+                <!-- jmx-remoting.sar -->
+                <zip destfile="output/lib/jmx-remoting.sar">
+                  <zipfileset dir="output/lib">
+                    <include name="jbossas-jmx-remoting.jar"/>
+                  </zipfileset>
+                   <zipfileset dir="output/etc"
+                      prefix="META-INF">
+                      <include name="jboss-service.xml"/>
+                   </zipfileset>
+                </zip>
+                
+             </tasks>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-clean-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>clean-output</id>
+            <goals>
+              <goal>clean</goal>
+            </goals>
+            <phase>clean</phase>
+            <configuration>
+              <filesets>
+                <fileset>
+                  <directory>output</directory>
+                </fileset>
+              </filesets>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
   </build>
   <dependencies>
     <!-- Compile (global dependencies) -->

Modified: trunk/jbossas/remoting/pom.xml
===================================================================
--- trunk/jbossas/remoting/pom.xml	2009-02-18 19:50:54 UTC (rev 84408)
+++ trunk/jbossas/remoting/pom.xml	2009-02-18 21:11:52 UTC (rev 84409)
@@ -25,6 +25,48 @@
           </includes>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>create-output</id>
+            <goals>
+              <goal>run</goal>
+            </goals>
+            <phase>package</phase>
+            <configuration>
+              <tasks>
+                
+                <mkdir dir="output/lib"/>
+                <copy file="target/${artifactId}-${version}.jar"
+                      tofile="output/lib/jbossas-remoting.jar"/>
+                
+             </tasks>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-clean-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>clean-output</id>
+            <goals>
+              <goal>clean</goal>
+            </goals>
+            <phase>clean</phase>
+            <configuration>
+              <filesets>
+                <fileset>
+                  <directory>output</directory>
+                </fileset>
+              </filesets>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
   <dependencies>

Modified: trunk/jmx-remoting/pom.xml
===================================================================
--- trunk/jmx-remoting/pom.xml	2009-02-18 19:50:54 UTC (rev 84408)
+++ trunk/jmx-remoting/pom.xml	2009-02-18 21:11:52 UTC (rev 84409)
@@ -43,6 +43,48 @@
           </excludes>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>create-output</id>
+            <goals>
+              <goal>run</goal>
+            </goals>
+            <phase>package</phase>
+            <configuration>
+              <tasks>
+                
+                <mkdir dir="output/lib"/>
+                <copy file="target/${artifactId}-${version}.jar"
+                      tofile="output/lib/jboss-jmx-remoting.jar"/>
+                
+             </tasks>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-clean-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>clean-output</id>
+            <goals>
+              <goal>clean</goal>
+            </goals>
+            <phase>clean</phase>
+            <configuration>
+              <filesets>
+                <fileset>
+                  <directory>output</directory>
+                </fileset>
+              </filesets>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
   <dependencies>

Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml	2009-02-18 19:50:54 UTC (rev 84408)
+++ trunk/pom.xml	2009-02-18 21:11:52 UTC (rev 84409)
@@ -441,6 +441,8 @@
         <module>security</module>
         <module>server</module>
         <module>deployment</module>
+        <module>jbossas</module>
+        <module>jmx-remoting</module>
       </modules>
     </profile>
     




More information about the jboss-cvs-commits mailing list