b2df807254b847cea49770e03d7252394ea9d755
[groupbasedpolicy.git] / neutron-mapper / 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-mapper</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>org.opendaylight.neutron</groupId>
32       <artifactId>neutron-spi</artifactId>
33       <version>${neutron.version}</version>
34     </dependency>
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     <dependency>
44       <groupId>org.opendaylight.controller</groupId>
45       <artifactId>sal-binding-config</artifactId>
46     </dependency>
47     <dependency>
48       <groupId>org.osgi</groupId>
49       <artifactId>org.osgi.core</artifactId>
50     </dependency>
51     <!-- Sonar -->
52     <dependency>
53       <groupId>org.codehaus.sonar-plugins.java</groupId>
54       <artifactId>sonar-jacoco-listeners</artifactId>
55       <version>${sonar-jacoco-listeners.version}</version>
56       <scope>test</scope>
57     </dependency>
58   </dependencies>
59
60   <build>
61     <plugins>
62       <plugin>
63         <groupId>org.apache.felix</groupId>
64         <artifactId>maven-bundle-plugin</artifactId>
65         <configuration>
66           <instructions>
67             <Export-Package>
68               org.opendaylight.yang.gen.v1.urn.opendaylight.groupbasedpolicy.neutron.gbp.mapper.*,
69               org.opendaylight.groupbasedpolicy.neutron.gbp.util
70             </Export-Package>
71             <Import-Package>*</Import-Package>
72           </instructions>
73         </configuration>
74       </plugin>
75       <plugin>
76         <groupId>org.opendaylight.yangtools</groupId>
77         <artifactId>yang-maven-plugin</artifactId>
78       </plugin>
79       <plugin>
80         <groupId>org.jacoco</groupId>
81         <artifactId>jacoco-maven-plugin</artifactId>
82         <executions>
83           <execution>
84             <id>prepare-ut-agent</id>
85             <phase>process-test-classes</phase>
86             <goals>
87               <goal>prepare-agent</goal>
88             </goals>
89             <configuration>
90               <destFile>${sonar.jacoco.reportPath}</destFile>
91             </configuration>
92           </execution>
93           <execution>
94             <id>prepare-it-agent</id>
95             <phase>pre-integration-test</phase>
96             <goals>
97               <goal>prepare-agent</goal>
98             </goals>
99             <configuration>
100               <destFile>${sonar.jacoco.itReportPath}</destFile>
101             </configuration>
102           </execution>
103         </executions>
104       </plugin>
105     </plugins>
106     <pluginManagement>
107       <plugins>
108         <plugin>
109           <groupId>org.eclipse.m2e</groupId>
110           <artifactId>lifecycle-mapping</artifactId>
111           <version>1.0.0</version>
112           <configuration>
113             <lifecycleMappingMetadata>
114               <pluginExecutions>
115                 <pluginExecution>
116                   <pluginExecutionFilter>
117                     <groupId>org.jacoco</groupId>
118                     <artifactId>jacoco-maven-plugin</artifactId>
119                     <versionRange>[0.6,)</versionRange>
120                     <goals>
121                       <goal>prepare-agent</goal>
122                     </goals>
123                   </pluginExecutionFilter>
124                   <action>
125                     <ignore />
126                   </action>
127                 </pluginExecution>
128               </pluginExecutions>
129             </lifecycleMappingMetadata>
130           </configuration>
131         </plugin>
132       </plugins>
133     </pluginManagement>
134   </build>
135 </project>