Index: /applications/editors/josm/plugins/jts/build.xml
===================================================================
--- /applications/editors/josm/plugins/jts/build.xml	(revision 35883)
+++ /applications/editors/josm/plugins/jts/build.xml	(revision 35884)
@@ -1,4 +1,4 @@
 <?xml version="1.0" encoding="utf-8"?>
-<project name="jts" default="dist" basedir=".">
+<project name="jts" default="dist" basedir="." xmlns:ivy="antlib:org.apache.ivy.ant">
     <!-- enter the SVN commit message -->
     <property name="commit.message" value="Commit message"/>
@@ -18,3 +18,7 @@
     <!-- ** include targets that all plugins have in common ** -->
     <import file="../build-common.xml"/>
+
+    <target name="pre-compile" depends="fetch_dependencies">
+        <!-- include fetch_dependencies task -->
+    </target>
 </project>
Index: /applications/editors/josm/plugins/jts/ivy.xml
===================================================================
--- /applications/editors/josm/plugins/jts/ivy.xml	(revision 35884)
+++ /applications/editors/josm/plugins/jts/ivy.xml	(revision 35884)
@@ -0,0 +1,11 @@
+<?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="jts"/>
+    <dependencies>
+        <dependency org="org.locationtech.jts" name="jts-core" rev="1.16.1" />
+        <dependency org="org.locationtech.jts.io" name="jts-io-common" rev="1.16.1" />
+        <!-- jts-io-common has junit as a test dependency -->
+        <exclude org="junit" />
+    </dependencies>
+</ivy-module>
