f16ccfc46c06021c05d103274200ea80e60d7989
[groupbasedpolicy.git] / renderers / vpp / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
3   This program and the accompanying materials are made available under the
4   terms of the Eclipse Public License v1.0 which accompanies this distribution,
5   and is available at http://www.eclipse.org/legal/epl-v10.html -->
6 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
8   <modelVersion>4.0.0</modelVersion>
9
10   <parent>
11     <groupId>org.opendaylight.groupbasedpolicy</groupId>
12     <artifactId>groupbasedpolicy-renderers</artifactId>
13     <version>0.4.0-SNAPSHOT</version>
14     <relativePath>../</relativePath>
15   </parent>
16
17   <artifactId>vpp-renderer</artifactId>
18   <packaging>bundle</packaging>
19
20   <properties>
21     <netconf.version>1.1.0-SNAPSHOT</netconf.version>
22   </properties>
23
24   <dependencyManagement>
25     <dependencies>
26       <dependency>
27         <groupId>org.opendaylight.netconf</groupId>
28         <artifactId>netconf-artifacts</artifactId>
29         <version>${netconf.version}</version>
30         <type>pom</type>
31         <scope>import</scope>
32       </dependency>
33       <dependency>
34         <groupId>org.opendaylight.controller</groupId>
35         <artifactId>mdsal-artifacts</artifactId>
36         <version>${mdsal.version}</version>
37         <type>pom</type>
38         <scope>import</scope>
39       </dependency>
40     </dependencies>
41   </dependencyManagement>
42
43   <dependencies>
44     <!-- project specific dependencies -->
45     <dependency>
46       <groupId>${project.groupId}</groupId>
47       <artifactId>l2-l3-domain-extension</artifactId>
48     </dependency>
49     <dependency>
50       <groupId>org.opendaylight.mdsal.model</groupId>
51       <artifactId>yang-ext</artifactId>
52     </dependency>
53     <dependency>
54       <groupId>org.opendaylight.netconf</groupId>
55       <artifactId>sal-netconf-connector</artifactId>
56     </dependency>
57     <dependency>
58       <groupId>org.opendaylight.honeycomb.vbd</groupId>
59       <artifactId>vbd-api</artifactId>
60       <version>1.0.0-SNAPSHOT</version>
61     </dependency>
62     <dependency>
63       <groupId>org.opendaylight.mdsal.model</groupId>
64       <artifactId>opendaylight-l2-types</artifactId>
65     </dependency>
66
67     <!-- testing dependencies -->
68     <dependency>
69       <groupId>org.opendaylight.controller</groupId>
70       <artifactId>sal-binding-broker-impl</artifactId>
71       <type>test-jar</type>
72       <scope>test</scope>
73     </dependency>
74     <dependency>
75       <groupId>org.opendaylight.groupbasedpolicy</groupId>
76       <artifactId>groupbasedpolicy</artifactId>
77       <version>${project.version}</version>
78       <type>test-jar</type>
79       <scope>test</scope>
80     </dependency>
81     <dependency>
82       <groupId>junit</groupId>
83       <artifactId>junit</artifactId>
84       <scope>test</scope>
85     </dependency>
86     <dependency>
87       <groupId>org.mockito</groupId>
88       <artifactId>mockito-all</artifactId>
89       <scope>test</scope>
90     </dependency>
91     <dependency>
92       <groupId>org.slf4j</groupId>
93       <artifactId>slf4j-log4j12</artifactId>
94       <scope>test</scope>
95     </dependency>
96   </dependencies>
97
98   <!-- project build -->
99   <build>
100     <!-- We use the maven-resources-plugin to copy a class from the groupbasepolicy
101       bundle that we need in order to run some unit tests in the renderer (classes
102       in the test directory aren't packaged in bundles, and instead of keeping
103       separate copies, we just copy the file(s) needed in order to run the test). -->
104     <plugins>
105       <plugin>
106         <groupId>org.apache.felix</groupId>
107         <artifactId>maven-bundle-plugin</artifactId>
108         <extensions>true</extensions>
109         <configuration>
110           <instructions>
111             <Export-Package>
112               org.opendaylight.yang.gen.v1.urn.opendaylight.groupbasedpolicy.vpp_renderer.rev160425.*
113             </Export-Package>
114           </instructions>
115         </configuration>
116       </plugin>
117     </plugins>
118   </build>
119 </project>