Index: /applications/editors/josm/plugins/print/build.xml
===================================================================
--- /applications/editors/josm/plugins/print/build.xml	(revision 31328)
+++ /applications/editors/josm/plugins/print/build.xml	(revision 31329)
@@ -5,5 +5,5 @@
     <property name="commit.message" value="Added a field to specify the map scale."/>
     <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
-    <property name="plugin.main.version" value="7676"/>
+    <property name="plugin.main.version" value="8554"/>
 
     <property name="plugin.author" value="Kai Pastor"/>
Index: /applications/editors/josm/plugins/print/src/org/openstreetmap/josm/plugins/print/PrintableMapView.java
===================================================================
--- /applications/editors/josm/plugins/print/src/org/openstreetmap/josm/plugins/print/PrintableMapView.java	(revision 31328)
+++ /applications/editors/josm/plugins/print/src/org/openstreetmap/josm/plugins/print/PrintableMapView.java	(revision 31329)
@@ -252,5 +252,5 @@
      */
     public void paintMapScale(Graphics2D g2d, PageFormat pageFormat) {
-        SystemOfMeasurement som = getSystemOfMeasurement();
+        SystemOfMeasurement som = SystemOfMeasurement.getSystemOfMeasurement();
         double dist100px = getDist100Pixel() / g2dFactor;
         double dist = dist100px / som.aValue;
@@ -411,5 +411,5 @@
      */
     @Override
-    protected List<Layer> getVisibleLayersInZOrder() {
+    public List<Layer> getVisibleLayersInZOrder() {
         ArrayList<Layer> layers = new ArrayList<>();
         for (Layer l: mapView.getAllLayersAsList()) {
