Bug 3607: Removing OpFlex from Sonar coverage.
[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     <!-- Sonar -->
64     <dependency>
65       <groupId>org.codehaus.sonar-plugins.java</groupId>
66       <artifactId>sonar-jacoco-listeners</artifactId>
67       <version>${sonar-jacoco-listeners.version}</version>
68       <scope>test</scope>
69     </dependency>
70   </dependencies>
71
72   <build>
73     <plugins>
74       <plugin>
75         <groupId>org.apache.felix</groupId>
76         <artifactId>maven-bundle-plugin</artifactId>
77         <configuration>
78           <instructions>
79             <Export-Package></Export-Package>
80             <Import-Package>*</Import-Package>
81           </instructions>
82         </configuration>
83       </plugin>
84       <plugin>
85         <groupId>org.opendaylight.yangtools</groupId>
86         <artifactId>yang-maven-plugin</artifactId>
87       </plugin>
88       <plugin>
89         <groupId>org.jacoco</groupId>
90         <artifactId>jacoco-maven-plugin</artifactId>
91         <executions>
92           <execution>
93             <id>prepare-ut-agent</id>
94             <phase>process-test-classes</phase>
95             <goals>
96               <goal>prepare-agent</goal>
97             </goals>
98             <configuration>
99               <destFile>${sonar.jacoco.reportPath}</destFile>
100             </configuration>
101           </execution>
102           <execution>
103             <id>prepare-it-agent</id>
104             <phase>pre-integration-test</phase>
105             <goals>
106               <goal>prepare-agent</goal>
107             </goals>
108             <configuration>
109               <destFile>${sonar.jacoco.itReportPath}</destFile>
110             </configuration>
111           </execution>
112         </executions>
113       </plugin>
114     </plugins>
115     <pluginManagement>
116       <plugins>
117         <plugin>
118           <groupId>org.eclipse.m2e</groupId>
119           <artifactId>lifecycle-mapping</artifactId>
120           <version>1.0.0</version>
121           <configuration>
122             <lifecycleMappingMetadata>
123               <pluginExecutions>
124                 <pluginExecution>
125                   <pluginExecutionFilter>
126                     <groupId>org.jacoco</groupId>
127                     <artifactId>jacoco-maven-plugin</artifactId>
128                     <versionRange>[0.6,)</versionRange>
129                     <goals>
130                       <goal>prepare-agent</goal>
131                     </goals>
132                   </pluginExecutionFilter>
133                   <action>
134                     <ignore />
135                   </action>
136                 </pluginExecution>
137               </pluginExecutions>
138             </lifecycleMappingMetadata>
139           </configuration>
140         </plugin>
141       </plugins>
142     </pluginManagement>
143   </build>
144 </project>