Skip to content

Commit

Permalink
Upgrade dependencies and maven (#173)
Browse files Browse the repository at this point in the history
* Update test dependencies
* Update quarkus to 3.14.2
* Remove need of Serializable for tests (fixes #133)
* Update mapstruct
* Update maven and plug-ins
  • Loading branch information
magicDGS authored Sep 8, 2024
1 parent 0219e79 commit a3adb21
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.8/apache-maven-3.9.8-bin.zip
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar
18 changes: 9 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<properties>
<java.version>21</java.version>
<maven.version>3.9.8</maven.version>
<maven.version>3.9.9</maven.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<maven.compiler.release>${java.version}</maven.compiler.release>
Expand All @@ -27,18 +27,18 @@
<!-- quarkus dependencies -->
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
<quarkus.platform.group-id>io.quarkus.platform</quarkus.platform.group-id>
<quarkus.platform.version>3.12.1</quarkus.platform.version>
<quarkus.platform.version>3.14.2</quarkus.platform.version>
<!-- quarkus extensions -->
<quarkus-jdbc-sqlite.version>3.0.7</quarkus-jdbc-sqlite.version>
<!-- other dependencies -->
<resilience4j.bom.version>2.2.0</resilience4j.bom.version>
<mapstruct.version>1.5.5.Final</mapstruct.version>
<mapstruct.version>1.6.0</mapstruct.version>
<jug.version>5.1.0</jug.version>
<!-- test dependencies -->
<assertj.bom.version>3.26.0</assertj.bom.version>
<approvaltests.version>24.2.0</approvaltests.version>
<instancio.junit.version>4.8.1</instancio.junit.version>
<wiremock.version>3.8.0</wiremock.version>
<assertj.bom.version>3.26.3</assertj.bom.version>
<approvaltests.version>24.4.0</approvaltests.version>
<instancio.junit.version>5.0.1</instancio.junit.version>
<wiremock.version>3.9.1</wiremock.version>
<!--
TODO: not sure if we will require it for testing?
TODO: see https://github.com/ygojson/ygojson-tools/issues/126
Expand All @@ -52,8 +52,8 @@
<jsonschema2pojo-plugin.version>1.2.1</jsonschema2pojo-plugin.version>
<build-helper-plugin.version>3.6.0</build-helper-plugin.version>
<compiler-plugin.version>3.13.0</compiler-plugin.version>
<surefire-plugin.version>3.3.0</surefire-plugin.version>
<failsafe-plugin.version>3.3.0</failsafe-plugin.version>
<surefire-plugin.version>3.5.0</surefire-plugin.version>
<failsafe-plugin.version>3.5.0</failsafe-plugin.version>
<jacoco-plugin.version>0.8.12</jacoco-plugin.version>
</properties>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import java.io.BufferedReader;
import java.io.IOException;
import java.io.Serializable;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.HashMap;
Expand Down Expand Up @@ -48,8 +47,7 @@ public record WikitextPageTestCase(
Long pageId,
String pageTitle,
String wikitext
)
implements Serializable {}
) {}

private YugipediaTestDataRegistry() {
// to register a new parse_wikitext_page file, it should be grabbed from the yugipedia api
Expand Down

0 comments on commit a3adb21

Please sign in to comment.