Index: applications/editors/josm/plugins/apache-http/build.xml
===================================================================
--- applications/editors/josm/plugins/apache-http/build.xml	(revision 34632)
+++ applications/editors/josm/plugins/apache-http/build.xml	(revision 35523)
@@ -1,4 +1,4 @@
 <?xml version="1.0" encoding="utf-8"?>
-<project name="apache-http" default="dist" basedir=".">
+<project name="apache-http" default="dist" basedir="." xmlns:ivy="antlib:org.apache.ivy.ant">
 
     <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
@@ -11,7 +11,5 @@
     <property name="plugin.class" value="org.openstreetmap.josm.plugins.http.HttpPlugin"/>
     <property name="plugin.description" value="Provides Apache HTTP library. Not meant to be installed directly by users, but rather as a dependency for other plugins."/>
-    
-	<property name="josm" location="../../core/dist/josm-custom.jar"/>
-	<property name="plugin.dist.dir" value="../../dist"/>
+
     <property name="plugin.requires" value="apache-commons;jna"/>
     <property name="plugin.stage" value="15"/>
@@ -20,3 +18,9 @@
     <import file="../build-common.xml"/>
 
+    <target name="resolve" description="--> retrieve dependencies with Ivy">
+        <ivy:retrieve/>
+    </target>
+
+    <target name="dist" depends="resolve,plugin_common.dist"/>
+
 </project>
