[jboss-cvs] JBossAS SVN: r95635 - in trunk: build/src and 2 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Oct 27 17:38:55 EDT 2009


Author: pgier
Date: 2009-10-27 17:38:54 -0400 (Tue, 27 Oct 2009)
New Revision: 95635

Added:
   trunk/build/src/
   trunk/build/src/assembly/
   trunk/build/src/assembly/jboss-dist.xml
Modified:
   trunk/build/pom.xml
   trunk/testsuite/pom.xml
Log:
[JBBUILD-568] Create a deployable zip of the AS distribution.  Update the maven-jboss-license-plugin.

Modified: trunk/build/pom.xml
===================================================================
--- trunk/build/pom.xml	2009-10-27 21:21:09 UTC (rev 95634)
+++ trunk/build/pom.xml	2009-10-27 21:38:54 UTC (rev 95635)
@@ -7,7 +7,7 @@
 	</parent>
   <modelVersion>4.0.0</modelVersion>
   <groupId>org.jboss.jbossas</groupId>
-  <artifactId>jboss-as-build</artifactId>
+  <artifactId>jboss-as-distribution</artifactId>
   <packaging>pom</packaging>
   <name>JBoss Application Server Distribution</name>
   <url>http://www.jboss.org/jbossas</url>
@@ -19,7 +19,7 @@
       <plugin>
         <groupId>org.jboss.maven.plugins</groupId>
         <artifactId>maven-jboss-license-plugin</artifactId>
-        <version>1.0.2</version>
+        <version>1.0.3</version>
         <inherited>false</inherited>
         <executions>
           <execution>
@@ -619,10 +619,39 @@
                 </configuration>
               </execution>
             </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>    
+    <profile>
+      <id>dist-zip</id>
+      <activation>
+        <property>
+          <name>!skip-dist-zip</name>
+        </property>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-assembly-plugin</artifactId>
+            <executions>
+              <execution>
+                <phase>package</phase>
+                <goals>
+                  <goal>single</goal>
+                </goals>
+                <configuration>
+                  <descriptors>
+                    <descriptor>src/assembly/jboss-dist.xml</descriptor>
+                  </descriptors>
+                </configuration>
+              </execution>
+            </executions>
           </plugin>      
         </plugins>
       </build>
-    </profile>    
+    </profile>
   </profiles>
   
 </project>

Added: trunk/build/src/assembly/jboss-dist.xml
===================================================================
--- trunk/build/src/assembly/jboss-dist.xml	                        (rev 0)
+++ trunk/build/src/assembly/jboss-dist.xml	2009-10-27 21:38:54 UTC (rev 95635)
@@ -0,0 +1,13 @@
+<assembly>
+  <id></id>
+  <formats>
+    <format>zip</format>
+  </formats>
+  <includeBaseDirectory>true</includeBaseDirectory>
+  <fileSets>
+    <fileSet>
+      <directory>output/jboss-6.0.0-SNAPSHOT</directory>
+      <outputDirectory>/</outputDirectory>
+    </fileSet>
+  </fileSets>
+</assembly>
\ No newline at end of file


Property changes on: trunk/build/src/assembly/jboss-dist.xml
___________________________________________________________________
Name: svn:keywords
   + "Author Date Id Revision"
Name: svn:eol-style
   + native

Modified: trunk/testsuite/pom.xml
===================================================================
--- trunk/testsuite/pom.xml	2009-10-27 21:21:09 UTC (rev 95634)
+++ trunk/testsuite/pom.xml	2009-10-27 21:38:54 UTC (rev 95635)
@@ -2,7 +2,7 @@
   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
 	<parent>
 		<groupId>org.jboss.jbossas</groupId>
-		<artifactId>jboss-as-build</artifactId>
+		<artifactId>jboss-as-distribution</artifactId>
 		<version>6.0.0-SNAPSHOT</version>
     <relativePath>../build</relativePath>
 	</parent>




More information about the jboss-cvs-commits mailing list