Opened 3 years ago

Last modified 3 years ago

#21941 closed defect

JOSM Nexus is down — at Version 1

Reported by: taylor.smock Owned by: team
Priority: normal Milestone:
Component: Trac Version:
Keywords: Cc: stoecker

Description (last modified by taylor.smock)

Running ant dist in buildings_tools gave the following output:

Buildfile: /Users/tsmock/workspace/josm/plugins/buildings_tools/build.xml

init:

pre-compile:

download-ivy:
      [get] Getting: https://josm.openstreetmap.de/nexus/content/repositories/public/org/apache/ivy/ivy/2.5.0/ivy-2.5.0.jar
      [get] To: /Users/tsmock/.ant/lib/ivy.jar
      [get] Error opening connection java.io.IOException: Server returned HTTP response code: 503 for URL: https://josm.openstreetmap.de/nexus/content/repositories/public/org/apache/ivy/ivy/2.5.0/ivy-2.5.0.jar
      [get] Error opening connection java.io.IOException: Server returned HTTP response code: 503 for URL: https://josm.openstreetmap.de/nexus/content/repositories/public/org/apache/ivy/ivy/2.5.0/ivy-2.5.0.jar
      [get] Error opening connection java.io.IOException: Server returned HTTP response code: 503 for URL: https://josm.openstreetmap.de/nexus/content/repositories/public/org/apache/ivy/ivy/2.5.0/ivy-2.5.0.jar
      [get] Can't get https://josm.openstreetmap.de/nexus/content/repositories/public/org/apache/ivy/ivy/2.5.0/ivy-2.5.0.jar to /Users/tsmock/.ant/lib/ivy.jar

BUILD FAILED
/Users/tsmock/workspace/josm/plugins/build-common.xml:733: Can't get https://josm.openstreetmap.de/nexus/content/repositories/public/org/apache/ivy/ivy/2.5.0/ivy-2.5.0.jar to /Users/tsmock/.ant/lib/ivy.jar

This is probably due to the outage today. I'm guessing that the Nexus isn't automatically getting started on server restart.

Workaround:

  • plugins/build-common.xml

    diff --git a/plugins/build-common.xml b/plugins/build-common.xml
    index 82de4b7b3..6fe1ad0b7 100644
    a b  
    728728    -->
    729729    <target name="download-ivy">
    730730        <mkdir dir="${ivy.jar.dir}"/>
    731         <get src="https://josm.openstreetmap.de/nexus/content/repositories/public/org/apache/ivy/ivy/${ivy.version}/ivy-${ivy.version}.jar"
     731        <get src="https://repo1.maven.org/maven2/org/apache/ivy/ivy/${ivy.version}/ivy-${ivy.version}.jar"
    732732             dest="${ivy.jar.file}"
    733733             usetimestamp="true"/>
    734734    </target>

Change History (1)

comment:1 by taylor.smock, 3 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.