You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by no...@apache.org on 2010/10/30 11:37:40 UTC

svn commit: r1029009 - /james/server/trunk/pom.xml

Author: norman
Date: Sat Oct 30 09:37:39 2010
New Revision: 1029009

URL: http://svn.apache.org/viewvc?rev=1029009&view=rev
Log:
Make sure we generate a zip and tar.gz  (JAMES-1094)

Modified:
    james/server/trunk/pom.xml

Modified: james/server/trunk/pom.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/pom.xml?rev=1029009&r1=1029008&r2=1029009&view=diff
==============================================================================
--- james/server/trunk/pom.xml (original)
+++ james/server/trunk/pom.xml Sat Oct 30 09:37:39 2010
@@ -1146,6 +1146,52 @@
         <javax.activation.artifactId>geronimo-activation_1.1_spec</javax.activation.artifactId>
       </properties>
     </profile>
+    
+    <!-- TODO: Move this to james parent pom -->
+    <!-- This take care of generate a zip and tar.gz file for the source -->
+    <profile>
+      <id>apache-release</id>
+      <activation>
+        <property>
+          <name>apache-release</name>
+        </property>
+      </activation>
+      <build>
+        <plugins>
+          <!-- waiting for release -->
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-assembly-plugin</artifactId>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>single</goal>
+                </goals>
+                <phase>package</phase>
+                <configuration>
+                  <tarLongFileMode>gnu</tarLongFileMode>
+                  <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
+                  <descriptorRefs>
+                    <descriptorRef>source-release</descriptorRef>
+                  </descriptorRefs>
+                </configuration>
+              </execution>
+            </executions>
+            <dependencies>
+              <dependency>
+                <!-- apache version not yet released -->
+                <!--<groupId>org.apache</groupId>-->
+                <groupId>org.apache.geronimo.genesis</groupId>
+                <artifactId>apache-source-release-assembly-descriptor</artifactId>
+                <!-- apache version not yet known -->
+                <version>2.0</version>
+              </dependency>
+            </dependencies>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+    
   </profiles>
   <properties>
     <javax.activation.groupId>javax.activation</javax.activation.groupId>



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org