add soanr code analasys TELSDN-549: #close
[lispflowmapping.git] / mappingservice / northbound / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3   <modelVersion>4.0.0</modelVersion>
4   <parent>
5     <groupId>org.opendaylight.lispflowmapping</groupId>
6     <artifactId>mappingservice-parent</artifactId>
7     <version>0.1.0-SNAPSHOT</version>
8     <relativePath>..</relativePath>
9   </parent>
10
11   <artifactId>mappingservice.northbound</artifactId>
12   <version>0.1.0-SNAPSHOT</version>
13   <packaging>bundle</packaging>
14   <properties>
15                 <!-- Sonar properties using jacoco to retrieve integration test results -->
16                 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
17                 <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
18                 <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
19         </properties>
20   <build>
21   <pluginManagement>
22       <plugins>
23         <plugin>
24           <groupId>org.jacoco</groupId>
25           <artifactId>jacoco-maven-plugin</artifactId>
26           <version>${jacoco.version}</version>
27         </plugin>
28       </plugins>
29     </pluginManagement>
30     <plugins>
31       <plugin>
32         <groupId>org.codehaus.enunciate</groupId>
33         <artifactId>maven-enunciate-plugin</artifactId>
34         <version>1.27</version>
35 <!--        <dependencies>
36           <dependency>
37             <groupId>org.opendaylight.controller</groupId>
38             <artifactId>sal</artifactId>
39             <version>0.5.0-SNAPSHOT</version>
40           </dependency>
41           <dependency>
42             <groupId>org.opendaylight.controller</groupId>
43             <artifactId>clustering.services</artifactId>
44             <version>0.4.0-SNAPSHOT</version>
45           </dependency>
46           <dependency>
47             <groupId>org.opendaylight.controller</groupId>
48             <artifactId>configuration</artifactId>
49             <version>0.4.0-SNAPSHOT</version>
50           </dependency>
51           <dependency>
52             <groupId>org.opendaylight.controller</groupId>
53             <artifactId>switchmanager</artifactId>
54             <version>0.5.0-SNAPSHOT</version>
55           </dependency>
56         </dependencies>-->
57       </plugin>
58       <plugin>
59         <groupId>org.apache.felix</groupId>
60         <artifactId>maven-bundle-plugin</artifactId>
61         <version>2.3.6</version>
62         <extensions>true</extensions>
63         <configuration>
64           <instructions>
65             <Export-Package>
66             </Export-Package>
67             <Import-Package>
68               org.opendaylight.controller.sal.core,
69               org.opendaylight.controller.sal.utils,
70               org.opendaylight.controller.containermanager,
71               org.opendaylight.controller.switchmanager,
72               org.opendaylight.controller.northbound.commons,
73               org.opendaylight.controller.northbound.commons.exception,
74               org.opendaylight.controller.northbound.commons.utils,
75               com.sun.jersey.spi.container.servlet,
76               org.opendaylight.controller.sal.authorization,
77               org.opendaylight.controller.usermanager,
78               org.opendaylight.lispflowmapping.type,
79               org.opendaylight.lispflowmapping.type.lisp,
80               org.opendaylight.lispflowmapping.type.lisp.address,
81               org.opendaylight.lispflowmapping.interfaces.lisp,
82               javax.ws.rs,
83               javax.ws.rs.core,
84               javax.xml.bind,
85               javax.xml.bind.annotation,
86               org.slf4j,
87               org.apache.catalina.filters,
88               org.codehaus.jackson.jaxrs,
89               !org.codehaus.enunciate.jaxrs,
90               org.apache.felix.dm,
91               org.apache.commons.lang3.builder,
92               org.osgi.service.component,
93               org.eclipse.osgi.framework.console,
94               org.osgi.framework,
95             </Import-Package>
96         <Bundle-Activator>
97                 org.opendaylight.lispflowmapping.northbound.Activator
98         </Bundle-Activator>
99
100             <Export-Package>
101             </Export-Package>
102             <Web-ContextPath>/lispflowmapping/nb/v2</Web-ContextPath>
103             <Jaxrs-Resources>,${classes;ANNOTATION;javax.ws.rs.Path}</Jaxrs-Resources>
104           </instructions>
105           <manifestLocation>${project.basedir}/src/main/resources/META-INF</manifestLocation>
106         </configuration>
107       </plugin>
108       <plugin>
109         <groupId>org.jacoco</groupId>
110         <artifactId>jacoco-maven-plugin</artifactId>
111         <configuration>
112           <includes>org.opendaylight.controller.*</includes>
113         </configuration>
114         <executions>
115           <execution>
116             <id>pre-test</id>
117             <goals>
118               <goal>prepare-agent</goal>
119             </goals>
120           </execution>
121           <execution>
122             <id>post-test</id>
123             <phase>test</phase>
124             <goals>
125               <goal>report</goal>
126             </goals>
127           </execution>
128         </executions>
129       </plugin>
130     </plugins>
131   </build>
132   <dependencies>
133     
134     <dependency>
135       <groupId>org.opendaylight.lispflowmapping</groupId>
136       <artifactId>mappingservice.api</artifactId>
137       <version>0.1.0-SNAPSHOT</version>
138     </dependency>
139
140     <dependency>
141       <groupId>org.opendaylight.controller</groupId>
142       <artifactId>sal</artifactId>
143       <version>0.5.0-SNAPSHOT</version>
144     </dependency>
145     <dependency>
146       <groupId>org.opendaylight.controller</groupId>
147       <artifactId>containermanager</artifactId>
148       <version>0.5.0-SNAPSHOT</version>
149     </dependency>
150     <dependency>
151       <groupId>org.opendaylight.controller</groupId>
152       <artifactId>commons.northbound</artifactId>
153       <version>0.4.0-SNAPSHOT</version>
154     </dependency>
155    
156     <dependency>
157       <groupId>org.opendaylight.controller.thirdparty</groupId>
158       <artifactId>com.sun.jersey.jersey-servlet</artifactId>
159       <version>1.17-SNAPSHOT</version>
160     </dependency>
161
162     <dependency>
163       <groupId>org.codehaus.enunciate</groupId>
164       <artifactId>enunciate-core-annotations</artifactId>
165       <version>1.27</version>
166     </dependency>
167  
168   </dependencies>
169 </project>