Copy in supporting bouncycastle PKIX/CMS/EAC/PKCS/OCSP/TSP/OPENSSL packages 77/46577/2
authorRyan Goulding <ryandgoulding@gmail.com>
Wed, 5 Oct 2016 19:39:45 +0000 (15:39 -0400)
committerStephen Kitt <skitt@redhat.com>
Wed, 12 Oct 2016 13:22:46 +0000 (13:22 +0000)
Since we already ship the Bouncy Castle Provider (bcprov-jdk15on) in lib/ext,
we should also ship the other key exchange packages.  Bouncy castle provides
these packages in bcpkix-jdk15on.  This change adds the bcpkix-jdk15on
dependency, and an appropriate action to copy the library into lib/ext, very
similar to how the bcprov-jdk15on is copied.

Change-Id: Id706f58c8f56193a717013ffc5446643004045ad
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
karaf/opendaylight-karaf-resources/pom.xml

index 84ec81b8980638070c6ed52e2f0e22dbec8aa006..667c24ce5475b13a2be4a1f3d563e241bbd7ae34 100644 (file)
                     <outputDirectory>target/classes/lib/ext</outputDirectory>
                     <destFileName>bcprov-jdk15on-${bouncycastle.version}.jar</destFileName>
                 </artifactItem>
+                <artifactItem>
+                    <groupId>org.bouncycastle</groupId>
+                    <artifactId>bcpkix-jdk15on</artifactId>
+                    <version>${bouncycastle.version}</version>
+                    <outputDirectory>target/classes/lib/ext</outputDirectory>
+                    <destFileName>bcpkix-jdk15on-${bouncycastle.version}.jar</destFileName>
+                </artifactItem>
               </artifactItems>
             </configuration>
           </execution>