Skip to content

Commit 44915e7

Browse files
authored
Merge pull request #176 from CyberSource/xalan-dependency-fix
Removed dependency
2 parents f9330a3 + ec6208a commit 44915e7

File tree

1 file changed

+21
-13
lines changed

1 file changed

+21
-13
lines changed

java/pom.xml

+21-13
Original file line numberDiff line numberDiff line change
@@ -41,10 +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-
<xalan.version>2.7.2</xalan.version>
45-
<xmlsec.version>2.3.0</xmlsec.version>
44+
<xmlsec.version>2.3.4</xmlsec.version>
4645
<httpclient.version>4.5.13</httpclient.version>
47-
<bouncycastle.version>1.70</bouncycastle.version>
46+
<bouncycastle.version>1.74</bouncycastle.version>
4847
<wss4j.version>2.4.1</wss4j.version>
4948
<commonlang3.version>3.4</commonlang3.version>
5049
<mockito.version>1.10.19</mockito.version>
@@ -149,6 +148,20 @@
149148
<build>
150149
<finalName>cybersource-sdk-java</finalName>
151150
<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>
152165
<plugin>
153166
<groupId>org.apache.maven.plugins</groupId>
154167
<artifactId>maven-compiler-plugin</artifactId>
@@ -235,11 +248,6 @@
235248
<version>${junit.version}</version>
236249
<scope>test</scope>
237250
</dependency>
238-
<dependency>
239-
<groupId>xalan</groupId>
240-
<artifactId>xalan</artifactId>
241-
<version>${xalan.version}</version>
242-
</dependency>
243251
<dependency>
244252
<groupId>org.apache.santuario</groupId>
245253
<artifactId>xmlsec</artifactId>
@@ -262,11 +270,11 @@
262270
</exclusion>
263271
</exclusions>
264272
</dependency>
265-
<dependency>
266-
<groupId>org.bouncycastle</groupId>
267-
<artifactId>bcprov-jdk15on</artifactId>
268-
<version>${bouncycastle.version}</version>
269-
</dependency>
273+
<dependency>
274+
<groupId>org.bouncycastle</groupId>
275+
<artifactId>bcprov-jdk18on</artifactId>
276+
<version>${bouncycastle.version}</version>
277+
</dependency>
270278
<dependency>
271279
<groupId>org.apache.wss4j</groupId>
272280
<artifactId>wss4j-ws-security-common</artifactId>

0 commit comments

Comments
 (0)