Skip to content

Commit

Permalink
Migrate from dead libraries (#1222)
Browse files Browse the repository at this point in the history
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] hamcrest/JavaHamcrest#183 (comment)
  • Loading branch information
mosfet80 authored Oct 26, 2024
1 parent a87d690 commit e593ac9
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,9 @@
</dependency>

<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
<version>4.8.6</version>
</dependency>

<dependency>
Expand Down Expand Up @@ -275,8 +275,8 @@

<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<version>1.3</version>
<artifactId>hamcrest</artifactId>
<version>2.2</version>
<scope>test</scope>
</dependency>

Expand Down
2 changes: 1 addition & 1 deletion protege-editor-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@

<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<artifactId>hamcrest</artifactId>
<scope>test</scope>
</dependency>

Expand Down
2 changes: 1 addition & 1 deletion protege-editor-owl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@

<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<artifactId>hamcrest</artifactId>
<scope>test</scope>
</dependency>

Expand Down
10 changes: 5 additions & 5 deletions protege-launcher/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@
<artifactId>guava</artifactId>
</dependency>

<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</dependency>
<dependency>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
</dependency>

<dependency>
<groupId>org.eclipse.equinox</groupId>
Expand Down Expand Up @@ -95,7 +95,7 @@

<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<artifactId>hamcrest</artifactId>
<scope>test</scope>
</dependency>

Expand Down

0 comments on commit e593ac9

Please sign in to comment.