Index: /applications/editors/josm/plugins/opendata/build.xml
===================================================================
--- /applications/editors/josm/plugins/opendata/build.xml	(revision 34131)
+++ /applications/editors/josm/plugins/opendata/build.xml	(revision 34132)
@@ -44,6 +44,6 @@
         <javac srcdir="includes/org/jopendocument" debug="false" destdir="${plugin.build.dir}" includeAntRuntime="false" encoding="ISO-8859-1" >
             <classpath>
-                <!-- JDOM is required and embedded in geotools jar -->
-                <pathelement location="${geotools}"/>
+                <!-- JDOM is required in an older version than the one embedded in geotools jar -->
+                <pathelement location="lib/jdom-1.1.3.jar"/>
                 <pathelement location="${apache-commons}"/>
             </classpath>
@@ -100,3 +100,23 @@
         </exec>
     </target>
+
+	<target name="javadoc">
+        <javadoc destdir="${plugin.doc.dir}"
+                encoding="UTF-8"
+                windowtitle="JOSM-${ant.project.name}"
+                use="true"
+                private="true"
+                linksource="true"
+                author="false">
+            <sourcepath>
+            	<pathelement location="${plugin.src.dir}"/>
+            	<pathelement location="includes"/>
+            </sourcepath>
+        	<classpath refid="plugin.classpath"/>
+            <link href="https://docs.oracle.com/javase/8/docs/api"/>
+            <link href="https://josm.openstreetmap.de/doc"/>
+            <doctitle><![CDATA[<h2>JOSM-${ant.project.name} - Javadoc</h2>]]></doctitle>
+            <bottom><![CDATA[<a href="https://josm.openstreetmap.de/wiki/Plugins">JOSM Plugins</a>]]></bottom>
+        </javadoc>
+    </target>
 </project>
