Changeset 18629 in josm for trunk


Ignore:
Timestamp:
2023-01-11T00:08:25+01:00 (23 months ago)
Author:
taylor.smock
Message:

Fix #22641: Update tag2link in dependencies (patch by gaben, modified for additional dependencies)

ivy.xml

tools/ivy.xml

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/ivy.xml

    r18587 r18629  
    3333        <dependency conf="api->default" org="ch.poole" name="OpeningHoursParser" rev="0.27.0"/>
    3434        <dependency conf="api->default" org="oauth.signpost" name="signpost-core" rev="2.1.1"/>
    35         <dependency conf="api->default" org="org.webjars.npm" name="tag2link" rev="2021.3.21"/>
     35        <!-- Don't forget to update org.openstreetmap.josm.tools.Tag2Link#PREF_SOURCE -->
     36        <dependency conf="api->default" org="org.webjars.npm" name="tag2link" rev="2022.11.28"/>
    3637        <!-- sources->sources -->
    3738        <dependency conf="sources->sources" org="org.openstreetmap.jmapviewer" name="jmapviewer" rev="2.16"/>
     
    4748        <dependency conf="sources->sources" org="ch.poole" name="OpeningHoursParser" rev="0.27.0"/>
    4849        <dependency conf="sources->sources" org="oauth.signpost" name="signpost-core" rev="2.1.1"/>
    49         <dependency conf="sources->default" org="org.webjars.npm" name="tag2link" rev="2021.3.21"/><!-- sources->default sic! (tag2link-sources.jar is empty, see #19335) -->
     50        <dependency conf="sources->default" org="org.webjars.npm" name="tag2link" rev="2022.11.28"/><!-- sources->default sic! (tag2link-sources.jar is empty, see #19335) -->
    5051        <!-- commonslang->default -->
    5152        <dependency conf="commonslang->default" org="org.apache.commons" name="commons-lang3" rev="3.12.0"/>
     
    5960        <dependency conf="test->default" org="com.ginsberg" name="junit5-system-exit" rev="1.1.2"/>
    6061        <dependency conf="test->default" org="com.github.tomakehurst" name="wiremock-jre8" rev="2.35.0"/>
    61         <dependency conf="test->default" org="io.github.classgraph" name="classgraph" rev="4.8.149"/>
     62        <dependency conf="test->default" org="io.github.classgraph" name="classgraph" rev="4.8.154"/>
    6263        <dependency conf="test->default" org="org.junit.platform" name="junit-platform-launcher" rev="1.9.1"/>
    6364        <dependency conf="test->default" org="org.junit.vintage" name="junit-vintage-engine" rev="5.9.1"/>
     
    6768        <dependency conf="test->default" org="org.junit.jupiter" name="junit-jupiter-migrationsupport" rev="5.9.1"/>
    6869        <dependency conf="test->default" org="net.trajano.commons" name="commons-testing" rev="2.1.0"/>
    69         <dependency conf="test->default" org="nl.jqno.equalsverifier" name="equalsverifier" rev="3.11"/>
     70        <dependency conf="test->default" org="nl.jqno.equalsverifier" name="equalsverifier" rev="3.12.3"/>
    7071        <dependency conf="test->default" org="org.apache.commons" name="commons-lang3" rev="3.12.0"/>
    7172        <dependency conf="test->default" org="org.awaitility" name="awaitility" rev="4.2.0"/>
  • trunk/src/org/openstreetmap/josm/tools/Tag2Link.java

    r18475 r18629  
    6565
    6666    static final ListProperty PREF_SOURCE = new ListProperty("tag2link.source",
    67             Collections.singletonList("resource://META-INF/resources/webjars/tag2link/2021.3.21/index.json"));
     67            Collections.singletonList("resource://META-INF/resources/webjars/tag2link/2022.11.28/index.json"));
    6868
    6969    static final CachingProperty<List<String>> PREF_SEARCH_ENGINES = new ListProperty("tag2link.search",
  • trunk/tools/ivy.xml

    r18587 r18629  
    1919        <dependency org="com.puppycrawl.tools" name="checkstyle" rev="9.3" conf="checkstyle->default"/>
    2020        <!-- proguard->default -->
    21         <dependency org="com.guardsquare" name="proguard-ant" rev="7.2.2" conf="proguard->default"/>
     21        <dependency org="com.guardsquare" name="proguard-ant" rev="7.3.0" conf="proguard->default"/>
    2222        <!-- pmd->default -->
    23         <dependency org="net.sourceforge.pmd" name="pmd-core" rev="6.51.0" conf="pmd->default"/>
    24         <dependency org="net.sourceforge.pmd" name="pmd-java" rev="6.51.0" conf="pmd->default"/>
     23        <dependency org="net.sourceforge.pmd" name="pmd-core" rev="6.53.0" conf="pmd->default"/>
     24        <dependency org="net.sourceforge.pmd" name="pmd-java" rev="6.53.0" conf="pmd->default"/>
    2525        <dependency org="net.sourceforge.saxon" name="saxon" rev="9.1.0.8" conf="pmd->default">
    2626            <artifact name="saxon" type="jar"/>
  • trunk/tools/pmd/josm-ruleset.xml

    r18514 r18629  
    33    xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
    44    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    5     xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 http://pmd.sourceforge.net/ruleset_2_0_0.xsd">
     5    xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 https://pmd.sourceforge.io/ruleset_2_0_0.xsd">
    66
    77  <description>JOSM PMD ruleset</description>
     
    130130    <exclude name="DataClass"/>
    131131    <exclude name="ExceptionAsFlowControl"/>
    132     <exclude name="ExcessiveClassLength"/>
    133132    <exclude name="ExcessiveImports"/>
    134     <exclude name="ExcessiveMethodLength"/>
    135133    <exclude name="ExcessiveParameterList"/>
    136134    <exclude name="ExcessivePublicCount"/>
     
    169167    <exclude name="AvoidInstanceofChecksInCatchClause"/>
    170168    <exclude name="AvoidLiteralsInIfCondition"/>
    171     <exclude name="BeanMembersShouldSerialize"/>
    172169    <exclude name="CloneThrowsCloneNotSupportedException"/>
    173170    <!-- <exclude name="CloseResource"/> -->
     
    180177    <exclude name="MissingSerialVersionUID"/>
    181178    <exclude name="MissingStaticMethodInNonInstantiatableClass"/>
     179    <exclude name="NonSerializableClass"/>
    182180    <exclude name="NonStaticInitializer"/>
    183181    <exclude name="NullAssignment"/>
Note: See TracChangeset for help on using the changeset viewer.