Changeset 35958 in osm


Ignore:
Timestamp:
2022-04-18T23:24:43+02:00 (3 years ago)
Author:
taylor.smock
Message:

geotools: Fix #21995 by removing Jackson and putting Jackson in its own plugin

Location:
applications/editors/josm/plugins
Files:
12 added
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/geotools/build.xml

    r35903 r35958  
    1111    <property name="plugin.icon" value="images/compass.png"/>
    1212    <property name="plugin.canloadatruntime" value="true"/>
    13     <property name="plugin.requires" value="ejml;apache-commons;jaxb;jts"/>
     13    <property name="plugin.requires" value="apache-commons;ejml;jackson;jaxb;jts"/>
    1414    <property name="plugin.stage" value="20"/>
    1515
     
    2121    </target>
    2222
    23         <fileset id="plugin.requires.jars" dir="${plugin.dist.dir}">
     23    <fileset id="plugin.requires.jars" dir="${plugin.dist.dir}">
    2424        <include name="apache-commons.jar"/>
    2525        <include name="ejml.jar"/>
    2626        <include name="jaxb.jar"/>
    2727        <include name="jts.jar"/>
     28        <include name="jackson.jar"/>
    2829    </fileset>
    2930
    3031    <target name="merge-geotools-services" depends="fetch_dependencies">
    3132        <taskdef resource="org/pescuma/mergeservices/antlib.xml" classpath="tools/merge-services.jar" />
    32         <delete dir="jar/META-INF/services"/>
    33         <merge-services dest="jar">
    34             <fileset dir="lib">
    35                 <include name="**/*.jar" />
    36                 <exclude name="**/*-javadoc.jar" />
    37                 <exclude name="**/*-source.jar" />
    38             </fileset>
    39         </merge-services>
    40         <echo>Check the updated files in jar/META-INF/services for lines where two
    41         services got merged. Example:
    42         org.geotools.coverage.util.FilterFunction_isCoverageorg.geotools.filter.AreaFunction
    43         </echo>
     33        <delete dir="jar/META-INF/services"/>
     34        <merge-services dest="jar">
     35            <fileset dir="lib">
     36                <include name="**/*.jar" />
     37                <exclude name="**/*-javadoc.jar" />
     38                <exclude name="**/*-source.jar" />
     39            </fileset>
     40        </merge-services>
     41    <echo>Check the updated files in jar/META-INF/services for lines where two
     42    services got merged. Example:
     43    org.geotools.coverage.util.FilterFunction_isCoverageorg.geotools.filter.AreaFunction
     44    </echo>
    4445    </target>
    4546
     
    7475    <target name="additional-manifest">
    7576        <manifest file="MANIFEST" mode="update">
    76                 <!-- JAI requires a vendor name for some of its deep internals,
    77                      see https://stackoverflow.com/a/18495658/2257172 -->
     77            <!-- JAI requires a vendor name for some of its deep internals,
     78                 see https://stackoverflow.com/a/18495658/2257172 -->
    7879            <attribute name="Specification-Title" value="JOSM GeoTools plugin"/>
    79             <attribute name="Specification-Version" value="${gt.version}"/>
     80            <attribute name="Specification-Version" value="${gt.version}"/>
    8081            <attribute name="Specification-Vendor" value="JOSM developers" />
    8182            <attribute name="Implementation-Title" value="org.openstreetmap.josm.plugins.geotools" />
    82             <attribute name="Implementation-Version" value="${gt.version}" />
     83            <attribute name="Implementation-Version" value="${gt.version}" />
    8384            <attribute name="Implementation-Vendor" value="JOSM developers"/>
    8485        </manifest>
  • applications/editors/josm/plugins/geotools/ivy.xml

    r35956 r35958  
    4343        <exclude org="org.brotli" module="dec"/>
    4444        <exclude org="org.tukaani" module="xz"/>
    45         <!-- from jaxb plugin -->
    46         <exclude org="javax.activation" module="javax.activation-api"/>
     45        <!-- from jaxb plugin -->
     46        <exclude org="javax.activation" module="javax.activation-api"/>
     47        <!-- from jackson plugin -->
     48        <exclude org="com.fasterxml.jackson.core" module="jackson-core"/>
    4749    </dependencies>
    4850</ivy-module>
Note: See TracChangeset for help on using the changeset viewer.