Index: /applications/editors/josm/plugins/ejml/build.xml
===================================================================
--- /applications/editors/josm/plugins/ejml/build.xml	(revision 35882)
+++ /applications/editors/josm/plugins/ejml/build.xml	(revision 35883)
@@ -1,4 +1,4 @@
 <?xml version="1.0" encoding="utf-8"?>
-<project name="ejml" default="dist" basedir=".">
+<project name="ejml" default="dist" basedir="." xmlns:ivy="antlib:org.apache.ivy.ant">
     <!-- enter the SVN commit message -->
     <property name="commit.message" value="Commit message"/>
@@ -16,3 +16,7 @@
     <import file="../build-common.xml"/>
 
+    <target name="pre-compile" depends="fetch_dependencies">
+        <!-- include fetch_dependencies task -->
+    </target>
+
 </project>
Index: /applications/editors/josm/plugins/ejml/ivy.xml
===================================================================
--- /applications/editors/josm/plugins/ejml/ivy.xml	(revision 35883)
+++ /applications/editors/josm/plugins/ejml/ivy.xml	(revision 35883)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- License: GPL. For details, see LICENSE file. -->
+<ivy-module version="2.0">
+    <info organisation="org.openstreetmap.josm.plugins" module="ejml"/>
+    <dependencies>
+        <!-- We included everything in 0.34, including experimental -->
+        <dependency org="org.ejml" name="ejml-all" rev="0.34"/>
+        <dependency org="org.ejml" name="ejml-experimental" rev="0.34"/>
+        <!-- junit is included as a test dependency in 0.34. It does not appear in 0.41, so can be removed on ejml update. -->
+        <exclude org="junit"/>
+    </dependencies>
+</ivy-module>
