Bug 3695 - UT GBP - 6 - neutron/ovsdb
[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       <plugin>
94         <groupId>org.jacoco</groupId>
95         <artifactId>jacoco-maven-plugin</artifactId>
96         <executions>
97           <execution>
98             <id>prepare-ut-agent</id>
99             <phase>process-test-classes</phase>
100             <goals>
101               <goal>prepare-agent</goal>
102             </goals>
103             <configuration>
104               <destFile>${sonar.jacoco.reportPath}</destFile>
105             </configuration>
106           </execution>
107           <execution>
108             <id>prepare-it-agent</id>
109             <phase>pre-integration-test</phase>
110             <goals>
111               <goal>prepare-agent</goal>
112             </goals>
113             <configuration>
114               <destFile>${sonar.jacoco.itReportPath}</destFile>
115             </configuration>
116           </execution>
117         </executions>
118       </plugin>
119     </plugins>
120     <pluginManagement>
121       <plugins>
122         <plugin>
123           <groupId>org.eclipse.m2e</groupId>
124           <artifactId>lifecycle-mapping</artifactId>
125           <version>1.0.0</version>
126           <configuration>
127             <lifecycleMappingMetadata>
128               <pluginExecutions>
129                 <pluginExecution>
130                   <pluginExecutionFilter>
131                     <groupId>org.jacoco</groupId>
132                     <artifactId>jacoco-maven-plugin</artifactId>
133                     <versionRange>[0.6,)</versionRange>
134                     <goals>
135                       <goal>prepare-agent</goal>
136                     </goals>
137                   </pluginExecutionFilter>
138                   <action>
139                     <ignore />
140                   </action>
141                 </pluginExecution>
142               </pluginExecutions>
143             </lifecycleMappingMetadata>
144           </configuration>
145         </plugin>
146       </plugins>
147     </pluginManagement>
148   </build>
149 </project>