Skip to content

Commit ec6208a

Browse files
committed
Upgraded versions due to security findings
1 parent 3dcf52f commit ec6208a

File tree

1 file changed

+21
-7
lines changed

1 file changed

+21
-7
lines changed

java/pom.xml

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4242
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
4343
<junit.version>4.13.1</junit.version>
44-
<xmlsec.version>2.3.0</xmlsec.version>
44+
<xmlsec.version>2.3.4</xmlsec.version>
4545
<httpclient.version>4.5.13</httpclient.version>
46-
<bouncycastle.version>1.70</bouncycastle.version>
46+
<bouncycastle.version>1.74</bouncycastle.version>
4747
<wss4j.version>2.4.1</wss4j.version>
4848
<commonlang3.version>3.4</commonlang3.version>
4949
<mockito.version>1.10.19</mockito.version>
@@ -148,6 +148,20 @@
148148
<build>
149149
<finalName>cybersource-sdk-java</finalName>
150150
<plugins>
151+
<plugin>
152+
<artifactId>maven-dependency-plugin</artifactId>
153+
<executions>
154+
<execution>
155+
<phase>package</phase>
156+
<goals>
157+
<goal>copy-dependencies</goal>
158+
</goals>
159+
<configuration>
160+
<outputDirectory>${project.build.directory}/lib</outputDirectory>
161+
</configuration>
162+
</execution>
163+
</executions>
164+
</plugin>
151165
<plugin>
152166
<groupId>org.apache.maven.plugins</groupId>
153167
<artifactId>maven-compiler-plugin</artifactId>
@@ -256,11 +270,11 @@
256270
</exclusion>
257271
</exclusions>
258272
</dependency>
259-
<dependency>
260-
<groupId>org.bouncycastle</groupId>
261-
<artifactId>bcprov-jdk15on</artifactId>
262-
<version>${bouncycastle.version}</version>
263-
</dependency>
273+
<dependency>
274+
<groupId>org.bouncycastle</groupId>
275+
<artifactId>bcprov-jdk18on</artifactId>
276+
<version>${bouncycastle.version}</version>
277+
</dependency>
264278
<dependency>
265279
<groupId>org.apache.wss4j</groupId>
266280
<artifactId>wss4j-ws-security-common</artifactId>

0 commit comments

Comments
 (0)