Index: common-build.xml
===================================================================
--- common-build.xml	(revision 589886)
+++ common-build.xml	(working copy)
@@ -55,7 +55,8 @@
   <property name="src.dir" location="src/java"/>
   <property name="build.dir" location="build"/>
   <property name="dist.dir" location="dist"/>
-  <property name="maven.dist.dir" location="dist/maven"/>
+  <property name="maven.dist.dir" location="dist/maven"/>
+  <property name="m2.repository.url" value="file://${maven.dist.dir}"/>
 
   <property name="javacc.home" location="${common.dir}"/>
   <property name="jflex.home" location="${common.dir}"/>
@@ -242,7 +243,7 @@
       <artifact:pom id="maven.project" file="${build.dir}/@{pom.xml}" />
       <artifact:deploy file="${build.dir}/${maven.project.build.finalName}.jar">
         <artifact-attachments/>
-      	<remoteRepository url="file://${maven.dist.dir}"/>
+      	<remoteRepository url="${m2.repository.url}"/>
         <pom refid="maven.project"/>
       </artifact:deploy>
     </sequential>
