Clean up pom files
[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.controller</groupId>
12     <artifactId>config-parent</artifactId>
13     <version>0.4.0-SNAPSHOT</version>
14     <relativePath/>
15   </parent>
16
17   <groupId>org.opendaylight.groupbasedpolicy</groupId>
18   <artifactId>groupbasedpolicy</artifactId>
19   <version>0.3.0-SNAPSHOT</version> 
20   <packaging>bundle</packaging>
21   <name>groupbasedpolicy-base</name>
22
23   <dependencies>
24     <!-- model dependencies -->
25     <dependency>
26       <groupId>org.opendaylight.mdsal.model</groupId>
27       <artifactId>ietf-inet-types</artifactId>
28     </dependency>
29     <dependency>
30       <groupId>org.opendaylight.mdsal.model</groupId>
31       <artifactId>ietf-yang-types</artifactId>
32     </dependency>
33
34     <!-- controller dependencies -->
35     <dependency>
36       <groupId>org.opendaylight.controller</groupId>
37       <artifactId>config-api</artifactId>
38     </dependency>
39     <dependency>
40       <groupId>org.opendaylight.controller</groupId>
41       <artifactId>sal-binding-api</artifactId>
42     </dependency>
43
44     <!-- project specific dependencies -->
45     <dependency>
46       <groupId>com.google.guava</groupId>
47       <artifactId>guava</artifactId>
48     </dependency>
49
50     <!-- testing dependencies -->
51     <dependency>
52       <groupId>junit</groupId>
53       <artifactId>junit</artifactId>
54       <scope>test</scope>
55     </dependency>
56     <dependency>
57       <groupId>org.mockito</groupId>
58       <artifactId>mockito-all</artifactId>
59       <scope>test</scope>
60     </dependency>
61     <!-- Sonar -->
62     <dependency>
63       <groupId>org.codehaus.sonar-plugins.java</groupId>
64       <artifactId>sonar-jacoco-listeners</artifactId>
65       <version>${sonar-jacoco-listeners.version}</version>
66       <scope>test</scope>
67     </dependency>
68   </dependencies>
69
70   <!-- project build -->
71   <build>
72     <plugins>
73       <plugin>
74         <groupId>org.apache.felix</groupId>
75         <artifactId>maven-bundle-plugin</artifactId>
76         <extensions>true</extensions>
77         <configuration>
78           <instructions>
79             <Export-Package>
80               org.opendaylight.yang.gen.v1.urn.opendaylight.groupbasedpolicy.*,
81               org.opendaylight.controller.config.yang.config.endpoint_provider,
82               org.opendaylight.groupbasedpolicy.endpoint,
83               org.opendaylight.groupbasedpolicy.resolver.*,
84               org.opendaylight.groupbasedpolicy.util,
85             </Export-Package>
86           </instructions>
87           <manifestLocation>${project.basedir}/META-INF</manifestLocation>
88         </configuration>
89       </plugin>
90       <plugin>
91         <groupId>org.opendaylight.yangtools</groupId>
92         <artifactId>yang-maven-plugin</artifactId>
93       </plugin>
94       <plugin>
95         <groupId>org.apache.maven.plugins</groupId>
96         <artifactId>maven-surefire-plugin</artifactId>
97         <configuration>
98           <redirectTestOutputToFile>true</redirectTestOutputToFile>
99         </configuration>
100       </plugin>
101     </plugins>
102     <pluginManagement>
103       <plugins>
104         <plugin>
105           <groupId>org.eclipse.m2e</groupId>
106           <artifactId>lifecycle-mapping</artifactId>
107           <version>1.0.0</version>
108           <configuration>
109             <lifecycleMappingMetadata>
110               <pluginExecutions>
111                 <pluginExecution>
112                   <pluginExecutionFilter>
113                     <groupId>org.jacoco</groupId>
114                     <artifactId>jacoco-maven-plugin</artifactId>
115                     <versionRange>[0.6,)</versionRange>
116                     <goals>
117                       <goal>prepare-agent</goal>
118                     </goals>
119                   </pluginExecutionFilter>
120                   <action>
121                     <ignore />
122                   </action>
123                 </pluginExecution>
124               </pluginExecutions>
125             </lifecycleMappingMetadata>
126           </configuration>
127         </plugin>
128       </plugins>
129     </pluginManagement>
130   </build>
131 </project>
132