4583bb16de1e77bd06724c2c1f6a2ce8122430eb
[groupbasedpolicy.git] / groupbasedpolicy / 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.project</artifactId>
13     <version>0.3.0-SNAPSHOT</version>
14     <relativePath>../</relativePath>
15   </parent>
16
17   <artifactId>groupbasedpolicy</artifactId>
18   <packaging>bundle</packaging>
19   <name>groupbasedpolicy-base</name> 
20
21   <dependencies>
22     <!-- model dependencies -->
23     <dependency>
24       <groupId>org.opendaylight.yangtools.model</groupId>
25       <artifactId>ietf-inet-types</artifactId>
26     </dependency>
27     <dependency>
28       <groupId>org.opendaylight.yangtools.model</groupId>
29       <artifactId>ietf-yang-types</artifactId>
30     </dependency>
31
32     <!-- controller dependencies -->
33     <dependency>
34       <groupId>org.opendaylight.controller</groupId>
35       <artifactId>config-api</artifactId>
36     </dependency>
37     <dependency>
38       <groupId>org.opendaylight.controller</groupId>
39       <artifactId>sal-binding-api</artifactId>
40     </dependency>
41
42     <!-- project specific dependencies -->
43     <dependency>
44       <groupId>com.google.guava</groupId>
45       <artifactId>guava</artifactId>
46     </dependency>
47
48     <!-- testing dependencies -->
49     <dependency>
50       <groupId>junit</groupId>
51       <artifactId>junit</artifactId>
52       <scope>test</scope>
53     </dependency>
54     <dependency>
55       <groupId>org.mockito</groupId>
56       <artifactId>mockito-all</artifactId>
57       <scope>test</scope>
58     </dependency>
59   </dependencies>
60
61   <!-- project build -->
62   <build>
63     <plugins>
64       <plugin>
65         <groupId>org.apache.felix</groupId>
66         <artifactId>maven-bundle-plugin</artifactId>
67         <extensions>true</extensions>
68         <configuration>
69           <instructions>
70             <Export-Package>
71               org.opendaylight.yang.gen.v1.urn.opendaylight.groupbasedpolicy.*,
72               org.opendaylight.controller.config.yang.config.endpoint_provider,
73               org.opendaylight.groupbasedpolicy.endpoint,
74               org.opendaylight.groupbasedpolicy.resolver.*,
75               org.opendaylight.groupbasedpolicy.util,
76             </Export-Package>
77           </instructions>
78           <manifestLocation>${project.basedir}/META-INF</manifestLocation>
79         </configuration>
80       </plugin>
81       <plugin>
82         <groupId>org.opendaylight.yangtools</groupId>
83         <artifactId>yang-maven-plugin</artifactId>
84       </plugin>
85       <plugin>
86         <groupId>org.apache.maven.plugins</groupId>
87         <artifactId>maven-surefire-plugin</artifactId>
88         <configuration>
89           <redirectTestOutputToFile>true</redirectTestOutputToFile>
90         </configuration>
91       </plugin>
92     </plugins>
93   </build>
94 </project>
95