How about this:

```patch
git diff
diff --git a/build.xml b/build.xml
index b5e7783..7858707 100755
--- a/build.xml
+++ b/build.xml
@@ -200,9 +200,19 @@ TODO:
     <attribute name="refid" default="@{project}.fileset"/>
     <sequential>
       <delete dir="${build-deps.dir}/@{project}" includes="*.jar"/>
-      <copy todir="${build-deps.dir}/@{project}">
+      <copy todir="${build-deps.dir}/@{project}" verbose="true">
         <resources refid="@{refid}" />
-        <mapper type="flatten" />
+          <chainedmapper>
+            <flattenmapper/>
+            <!--
+            Strip versions to make the Eclipse .classpath files more stabl
+
+            scala-xml_2.11.0-M4-1.0-RC3.jar ~> scala-xml.jar
+            jline-2.11.jar                  ~> jline.jar
+            no-version.jar                  ~> no-version.jar
+             -->
+            <regexpmapper handledirsep="true" from="(.*?)([\-_]\d.*\.|\.)(
+          </chainedmapper>
       </copy>
     </sequential>
   </macrodef>
```

```
  /code/scala find build/deps -type f
build/deps/junit/hamcrest-core.jar
build/deps/junit/junit.jar
build/deps/partest/ant-launcher.jar
build/deps/partest/ant.jar
build/deps/partest/diffutils.jar
build/deps/partest/scala-actors.jar
build/deps/partest/scala-compiler.jar
build/deps/partest/scala-library.jar
build/deps/partest/scala-parser-combinators.jar
build/deps/partest/scala-partest.jar
build/deps/partest/scala-reflect.jar
build/deps/partest/scala-xml.jar
build/deps/partest/scalacheck.jar
build/deps/partest/scalap.jar
build/deps/partest/test-interface.jar
build/deps/repl/jline.jar
build/deps/scaladoc/scala-parser-combinators.jar
build/deps/scaladoc/scala-xml.jar
```