[jboss-cvs] JBossAS SVN: r95687 - in branches/Branch_5_x/build: src and 1 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Oct 28 12:19:43 EDT 2009


Author: pgier
Date: 2009-10-28 12:19:42 -0400 (Wed, 28 Oct 2009)
New Revision: 95687

Added:
   branches/Branch_5_x/build/src/
   branches/Branch_5_x/build/src/assembly/
   branches/Branch_5_x/build/src/assembly/jboss-dist.xml
Modified:
   branches/Branch_5_x/build/pom.xml
Log:
[JBBUILD-568] Add assembly for deploying dist zip to Maven repo.

Modified: branches/Branch_5_x/build/pom.xml
===================================================================
--- branches/Branch_5_x/build/pom.xml	2009-10-28 16:16:49 UTC (rev 95686)
+++ branches/Branch_5_x/build/pom.xml	2009-10-28 16:19:42 UTC (rev 95687)
@@ -7,14 +7,14 @@
 	</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>
   <description>JBoss Application Server Distribution</description>
 	<!-- This pom is a place holder for what will later be a place for the jboss distribution files to be generated. -->
   
-  <dependencies>
+  <!--<dependencies>
     <dependency>
       <groupId>org.jboss.jbossas</groupId>
       <artifactId>jboss-as-aspects</artifactId>
@@ -105,6 +105,38 @@
       <artifactId>jboss-as-tomcat</artifactId>
     </dependency>			
     
-  </dependencies>
+  </dependencies>-->
   
+  <profiles>
+    <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>
+  </profiles>
+  
 </project>

Added: branches/Branch_5_x/build/src/assembly/jboss-dist.xml
===================================================================
--- branches/Branch_5_x/build/src/assembly/jboss-dist.xml	                        (rev 0)
+++ branches/Branch_5_x/build/src/assembly/jboss-dist.xml	2009-10-28 16:19:42 UTC (rev 95687)
@@ -0,0 +1,13 @@
+<assembly>
+  <id></id>
+  <formats>
+    <format>zip</format>
+  </formats>
+  <includeBaseDirectory>true</includeBaseDirectory>
+  <fileSets>
+    <fileSet>
+      <directory>output/jboss-5.2.0.Beta1</directory>
+      <outputDirectory>/</outputDirectory>
+    </fileSet>
+  </fileSets>
+</assembly>
\ No newline at end of file


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




More information about the jboss-cvs-commits mailing list