Changeset 19250 in josm for trunk/pom.xml


Ignore:
Timestamp:
2024-10-25T12:32:55+02:00 (8 months ago)
Author:
taylor.smock
Message:

Dependency updates

ivy.xml:

  • junit5-system-exit: 1.1.2 -> 2.0.0 on Java 17+. This is needed since there are patches currently being applied to the JDK to remove the security manager (see JEP 486), and the 1.x series will no longer work. The 2.x series is Java 17+ only and runs as a javaagent.
  • tag2link: 2024.8.21 -> 2024.10.21
  • wiremock: 3.9.1 -> 3.9.2
  • junit5: 5.11.0 -> 5.11.3

tools/ivy.xml:

  • checkstyle: 10.18.1 -> 10.18.2
  • proguard-ant: 7.5.0 -> 7.6.0
  • pmd: 7.5.0 -> 7.6.0
  • errorprone: Not upgraded from 2.31.0 -> 2.34.0 (since it is Java 17+ only)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pom.xml

    r19208 r19250  
    4141    <default-junitIT-includes>**/*TestIT.class</default-junitIT-includes>
    4242    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     43    <!-- Needed just in case something adds argLine for tests before we set it -->
     44    <argLine/>
    4345  </properties>
    4446  <packaging>jar</packaging>
     
    463465          <!-- We might need @{argLine} in the future if another plugin has issues -->
    464466          <argLine>
    465             -javaagent:"${settings.localRepository}"/org/jmockit/jmockit/${jmockit.version}/jmockit-${jmockit.version}.jar
     467            @{argLine}
     468            -javaagent:${org.jmockit:jmockit:jar}
    466469            --add-opens java.base/java.io=ALL-UNNAMED
    467470            --add-opens java.base/java.lang=ALL-UNNAMED
     
    742745    </plugins>
    743746  </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>
    744778</project>
Note: See TracChangeset for help on using the changeset viewer.