Skip to content

Apache Lucene open-source search software

Fix broken maven repository URL on filesystems with spaces and backslash...

Uwe Schindlere053eb2a1645
diff --git a/lucene/common-build.xml b/lucene/common-build.xml
index 2c9b8b37ae9..002788468b6 100644
--- a/lucene/common-build.xml
+++ b/lucene/common-build.xml
@@ -170,7 +170,7 @@
<property name="tests.lockdir" location="${common.build.dir}"/>
<property name="dist.dir" location="${common.dir}/dist"/>
<property name="maven.dist.dir" location="${dist.dir}/maven"/>
- <property name="m2.repository.url" value="file://${maven.dist.dir}"/>
+ <makeurl file="${maven.dist.dir}" property="m2.repository.url" validate="false"/>
<property name="m2.repository.private.key" value="${user.home}/.ssh/id_dsa"/>
<property name="jflex.home" location="${common.dir}"/>