Bump versions by x.y.(z+1)
[odlparent.git] / karaf / opendaylight-karaf4-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.3-SNAPSHOT</version>
16     <relativePath>../../odlparent</relativePath>
17   </parent>
18   <artifactId>opendaylight-karaf4-resources</artifactId>
19   <description>Resources for opendaylight-karaf</description>
20   <packaging>jar</packaging>
21   <name>ODL :: odlparent :: ${project.artifactId}</name>
22   <build>
23     <resources>
24       <resource>
25         <directory>src/main/resources</directory>
26         <filtering>false</filtering>
27       </resource>
28     </resources>
29     <plugins>
30       <plugin>
31         <groupId>org.apache.maven.plugins</groupId>
32         <artifactId>maven-dependency-plugin</artifactId>
33         <executions>
34           <execution>
35             <id>copy</id>
36             <goals>
37               <goal>copy</goal>
38             </goals>
39             <!-- here the phase you need -->
40             <phase>generate-resources</phase>
41             <configuration>
42               <artifactItems>
43                   <!-- Needs to be copied to lib/ext in order to start bouncy provider for mina sshd -->
44                 <artifactItem>
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>
50                 </artifactItem>
51                 <artifactItem>
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>
57                 </artifactItem>
58                 <artifactItem>
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>
64                 </artifactItem>
65               </artifactItems>
66             </configuration>
67           </execution>
68         </executions>
69       </plugin>
70       <plugin>
71         <groupId>org.codehaus.mojo</groupId>
72         <artifactId>build-helper-maven-plugin</artifactId>
73         <executions>
74           <execution>
75             <id>attach-artifacts</id>
76             <goals>
77               <goal>attach-artifact</goal>
78             </goals>
79             <phase>package</phase>
80             <configuration>
81               <artifacts>
82                 <artifact>
83                   <file>src/main/assembly/etc/org.ops4j.pax.url.mvn.cfg</file>
84                   <type>properties</type>
85                   <classifier>config</classifier>
86                 </artifact>
87               </artifacts>
88             </configuration>
89           </execution>
90         </executions>
91       </plugin>
92     </plugins>
93   </build>
94 </project>