Merge "Use odlparent configuration for jacoco"
[groupbasedpolicy.git] / neutron-ovsdb / pom.xml
1 <?xml version="1.0"?>
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
7   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
8   xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
9   <modelVersion>4.0.0</modelVersion>
10
11   <parent>
12     <groupId>org.opendaylight.groupbasedpolicy</groupId>
13     <artifactId>groupbasedpolicy.project</artifactId>
14     <version>0.3.0-SNAPSHOT</version>
15     <relativePath>../</relativePath>
16   </parent>
17
18   <artifactId>neutron-ovsdb</artifactId>
19   <packaging>bundle</packaging>
20
21   <dependencies>
22     <dependency>
23       <groupId>${project.groupId}</groupId>
24       <artifactId>groupbasedpolicy</artifactId>
25     </dependency>
26     <dependency>
27       <groupId>${project.groupId}</groupId>
28       <artifactId>ofoverlay-renderer</artifactId>
29     </dependency>
30     <dependency>
31       <groupId>${project.groupId}</groupId>
32       <artifactId>neutron-mapper</artifactId>
33     </dependency>
34     <dependency>
35       <groupId>org.opendaylight.controller</groupId>
36       <artifactId>config-api</artifactId>
37     </dependency>
38     <dependency>
39       <groupId>org.opendaylight.controller</groupId>
40       <artifactId>sal-binding-api</artifactId>
41     </dependency>
42     <dependency>
43       <groupId>org.opendaylight.controller</groupId>
44       <artifactId>sal-binding-config</artifactId>
45     </dependency>
46     <dependency>
47       <groupId>org.opendaylight.ovsdb</groupId>
48       <artifactId>southbound-api</artifactId>
49     </dependency>
50     <dependency>
51       <groupId>org.opendaylight.ovsdb</groupId>
52       <artifactId>southbound-impl</artifactId>
53     </dependency>
54     <dependency>
55       <groupId>org.osgi</groupId>
56       <artifactId>org.osgi.core</artifactId>
57     </dependency>
58     <dependency>
59       <groupId>junit</groupId>
60       <artifactId>junit</artifactId>
61       <scope>test</scope>
62     </dependency>
63     <dependency>
64       <groupId>org.mockito</groupId>
65       <artifactId>mockito-all</artifactId>
66       <scope>test</scope>
67     </dependency>
68     <!-- Sonar -->
69     <dependency>
70       <groupId>org.codehaus.sonar-plugins.java</groupId>
71       <artifactId>sonar-jacoco-listeners</artifactId>
72       <version>${sonar-jacoco-listeners.version}</version>
73       <scope>test</scope>
74     </dependency>
75   </dependencies>
76
77   <build>
78     <plugins>
79       <plugin>
80         <groupId>org.apache.felix</groupId>
81         <artifactId>maven-bundle-plugin</artifactId>
82         <configuration>
83           <instructions>
84             <Export-Package></Export-Package>
85             <Import-Package>*</Import-Package>
86           </instructions>
87         </configuration>
88       </plugin>
89       <plugin>
90         <groupId>org.opendaylight.yangtools</groupId>
91         <artifactId>yang-maven-plugin</artifactId>
92       </plugin>
93     </plugins>
94     <pluginManagement>
95       <plugins>
96         <plugin>
97           <groupId>org.eclipse.m2e</groupId>
98           <artifactId>lifecycle-mapping</artifactId>
99           <version>1.0.0</version>
100           <configuration>
101             <lifecycleMappingMetadata>
102               <pluginExecutions>
103                 <pluginExecution>
104                   <pluginExecutionFilter>
105                     <groupId>org.jacoco</groupId>
106                     <artifactId>jacoco-maven-plugin</artifactId>
107                     <versionRange>[0.6,)</versionRange>
108                     <goals>
109                       <goal>prepare-agent</goal>
110                     </goals>
111                   </pluginExecutionFilter>
112                   <action>
113                     <ignore />
114                   </action>
115                 </pluginExecution>
116               </pluginExecutions>
117             </lifecycleMappingMetadata>
118           </configuration>
119         </plugin>
120       </plugins>
121     </pluginManagement>
122   </build>
123 </project>