From e593ac9908806023f5930b2de32575c3ce7abff8 Mon Sep 17 00:00:00 2001 From: mosfet80 Date: Sat, 26 Oct 2024 15:05:09 +0200 Subject: [PATCH] Migrate from dead libraries (#1222) Replace some dead libraries: * Findbug is dead [1] and replaced by Spotbugs. * `hamcrest-all` is replaced by `hamcrest` [2]. [1] https://stackoverflow.com/questions/2289694/what-is-the-status-of-jsr-305 [2] https://github.com/hamcrest/JavaHamcrest/issues/183#issuecomment-441154016 --- pom.xml | 10 +++++----- protege-editor-core/pom.xml | 2 +- protege-editor-owl/pom.xml | 2 +- protege-launcher/pom.xml | 10 +++++----- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/pom.xml b/pom.xml index c923e4747..fcdc782aa 100644 --- a/pom.xml +++ b/pom.xml @@ -178,9 +178,9 @@ - com.google.code.findbugs - jsr305 - 3.0.2 + com.github.spotbugs + spotbugs-annotations + 4.8.6 @@ -275,8 +275,8 @@ org.hamcrest - hamcrest-all - 1.3 + hamcrest + 2.2 test diff --git a/protege-editor-core/pom.xml b/protege-editor-core/pom.xml index e2034aea5..417096392 100644 --- a/protege-editor-core/pom.xml +++ b/protege-editor-core/pom.xml @@ -77,7 +77,7 @@ org.hamcrest - hamcrest-all + hamcrest test diff --git a/protege-editor-owl/pom.xml b/protege-editor-owl/pom.xml index 9334d9879..481115816 100644 --- a/protege-editor-owl/pom.xml +++ b/protege-editor-owl/pom.xml @@ -171,7 +171,7 @@ org.hamcrest - hamcrest-all + hamcrest test diff --git a/protege-launcher/pom.xml b/protege-launcher/pom.xml index 5045a6e0d..3b02f2a35 100644 --- a/protege-launcher/pom.xml +++ b/protege-launcher/pom.xml @@ -57,10 +57,10 @@ guava - - com.google.code.findbugs - jsr305 - + + com.github.spotbugs + spotbugs-annotations + org.eclipse.equinox @@ -95,7 +95,7 @@ org.hamcrest - hamcrest-all + hamcrest test