Changeset 19250 in josm
- Timestamp:
- 2024-10-25T12:32:55+02:00 (4 weeks ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/build.xml
r19174 r19250 388 388 <pathelement path="${resources.dir}"/> 389 389 </path> 390 <ivy:retrieve log="download-only" pattern="${test.dir}/lib/[artifact].[ext]" conf="junit5-system-exit"/> 390 391 <ivy:retrieve log="download-only" pattern="${test.dir}/lib/[artifact].[ext]" conf="jmockit"/> 391 392 <ivy:retrieve log="download-only" pattern="${tools.dir}/[artifact].[ext]" conf="commonslang"/> … … 464 465 <jvmarg value="-Djava.locale.providers=SPI,CLDR" /> 465 466 <jvmarg value="-Djava.security.manager=allow" if:set="isJava17" /> 467 <jvmarg value="-javaagent:${test.dir}/lib/junit5-system-exit.jar" if:set="isJava17"/> 466 468 <jvmarg value="-javaagent:${test.dir}/lib/jmockit.jar"/> 467 469 <jvmarg value="-Djunit.jupiter.extensions.autodetection.enabled=true"/> -
trunk/ivy.xml
r19208 r19250 13 13 <conf name="jmockit" description="JMockit test library"/> 14 14 <conf name="jacocoant" description="Jacoco Ant test library"/> 15 <conf name="junit5-system-exit" description="Everything needed for running junit5-system-exit as a javaagent"/> 15 16 <!-- Meta configurations used in build scripts --> 16 17 <conf name="runtime" description="Libraries only needed at runtime" extends="implementation,api,runtimeOnly"/> 17 18 <conf name="compile" description="Libraries needed only for compilation" extends="implementation,api,provided"/> 18 <conf name="test" description="Libraries only needed for testing" extends="compile,runtime,commonslang,jmockit "/>19 <conf name="test" description="Libraries only needed for testing" extends="compile,runtime,commonslang,jmockit,junit5-system-exit"/> 19 20 <conf name="sources" description="Source code of used libraries"/> 20 21 </configurations> … … 34 35 <dependency conf="api->default" org="ch.poole" name="OpeningHoursParser" rev="0.28.2"/> 35 36 <!-- Don't forget to update org.openstreetmap.josm.tools.Tag2Link#PREF_SOURCE --> 36 <dependency conf="api->default" org="org.webjars.npm" name="tag2link" rev="2024. 8.21"/>37 <dependency conf="api->default" org="org.webjars.npm" name="tag2link" rev="2024.10.21"/> 37 38 <!-- sources->sources --> 38 39 <dependency conf="sources->sources" org="org.openstreetmap.jmapviewer" name="jmapviewer" rev="2.22"/> … … 47 48 <dependency conf="sources->sources" org="com.formdev" name="svgSalamander" rev="1.1.4"/> 48 49 <dependency conf="sources->sources" org="ch.poole" name="OpeningHoursParser" rev="0.28.2"/> 49 <dependency conf="sources->default" org="org.webjars.npm" name="tag2link" rev="2024. 8.21"/><!-- sources->default sic! (tag2link-sources.jar is empty, see #19335) -->50 <dependency conf="sources->default" org="org.webjars.npm" name="tag2link" rev="2024.10.21"/><!-- sources->default sic! (tag2link-sources.jar is empty, see #19335) --> 50 51 <!-- commonslang->default --> 51 52 <dependency conf="commonslang->default" org="org.apache.commons" name="commons-lang3" rev="3.17.0"/> … … 55 56 </dependency> 56 57 <dependency conf="jmockit->default" org="org.jmockit" name="jmockit" rev="1.49.a"/> 58 <dependency conf="junit5-system-exit->default" org="com.ginsberg" name="junit5-system-exit" rev="${versions.junit5-system-exit}"/> 57 59 <!-- test->default --> 58 60 <dependency conf="test->default" org="com.github.spotbugs" name="spotbugs-annotations" rev="4.8.6"/> 59 <dependency conf="test->default" org="com.ginsberg" name="junit5-system-exit" rev="1.1.2"/> 60 <dependency conf="test->default" org="org.wiremock" name="wiremock" rev="3.9.1"/> 61 <dependency conf="test->default" org="io.github.classgraph" name="classgraph" rev="4.8.175"/> 62 <dependency conf="test->default" org="org.junit.platform" name="junit-platform-launcher" rev="1.11.0"/> 63 <dependency conf="test->default" org="org.junit.platform" name="junit-platform-suite" rev="1.11.0"/> 64 <dependency conf="test->default" org="org.junit.vintage" name="junit-vintage-engine" rev="5.11.0"/> 65 <dependency conf="test->default" org="org.junit.jupiter" name="junit-jupiter-params" rev="5.11.0"/> 66 <dependency conf="test->default" org="org.junit.jupiter" name="junit-jupiter-api" rev="5.11.0"/> 67 <dependency conf="test->default" org="org.junit.jupiter" name="junit-jupiter-engine" rev="5.11.0"/> 68 <dependency conf="test->default" org="org.junit.jupiter" name="junit-jupiter-migrationsupport" rev="5.11.0"/> 61 <dependency conf="test->default" org="org.wiremock" name="wiremock" rev="3.9.2"/> 62 <dependency conf="test->default" org="io.github.classgraph" name="classgraph" rev="4.8.177"/> 63 <dependency conf="test->default" org="org.junit.platform" name="junit-platform-launcher" rev="1.11.3"/> 64 <dependency conf="test->default" org="org.junit.platform" name="junit-platform-suite" rev="1.11.3"/> 65 <dependency conf="test->default" org="org.junit.vintage" name="junit-vintage-engine" rev="5.11.3"/> 66 <dependency conf="test->default" org="org.junit.jupiter" name="junit-jupiter-params" rev="5.11.3"/> 67 <dependency conf="test->default" org="org.junit.jupiter" name="junit-jupiter-api" rev="5.11.3"/> 68 <dependency conf="test->default" org="org.junit.jupiter" name="junit-jupiter-engine" rev="5.11.3"/> 69 <dependency conf="test->default" org="org.junit.jupiter" name="junit-jupiter-migrationsupport" rev="5.11.3"/> 69 70 <dependency conf="test->default" org="net.trajano.commons" name="commons-testing" rev="2.1.0"/> 70 71 <dependency conf="test->default" org="nl.jqno.equalsverifier" name="equalsverifier" rev="3.16.2"/> -
trunk/ivysettings.xml
r19048 r19250 6 6 <ibiblio name="josm-nexus" m2compatible="true" root="https://josm.openstreetmap.de/nexus/content/repositories/public/" /> 7 7 </resolvers> 8 <!-- Remove junit5-system-exit specific statements in build.xml when we drop Java 11 as a build platform --> 9 <property name="versions.junit5-system-exit" value="1.1.2" unlessset="isJava17"/> 10 <property name="versions.junit5-system-exit" value="2.0.0" ifset="isJava17"/> 8 11 </ivysettings> -
trunk/pom.xml
r19208 r19250 41 41 <default-junitIT-includes>**/*TestIT.class</default-junitIT-includes> 42 42 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 43 <!-- Needed just in case something adds argLine for tests before we set it --> 44 <argLine/> 43 45 </properties> 44 46 <packaging>jar</packaging> … … 463 465 <!-- We might need @{argLine} in the future if another plugin has issues --> 464 466 <argLine> 465 -javaagent:"${settings.localRepository}"/org/jmockit/jmockit/${jmockit.version}/jmockit-${jmockit.version}.jar 467 @{argLine} 468 -javaagent:${org.jmockit:jmockit:jar} 466 469 --add-opens java.base/java.io=ALL-UNNAMED 467 470 --add-opens java.base/java.lang=ALL-UNNAMED … … 742 745 </plugins> 743 746 </build> 747 <profiles> 748 <profile> 749 <id>java-17</id> 750 <activation> 751 <jdk>[17</jdk> 752 </activation> 753 <build> 754 <plugins> 755 <plugin> 756 <artifactId>maven-surefire-plugin</artifactId> 757 <configuration> 758 <!-- We might need @{argLine} in the future if another plugin has issues --> 759 <argLine> 760 @{argLine} 761 -javaagent:${com.ginsberg:junit5-system-exit:jar} 762 -javaagent:${org.jmockit:jmockit:jar} 763 --add-opens java.base/java.io=ALL-UNNAMED 764 --add-opens java.base/java.lang=ALL-UNNAMED 765 --add-opens java.base/java.nio=ALL-UNNAMED 766 --add-opens java.base/java.text=ALL-UNNAMED 767 --add-opens java.base/java.util=ALL-UNNAMED 768 --add-opens java.base/jdk.internal.loader=ALL-UNNAMED 769 --add-opens java.desktop/java.awt=ALL-UNNAMED 770 --add-opens java.prefs/java.util.prefs=ALL-UNNAMED 771 </argLine> 772 </configuration> 773 </plugin> 774 </plugins> 775 </build> 776 </profile> 777 </profiles> 744 778 </project> -
trunk/src/org/openstreetmap/josm/tools/Tag2Link.java
r19208 r19250 65 65 66 66 static final ListProperty PREF_SOURCE = new ListProperty("tag2link.source", 67 Collections.singletonList("resource://META-INF/resources/webjars/tag2link/2024. 8.21/index.json"));67 Collections.singletonList("resource://META-INF/resources/webjars/tag2link/2024.10.21/index.json")); 68 68 69 69 static final CachingProperty<List<String>> PREF_SEARCH_ENGINES = new ListProperty("tag2link.search", -
trunk/tools/ivy.xml
r19208 r19250 17 17 <dependency org="net.java.dev.javacc" name="javacc" rev="7.0.13" conf="javacc->default"/> 18 18 <!-- checkstyle->default --> 19 <dependency org="com.puppycrawl.tools" name="checkstyle" rev="10.18. 1" conf="checkstyle->default"/>19 <dependency org="com.puppycrawl.tools" name="checkstyle" rev="10.18.2" conf="checkstyle->default"/> 20 20 <!-- proguard->default --> 21 <dependency org="com.guardsquare" name="proguard-ant" rev="7. 5.0" conf="proguard->default"/>21 <dependency org="com.guardsquare" name="proguard-ant" rev="7.6.0" conf="proguard->default"/> 22 22 <!-- pmd->default --> 23 <dependency org="net.sourceforge.pmd" name="pmd-core" rev="7. 5.0" conf="pmd->default"/>24 <dependency org="net.sourceforge.pmd" name="pmd-ant" rev="7. 5.0" conf="pmd->default"/>25 <dependency org="net.sourceforge.pmd" name="pmd-java" rev="7. 5.0" conf="pmd->default"/>26 <dependency org="org.xmlresolver" name="xmlresolver" rev="6.0. 4" conf="pmd->default"/>23 <dependency org="net.sourceforge.pmd" name="pmd-core" rev="7.6.0" conf="pmd->default"/> 24 <dependency org="net.sourceforge.pmd" name="pmd-ant" rev="7.6.0" conf="pmd->default"/> 25 <dependency org="net.sourceforge.pmd" name="pmd-java" rev="7.6.0" conf="pmd->default"/> 26 <dependency org="org.xmlresolver" name="xmlresolver" rev="6.0.10" conf="pmd->default"/> 27 27 <!-- spotbugs->default --> 28 28 <dependency org="com.github.spotbugs" name="spotbugs" rev="4.8.6" conf="spotbugs->default"/>
Note:
See TracChangeset
for help on using the changeset viewer.