Changeset 16183 in josm


Ignore:
Timestamp:
2020-03-21T12:49:56+01:00 (19 months ago)
Author:
simon04
Message:

see #16860 - <get> Apache Ivy, remove ivy.jar from repository

Location:
trunk
Files:
3 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r16171 r16183  
    1717>
    1818    <target name="init-ivy">
     19        <property name="ivy.version" value="2.5.0"/>
    1920        <dirname property="base.dir" file="${ant.file.josm}"/>
    2021        <property name="lib.dir"   location="${base.dir}/lib"/>
    2122        <property name="tools.dir" location="${base.dir}/tools"/>
    2223        <property name="tools.ivy" location="${tools.dir}/ivy.xml"/>
    23         <taskdef resource="org/apache/ivy/ant/antlib.xml" uri="antlib:org.apache.ivy.ant" classpath="${tools.dir}/ivy/ivy.jar"/>
     24        <property name="ivy.jar.dir" location="${tools.dir}/ivy"/>
     25        <property name="ivy.jar.file" location="${ivy.jar.dir}/ivy-${ivy.version}.jar"/>
     26        <mkdir dir="${ivy.jar.dir}"/>
     27        <get src="https://josm.openstreetmap.de/nexus/content/repositories/public/org/apache/ivy/ivy/${ivy.version}/ivy-${ivy.version}.jar"
     28             dest="${ivy.jar.file}"
     29             skipexisting="true"
     30        />
     31        <taskdef resource="org/apache/ivy/ant/antlib.xml" uri="antlib:org.apache.ivy.ant" classpath="${ivy.jar.file}"/>
    2432    </target>
    2533    <target name="init-properties" depends="resolve">
     
    10961104        <ivy:cachefileset setid="runtime.fileset" conf="runtime"/>
    10971105        <ivy:cachepath pathid="test.path" conf="test"/>
    1098         <ivy:retrieve pattern="${tools.dir}/ivy/[artifact]-[type].[ext]" conf="ivy"/>
    10991106    </target>
    11001107    <target name="extract-libraries" depends="resolve" description="extract libraries to build dir">
  • trunk/ivy.xml

    r16167 r16183  
    44    <info organisation="org.openstreetmap" module="josm"/>
    55    <configurations>
    6         <conf name="ivy" description="Apache Ivy configuration for self-update"/>
    76        <!--  configuration that should be used when specifying dependencies -->
    87        <conf name="implementation" description="All libs JOSM uses that plugins should not use"/>
Note: See TracChangeset for help on using the changeset viewer.