Skip to content

Commit

Permalink
Merge pull request #105 from crawler-commons/depsUpdate
Browse files Browse the repository at this point in the history
Improved handling of dependencies and updated their versions
  • Loading branch information
jnioche authored Sep 21, 2024
2 parents f86d2b1 + ce38d6d commit 8b395a1
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 10 deletions.
2 changes: 1 addition & 1 deletion API/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<description>URLFrontier Java API</description>

<properties>
<grpc.version>1.53.0</grpc.version>
<grpc.version>1.68.0</grpc.version>
<protoc.version>3.20.3</protoc.version>
</properties>

Expand Down
6 changes: 4 additions & 2 deletions client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,14 @@
</plugins>
</build>

<properties>
<protobuf.java.util.version>4.28.2</protobuf.java.util.version>
</properties>

<dependencies>
<dependency>
<groupId>info.picocli</groupId>
<artifactId>picocli</artifactId>
<version>4.6.3</version>
</dependency>

<dependency>
Expand All @@ -57,7 +59,7 @@
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java-util</artifactId>
<version>3.23.3</version>
<version>${protobuf.java.util.version}</version>
</dependency>

</dependencies>
Expand Down
28 changes: 28 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@
<version.maven-release-plugin>3.1.1</version.maven-release-plugin>
<version.maven-shade-plugin>3.6.0</version.maven-shade-plugin>
<minimalJavaBuildVersion>11</minimalJavaBuildVersion>
<picocli.version>4.7.6</picocli.version>
<junit.version>5.11.0</junit.version>
</properties>

<build>
Expand Down Expand Up @@ -288,6 +290,32 @@
</profile>
</profiles>


<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>info.picocli</groupId>
<artifactId>picocli</artifactId>
<version>${picocli.version}</version>
</dependency>

</dependencies>
</dependencyManagement>

<modules>
<module>API</module>
<module>service</module>
Expand Down
15 changes: 8 additions & 7 deletions service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@

<properties>
<prometheus.version>0.16.0</prometheus.version>
<rocksdb.version>7.6.0</rocksdb.version>
<rocksdb.version>9.6.1</rocksdb.version>
<logback.version>1.5.8</logback.version>
<mockito.version>5.13.0</mockito.version>
<commons.io.version>2.16.1</commons.io.version>
</properties>

<build>
Expand Down Expand Up @@ -49,7 +52,6 @@
<dependency>
<groupId>info.picocli</groupId>
<artifactId>picocli</artifactId>
<version>4.6.3</version>
</dependency>

<dependency>
Expand All @@ -62,7 +64,7 @@
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.4.14</version>
<version>${logback.version}</version>
</dependency>

<dependency>
Expand Down Expand Up @@ -94,27 +96,26 @@
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.16.1</version>
<version>${commons.io.version}</version>
</dependency>

<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>5.10.3</version> <!-- can be omitted when using the BOM -->
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>5.12.0</version>
<version>${mockito.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<version>5.12.0</version>
<version>${mockito.version}</version>
<scope>test</scope>
</dependency>

Expand Down

0 comments on commit 8b395a1

Please sign in to comment.