Skip to content

Commit 603a49c

Browse files
authored
Merge pull request #65 from rnc/BR1
Update Bouncycastle, web-commons-bom, http-test-server, jackson and c…
2 parents a39d5ec + 2d121a7 commit 603a49c

File tree

4 files changed

+12
-21
lines changed

4 files changed

+12
-21
lines changed

.github/workflows/maven-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
with:
5858
servers: |
5959
[{
60-
"id": "sonatype-nexus-snapshots",
60+
"id": "central-portal-snapshots",
6161
"username": "${{ secrets.SONATYPE_BOT_USERNAME }}",
6262
"password": "${{ secrets.SONATYPE_BOT_TOKEN }}"
6363
}]

pom.xml

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>org.commonjava</groupId>
2323
<artifactId>commonjava</artifactId>
24-
<version>18</version>
24+
<version>21</version>
2525
</parent>
2626

2727
<groupId>org.commonjava.util</groupId>
@@ -43,10 +43,11 @@
4343
<projectOwner>Red Hat, Inc.</projectOwner>
4444
<projectEmail>https://github.com/Commonjava/jhttpc</projectEmail>
4545
<javaVersion>11</javaVersion>
46-
<httpcoreVersion>4.4.15</httpcoreVersion>
47-
<httpclientVersion>4.5.13</httpclientVersion>
46+
<!-- Match versions from web-commons-bom -->
47+
<httpcoreVersion>4.4.16</httpcoreVersion>
48+
<httpclientVersion>4.5.14</httpclientVersion>
4849

49-
<bouncycastleVersion>1.76</bouncycastleVersion>
50+
<bouncycastleVersion>1.82</bouncycastleVersion>
5051
<dockerWaitFor>Setting LogLevel for all modules to trace6</dockerWaitFor>
5152

5253
<dockerImage>docker.io/commonjava/ssl-dojo:1.1</dockerImage>
@@ -78,7 +79,7 @@
7879
<dependency>
7980
<groupId>org.commonjava.boms</groupId>
8081
<artifactId>web-commons-bom</artifactId>
81-
<version>29</version>
82+
<version>30</version>
8283
<type>pom</type>
8384
<scope>import</scope>
8485
</dependency>
@@ -103,15 +104,10 @@
103104
<artifactId>bcpkix-jdk18on</artifactId>
104105
<version>${bouncycastleVersion}</version>
105106
</dependency>
106-
<dependency>
107-
<groupId>commons-codec</groupId>
108-
<artifactId>commons-codec</artifactId>
109-
<version>1.15</version>
110-
</dependency>
111107
<dependency>
112108
<groupId>org.commonjava.util</groupId>
113109
<artifactId>http-testserver-junit4</artifactId>
114-
<version>2.2.1</version>
110+
<version>2.3.3</version>
115111
</dependency>
116112
</dependencies>
117113
</dependencyManagement>
@@ -182,11 +178,6 @@
182178
<artifactId>hamcrest-core</artifactId>
183179
<scope>test</scope>
184180
</dependency>
185-
<dependency>
186-
<groupId>commons-lang</groupId>
187-
<artifactId>commons-lang</artifactId>
188-
<scope>test</scope>
189-
</dependency>
190181
</dependencies>
191182

192183
<build>

src/test/java/org/commonjava/util/jhttpc/it/AbstractIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
package org.commonjava.util.jhttpc.it;
1717

1818
import org.apache.commons.io.IOUtils;
19-
import org.apache.commons.lang.StringUtils;
19+
import org.apache.commons.lang3.StringUtils;
2020
import org.apache.http.client.methods.CloseableHttpResponse;
2121
import org.apache.http.client.methods.HttpDelete;
2222
import org.apache.http.client.methods.HttpGet;

src/test/java/org/commonjava/util/jhttpc/unit/ResourceCleanupLoadTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@
3333
import org.slf4j.Logger;
3434
import org.slf4j.LoggerFactory;
3535

36-
import javax.servlet.ServletException;
37-
import javax.servlet.http.HttpServletRequest;
38-
import javax.servlet.http.HttpServletResponse;
36+
import jakarta.servlet.ServletException;
37+
import jakarta.servlet.http.HttpServletRequest;
38+
import jakarta.servlet.http.HttpServletResponse;
3939
import java.io.IOException;
4040
import java.nio.charset.Charset;
4141
import java.util.concurrent.CountDownLatch;

0 commit comments

Comments
 (0)