Bump versions by 0.1.0 for next dev cycle
[odlparent.git] / karaf / opendaylight-karaf-resources / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
4
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
8 -->
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">
10
11   <modelVersion>4.0.0</modelVersion>
12   <parent>
13     <groupId>org.opendaylight.odlparent</groupId>
14     <artifactId>odlparent</artifactId>
15     <version>1.8.0-SNAPSHOT</version>
16     <relativePath>../../odlparent</relativePath>
17   </parent>
18   <artifactId>opendaylight-karaf-resources</artifactId>
19   <description>Resources for opendaylight-karaf</description>
20   <packaging>jar</packaging>
21   <properties>
22     <!-- These are used in the instance script and need to be kept in sync with Karaf's definitions -->
23     <aries.blueprint.api.version>1.0.1</aries.blueprint.api.version>
24     <aries.blueprint.cm.version>1.0.8</aries.blueprint.cm.version>
25     <aries.blueprint.core.version>1.6.1</aries.blueprint.core.version>
26     <felix.framework.version>4.2.1</felix.framework.version>
27     <jline.version>2.13</jline.version>
28     <mina.version>2.0.7</mina.version>
29     <pax.logging.version>1.8.4</pax.logging.version>
30     <slf4j.version>1.7.12</slf4j.version>
31     <sshd.version>0.14.0</sshd.version>
32   </properties>
33   <build>
34     <resources>
35       <resource>
36         <directory>src/main/resources</directory>
37         <filtering>true</filtering>
38       </resource>
39     </resources>
40     <plugins>
41       <plugin>
42         <groupId>org.apache.maven.plugins</groupId>
43         <artifactId>maven-dependency-plugin</artifactId>
44         <executions>
45           <execution>
46             <id>copy</id>
47             <goals>
48               <goal>copy</goal>
49             </goals>
50             <!-- here the phase you need -->
51             <phase>generate-resources</phase>
52             <configuration>
53               <artifactItems>
54                   <!-- Needs to be copied to lib/ext in order to start bouncy provider for mina sshd -->
55                 <artifactItem>
56                     <groupId>org.bouncycastle</groupId>
57                     <artifactId>bcprov-jdk15on</artifactId>
58                     <version>${bouncycastle.version}</version>
59                     <outputDirectory>target/classes/lib/ext</outputDirectory>
60                     <destFileName>bcprov-jdk15on-${bouncycastle.version}.jar</destFileName>
61                 </artifactItem>
62               </artifactItems>
63             </configuration>
64           </execution>
65         </executions>
66       </plugin>
67       <plugin>
68         <groupId>org.codehaus.mojo</groupId>
69         <artifactId>build-helper-maven-plugin</artifactId>
70         <executions>
71           <execution>
72             <id>attach-artifacts</id>
73             <goals>
74               <goal>attach-artifact</goal>
75             </goals>
76             <phase>package</phase>
77             <configuration>
78               <artifacts>
79                 <artifact>
80                   <file>src/main/assembly/etc/org.ops4j.pax.url.mvn.cfg</file>
81                   <type>properties</type>
82                   <classifier>config</classifier>
83                 </artifact>
84               </artifacts>
85             </configuration>
86           </execution>
87         </executions>
88       </plugin>
89     </plugins>
90   </build>
91 </project>