[jboss-cvs] JBossAS SVN: r83086 - in trunk: build and 1 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Jan 19 17:26:34 EST 2009


Author: pgier
Date: 2009-01-19 17:26:33 -0500 (Mon, 19 Jan 2009)
New Revision: 83086

Modified:
   trunk/build/build.xml
   trunk/j2se/pom.xml
   trunk/pom.xml
Log:
[JBBUILD-506] Switch j2se module over to maven.

Modified: trunk/build/build.xml
===================================================================
--- trunk/build/build.xml	2009-01-19 20:43:41 UTC (rev 83085)
+++ trunk/build/build.xml	2009-01-19 22:26:33 UTC (rev 83086)
@@ -97,7 +97,7 @@
       <module name="embedded"/>
       <module name="hibernate-int"/>
       <module name="iiop"/>
-      <module name="j2se"/>
+      <module name="j2se" externalBuild="true"/>
       <module name="jmx"/>
       <module name="main" externalBuild="true"/>
       <module name="management"/>

Modified: trunk/j2se/pom.xml
===================================================================
--- trunk/j2se/pom.xml	2009-01-19 20:43:41 UTC (rev 83085)
+++ trunk/j2se/pom.xml	2009-01-19 22:26:33 UTC (rev 83086)
@@ -57,6 +57,65 @@
           <descriptorSourceDirectory>src/assembly</descriptorSourceDirectory>
         </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/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/jboss-j2se.jar"/>
+                <copy file="target/${artifactId}-${version}-jboss-jmx-compliance.jar"
+                      tofile="output/lib/jboss-jmx-compliance.jar"/>
+                <copy file="target/${artifactId}-${version}-jmxcompliance-MoreMBeans.jar"
+                      tofile="output/lib/jmxcompliance-MoreMBeans.jar"/>
+                <copy file="target/${artifactId}-${version}-jmxcompliance-MyMBeans.jar"
+                      tofile="output/lib/jmxcompliance-MyMBeans.jar"/>
+                <copy file="target/${artifactId}-${version}-jmxcompliance-MyMBeans2.jar"
+                      tofile="output/lib/jmxcompliance-MyMBeans2.jar"/>
+                <copy file="target/${artifactId}-${version}-jmxcompliance-Test.jar"
+                      tofile="output/lib/jmxcompliance-Test.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-01-19 20:43:41 UTC (rev 83085)
+++ trunk/pom.xml	2009-01-19 22:26:33 UTC (rev 83086)
@@ -414,6 +414,18 @@
       </modules>
     </profile>
     
+    <profile>
+      <id>single-module</id>
+      <activation>
+        <property>
+          <name>module</name>
+        </property>
+      </activation>
+      <modules>
+        <module>${module}</module>
+      </modules>
+    </profile>
+    
     <!-- This profile is used by the ant/buildmagic build -->
     <profile>
       <id>integrated-build</id>
@@ -421,6 +433,7 @@
         <module>component-matrix</module>
         <module>bootstrap</module>
         <module>main</module>
+        <module>j2se</module>
       </modules>
     </profile>
     




More information about the jboss-cvs-commits mailing list