1 <?xml version="1.0" encoding="UTF-8"?>
3 Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 and is available at http://www.eclipse.org/legal/epl-v10.html
9 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
11 <modelVersion>4.0.0</modelVersion>
13 <groupId>org.opendaylight.odlparent</groupId>
14 <artifactId>odlparent</artifactId>
15 <version>1.8.3-SNAPSHOT</version>
16 <relativePath>../../odlparent</relativePath>
18 <artifactId>opendaylight-karaf4-resources</artifactId>
19 <description>Resources for opendaylight-karaf</description>
20 <packaging>jar</packaging>
21 <name>ODL :: odlparent :: ${project.artifactId}</name>
25 <directory>src/main/resources</directory>
26 <filtering>false</filtering>
31 <groupId>org.apache.maven.plugins</groupId>
32 <artifactId>maven-dependency-plugin</artifactId>
39 <!-- here the phase you need -->
40 <phase>generate-resources</phase>
43 <!-- Needs to be copied to lib/ext in order to start bouncy provider for mina sshd -->
45 <groupId>org.bouncycastle</groupId>
46 <artifactId>bcprov-jdk15on</artifactId>
47 <version>${bouncycastle.version}</version>
48 <outputDirectory>target/classes/lib/ext</outputDirectory>
49 <destFileName>bcprov-jdk15on-${bouncycastle.version}.jar</destFileName>
52 <groupId>org.bouncycastle</groupId>
53 <artifactId>bcprov-ext-jdk15on</artifactId>
54 <version>${bouncycastle.version}</version>
55 <outputDirectory>target/classes/lib/ext</outputDirectory>
56 <destFileName>bcprov-ext-jdk15on-${bouncycastle.version}.jar</destFileName>
59 <groupId>org.bouncycastle</groupId>
60 <artifactId>bcpkix-jdk15on</artifactId>
61 <version>${bouncycastle.version}</version>
62 <outputDirectory>target/classes/lib/ext</outputDirectory>
63 <destFileName>bcpkix-jdk15on-${bouncycastle.version}.jar</destFileName>
71 <groupId>org.codehaus.mojo</groupId>
72 <artifactId>build-helper-maven-plugin</artifactId>
75 <id>attach-artifacts</id>
77 <goal>attach-artifact</goal>
79 <phase>package</phase>
83 <file>src/main/assembly/etc/org.ops4j.pax.url.mvn.cfg</file>
84 <type>properties</type>
85 <classifier>config</classifier>