<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>README.txt</filename>
    </added>
    <added>
      <filename>build.bat</filename>
    </added>
    <added>
      <filename>build.sh</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1017,7 +1017,7 @@ ${client.jar.files}
   &lt;target name=&quot;maven-install&quot; description=&quot;Run the install goal against the maven build&quot;
           depends=&quot;maven-init&quot;&gt;
     
-     &lt;property name=&quot;maven.install.opts&quot; value=&quot;&quot;/&gt;
+     &lt;property name=&quot;maven.install.opts&quot; value=&quot;-Pskip-dist&quot;/&gt;
 
      &lt;maven basedir=&quot;${basedir}/..&quot; 
             options=&quot;${maven.install.opts}&quot; </diff>
      <filename>build/build.xml</filename>
    </modified>
    <modified>
      <diff>@@ -92,4 +92,61 @@
     
   &lt;/dependencies&gt;
   
+  &lt;profiles&gt;
+    &lt;profile&gt;
+      &lt;id&gt;dist&lt;/id&gt;
+      &lt;activation&gt;
+        &lt;activeByDefault&gt;true&lt;/activeByDefault&gt;
+      &lt;/activation&gt;
+      &lt;build&gt;
+        &lt;plugins&gt;
+          &lt;plugin&gt;
+            &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
+            &lt;artifactId&gt;maven-antrun-plugin&lt;/artifactId&gt;
+            &lt;executions&gt;
+              &lt;execution&gt;
+                &lt;id&gt;build-dist&lt;/id&gt;
+                &lt;goals&gt;
+                  &lt;goal&gt;run&lt;/goal&gt;
+                &lt;/goals&gt;
+                &lt;phase&gt;package&lt;/phase&gt;
+                &lt;configuration&gt;
+                  &lt;tasks&gt;
+                    &lt;ant antfile=&quot;build.xml&quot;&gt;
+                      &lt;target name=&quot;modules-most&quot;/&gt;
+                      &lt;target name=&quot;install&quot;/&gt;
+                    &lt;/ant&gt;
+                 &lt;/tasks&gt;
+                &lt;/configuration&gt;
+              &lt;/execution&gt;
+              &lt;execution&gt;
+                &lt;id&gt;clean&lt;/id&gt;
+                &lt;goals&gt;
+                  &lt;goal&gt;run&lt;/goal&gt;
+                &lt;/goals&gt;
+                &lt;phase&gt;clean&lt;/phase&gt;
+                &lt;configuration&gt;
+                  &lt;tasks&gt;
+                    &lt;ant antfile=&quot;build.xml&quot;&gt;
+                      &lt;target name=&quot;_buildmagic:clean&quot;/&gt;
+                    &lt;/ant&gt;
+                 &lt;/tasks&gt;
+                &lt;/configuration&gt;
+              &lt;/execution&gt;
+            &lt;/executions&gt;
+          &lt;/plugin&gt;      
+        &lt;/plugins&gt;
+      &lt;/build&gt;
+    &lt;/profile&gt;
+    &lt;profile&gt;
+      &lt;id&gt;skip-dist&lt;/id&gt;
+      &lt;!-- This profile is just a place holder to avoid running the dist build
+        -  when the build is called from ant.
+        --&gt;
+      &lt;build&gt;
+        
+      &lt;/build&gt;
+    &lt;/profile&gt;
+  &lt;/profiles&gt;
+  
 &lt;/project&gt;</diff>
      <filename>build/pom.xml</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>861ab7949824bf76d94a61531644c3570193ef82</id>
    </parent>
  </parents>
  <author>
    <name>pgier</name>
    <email>pgier@84be2c1e-ba19-0410-b317-a758671a6fc1</email>
  </author>
  <url>http://github.com/bobmcwhirter/jbossas/commit/0998f98b259ec84f394d6adb48cbf08ff0c15941</url>
  <id>0998f98b259ec84f394d6adb48cbf08ff0c15941</id>
  <committed-date>2009-03-13T08:40:08-07:00</committed-date>
  <authored-date>2009-03-13T08:40:08-07:00</authored-date>
  <message>[JBBUILD-513] Allow the app server distribution build to be run directly from maven.

git-svn-id: http://anonsvn.jboss.org/repos/jbossas/trunk@85829 84be2c1e-ba19-0410-b317-a758671a6fc1</message>
  <tree>8a57f02b11ada75b28d61ee84a9cbd332b8f86fe</tree>
  <committer>
    <name>pgier</name>
    <email>pgier@84be2c1e-ba19-0410-b317-a758671a6fc1</email>
  </committer>
</commit>
