MNEMONIC-38: Generate a single source release artifact
diff --git a/allocator-services/pom.xml b/allocator-services/pom.xml
index 5dd4774..d82f2ff 100644
--- a/allocator-services/pom.xml
+++ b/allocator-services/pom.xml
@@ -13,7 +13,7 @@
   <packaging>pom</packaging>
  
   <name>Mnemonic Project Allocator Services Parent POM</name>
-  <url>https://github.com/apache/incubator-mnemonic</url>
+  <url>http://mnemonic.incubator.apache.org</url>
 
   <properties>
     <service.basedir>${project.parent.basedir}</service.basedir>
diff --git a/build-tools/source-assembly.xml b/build-tools/source-assembly.xml
new file mode 100644
index 0000000..cda6923
--- /dev/null
+++ b/build-tools/source-assembly.xml
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+
+<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3"
+	  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	  xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd">
+  <id>src</id>
+  <formats>
+    <format>tar.gz</format>
+    <format>tar.bz2</format>
+    <format>zip</format>
+  </formats>
+  <fileSets>
+    <fileSet>
+      <directory>${project.basedir}</directory>
+      <includes>
+        <include>README*</include>
+        <include>LICENSE*</include>
+        <include>NOTICE*</include>
+        <include>pom.xml</include>
+      </includes>
+      <useDefaultExcludes>true</useDefaultExcludes>
+    </fileSet>
+    <fileSet>
+      <directory>${project.basedir}/src</directory>
+      <useDefaultExcludes>true</useDefaultExcludes>
+      <excludes>
+        <exclude>/main/native/build/**</exclude>
+	<exclude>dependency-reduced-pom.xml</exclude>
+	<exclude>*.dat</exclude>
+      </excludes>
+    </fileSet>
+  </fileSets>
+</assembly>
+
diff --git a/pom.xml b/pom.xml
index 89f24a8..bf772c9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -27,7 +27,7 @@
   <version>0.1.1-incubating-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>Mnemonic Project Parent POM</name>
-  <url>https://github.com/apache/incubator-mnemonic</url>
+  <url>http://mnemonic.incubator.apache.org</url>
 
   <parent>
     <groupId>org.apache</groupId>
@@ -417,6 +417,34 @@
   </profile>
 
   <profile>
+    <id>apache-release</id>
+    <build>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-assembly-plugin</artifactId>
+          <version>2.4</version>
+          <configuration>
+            <finalName>apache-mnemonic-${project.version}</finalName>
+            <descriptor>build-tools/source-assembly.xml</descriptor>
+            <formats>
+              <format>tar.gz</format>
+            </formats>
+          </configuration>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-remote-resources-plugin</artifactId>
+          <configuration>
+            <!-- Disable this plugin so that it won't generate a DEPENDENCIES file in the source tar -->
+            <skip>true</skip>
+          </configuration>
+        </plugin>
+      </plugins>
+    </build>
+  </profile>
+
+  <profile>
     <id>release-sign-artifacts</id>
     <activation>
       <property>