Ticket #20669: 20669.2.patch

File 20669.2.patch, 26.4 KB (added by taylor.smock, 4 years ago)

Additional excludes for ivy

  • build.xml

     
    11<?xml version="1.0" encoding="utf-8"?>
    2 <project name="geotools" default="dist" basedir=".">
     2  <project name="geotools" default="dist" basedir="." xmlns:ivy="antlib:org.apache.ivy.ant">
    33    <!-- enter the SVN commit message -->
    44    <property name="commit.message" value="Commit message"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
     
    1010    <property name="plugin.description" value="Provides parts of the GeoTools library for other JOSM plugins. Not meant to be installed directly by users, but rather as a dependency for other plugins."/>
    1111    <property name="plugin.icon" value="images/compass.png"/>
    1212    <property name="plugin.canloadatruntime" value="true"/>
    13     <property name="plugin.requires" value="jts;ejml;apache-commons"/>
     13    <property name="plugin.requires" value="ejml;apache-commons;jaxb;jts"/>
    1414    <property name="plugin.stage" value="20"/>
    1515
    1616    <!-- ** include targets that all plugins have in common ** -->
    1717    <import file="../build-common.xml"/>
    1818
     19    <target name="pre-compile" depends="fetch_dependencies">
     20        <!-- include fetch_dependencies task -->
     21    </target>
     22
    1923        <fileset id="plugin.requires.jars" dir="${plugin.dist.dir}">
     24        <include name="apache-commons.jar"/>
     25        <include name="ejml.jar"/>
     26        <include name="jaxb.jar"/>
    2027        <include name="jts.jar"/>
    21         <include name="ejml.jar"/>
    22         <include name="apache-commons.jar"/>
    2328    </fileset>
    2429
    2530    <target name="merge-geotools-services">
  • ivy.xml

     
     1<?xml version="1.0" encoding="utf-8"?>
     2<!-- License: GPL. For details, see LICENSE file. -->
     3<ivy-module version="2.0">
     4    <info organisation="org.openstreetmap.josm.plugins" module="geotools"/>
     5    <dependencies>
     6        <dependency org="org.geotools" name="gt-coverage" rev="${gt.version}" conf="default->default"/>
     7        <dependency org="org.geotools" name="gt-coverage-api" rev="${gt.version}" conf="default->default"/>
     8        <dependency org="org.geotools" name="gt-epsg-extension" rev="${gt.version}" conf="default->default"/>
     9        <dependency org="org.geotools" name="gt-epsg-hsql" rev="${gt.version}" conf="default->default"/>
     10        <dependency org="org.geotools" name="gt-geotiff" rev="${gt.version}" conf="default->default"/>
     11        <dependency org="org.geotools" name="gt-main" rev="${gt.version}" conf="default->default"/>
     12        <dependency org="org.geotools" name="gt-metadata" rev="${gt.version}" conf="default->default"/>
     13        <dependency org="org.geotools" name="gt-opengis" rev="${gt.version}" conf="default->default"/>
     14        <dependency org="org.geotools" name="gt-referencing" rev="${gt.version}" conf="default->default"/>
     15        <dependency org="org.geotools" name="gt-shapefile" rev="${gt.version}" conf="default->default"/>
     16        <!-- Dependencies that were not needed in 22.0 (according to lib in svn) -->
     17        <exclude org="org.geotools" module="gt-imagemosaic"/>
     18        <exclude org="net.sourceforge.hatbox" module="hatbox"/>
     19        <exclude org="com.google.guava" module="guava"/>
     20        <!-- unnecessary dependencies -->
     21        <exclude org="com.github.spotbugs"/>
     22        <exclude org="org.geotools.demo"/>
     23        <!-- Large dependencies to avoid until someone needs them -->
     24        <!-- Excluded due to depending upon ehcache, which is 1.6M -->
     25        <exclude org="it.geosolutions.imageio-ext" module="imageio-ext-cog-reader" />
     26        <!-- ecore is rather large (1.3M) -->
     27        <exclude org="org.eclipse.emf"/>
     28        <!-- from jaxb plugin (Eclipse JAXB 2.3.2, at time of writing) JAXB 3.0 uses jakarta.xml.bind/com.sun.xml.bind -->
     29        <exclude org="javax.xml.bind" module="jaxb-api" />
     30        <exclude org="org.glassfish.jaxb" module="jaxb-runtime" />
     31        <!-- from ejml plugin -->
     32        <exclude org="org.ejml"/>
     33        <!-- from jts plugin -->
     34        <exclude org="org.locationtech.jts" module="jts-core"/>
     35        <exclude org="org.locationtech.jts.io" module="jts-io-common"/>
     36        <!-- from apache-commons plugin -->
     37        <exclude org="com.github.luben" module="zstd-jni"/>
     38        <exclude org="org.apache.commons" module="commons-collections4"/>
     39        <exclude org="org.apache.commons" module="commons-compress"/>
     40        <exclude org="org.apache.commons" module="commons-imaging"/>
     41        <exclude org="commons-io" module="commons-io"/>
     42        <exclude org="commons-logging" module="commons-logging"/>
     43        <exclude org="org.apache.commons" module="commons-lang3"/>
     44        <exclude org="org.apache.commons" module="commons-math3"/>
     45        <exclude org="org.apache.commons" module="commons-text"/>
     46        <exclude org="org.brotli" module="dec"/>
     47        <exclude org="org.tukaani" module="xz"/>
     48    </dependencies>
     49</ivy-module>
  • ivy_settings.xml

     
     1<?xml version="1.0" encoding="utf-8"?>
     2<ivysettings>
     3  <!--<include file="../../core/ivysettings.xml"/>-->
     4  <property name="gt.version" value="26.1"/> <!-- 26.1 -->
     5  <settings defaultResolver="ordered-resolvers"/>
     6  <resolvers>
     7    <chain name="ordered-resolvers">
     8      <ibiblio name="osgeo" m2compatible="true" root="https://repo.osgeo.org/repository/release/" />
     9      <ibiblio name="central" m2compatible="true" root="https://repo1.maven.org/maven2/" />
     10      <!--<ibiblio name="josm-nexus" m2compatible="true" root="https://josm.openstreetmap.de/nexus/content/repositories/public/" />-->
     11      <!--<resolver ref="josm-nexus"/>-->
     12    </chain>
     13  </resolvers>
     14</ivysettings>
     15