Index: applications/editors/josm/plugins/pbf/build.xml
===================================================================
--- applications/editors/josm/plugins/pbf/build.xml	(revision 35603)
+++ applications/editors/josm/plugins/pbf/build.xml	(revision 35604)
@@ -14,25 +14,5 @@
     <!-- ** include targets that all plugins have in common ** -->
     <import file="../build-common.xml"/>
-  
-    <!--
-    **********************************************************
-    ** compile - complies the source tree
-    **********************************************************
-    -->
-    <target name="compile" depends="init">
-        <echo message="compiling sources for ${plugin.jar} ... "/>
-        <javac classpath="${josm}" debug="true" destdir="${plugin.build.dir}" includeAntRuntime="false">
-            <!-- get rid of "internal proprietary API" warning -->
-            <compilerarg value="-XDignore.symbol.file"/>
-            <src path="src" />
-            <src path="gen" />
-            <exclude name="org/**"/>
-        </javac>
-        <javac classpath="${josm}" debug="true" destdir="${plugin.build.dir}" includeAntRuntime="false">
-            <compilerarg value="-Xlint:deprecation"/>
-            <compilerarg value="-Xlint:unchecked"/>
-            <src path="src" />
-            <include name="org/**"/>
-        </javac>
-    </target>
+    <target name="pre-compile" depends="fetch_dependencies"/>
+
 </project>
Index: applications/editors/josm/plugins/pbf/ivy.xml
===================================================================
--- applications/editors/josm/plugins/pbf/ivy.xml	(revision 35604)
+++ applications/editors/josm/plugins/pbf/ivy.xml	(revision 35604)
@@ -0,0 +1,6 @@
+<ivy-module version="2.0">
+  <info organisation="org.openstreetmap.josm.plugins" module="pbf"/>
+  <dependencies>
+    <dependency conf="default->default" org="org.openstreetmap.pbf" name="osmpbf" rev="1.4.0"/>
+  </dependencies>
+</ivy-module>
Index: applications/editors/josm/plugins/pbf/ivy_settings.xml
===================================================================
--- applications/editors/josm/plugins/pbf/ivy_settings.xml	(revision 35604)
+++ applications/editors/josm/plugins/pbf/ivy_settings.xml	(revision 35604)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ivysettings>
+  <settings defaultResolver="josm-nexus"/>
+  <resolvers>
+    <ibiblio name="josm-nexus" m2compatible="true" root="https://josm.openstreetmap.de/nexus/content/repositories/public/" />
+  </resolvers>
+</ivysettings>
