add soanr code analasys TELSDN-549: #close
[lispflowmapping.git] / mappingservice / api / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project
3         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
4         xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
5         <modelVersion>4.0.0</modelVersion>
6         <parent>
7                 <groupId>org.opendaylight.lispflowmapping</groupId>
8                 <artifactId>mappingservice-parent</artifactId>
9                 <version>0.1.0-SNAPSHOT</version>
10                 <relativePath>..</relativePath>
11         </parent>
12         <artifactId>mappingservice.api</artifactId>
13         <version>0.1.0-SNAPSHOT</version>
14         <packaging>bundle</packaging>
15         <properties>
16                 <!-- Sonar properties using jacoco to retrieve integration test results -->
17                 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
18                 <sonar.jacoco.Reportpath>target/jacoco.exec</sonar.jacoco.Reportpath>
19                 <sonar.jacoco.itReportPath>target/jacoco-it.exec</sonar.jacoco.itReportPath>
20         </properties>
21         <build>
22                 <pluginManagement>
23                         <plugins>
24                                 <plugin>
25                                         <groupId>org.jacoco</groupId>
26                                         <artifactId>jacoco-maven-plugin</artifactId>
27                                         <version>${jacoco.version}</version>
28                                 </plugin>
29                         </plugins>
30                 </pluginManagement>
31                 <plugins>
32                         <plugin>
33                                 <groupId>org.apache.felix</groupId>
34                                 <artifactId>maven-bundle-plugin</artifactId>
35                                 <!--version>2.3.6</version -->
36                                 <extensions>true</extensions>
37                                 <configuration>
38                                         <instructions>
39                                                 <Export-Package>
40                                                         org.opendaylight.lispflowmapping.interfaces.dao,
41                                                         org.opendaylight.lispflowmapping.interfaces.lisp,
42                                                         org.opendaylight.lispflowmapping.type,
43                                                         org.opendaylight.lispflowmapping.type.lisp,
44                                                         org.opendaylight.lispflowmapping.type.lisp.address,
45                                                         org.opendaylight.lispflowmapping.type.sbplugin
46                                                 </Export-Package>
47                                                 <Import-Package>
48                                                         org.opendaylight.controller.sal.binding.api,
49                                                         org.opendaylight.yangtools.yang.binding,
50                                                         javax.xml.bind,
51                                                         javax.xml.bind.annotation,
52                                                         org.slf4j,
53                                                         org.opendaylight.yangtools.yang.common
54                                                 </Import-Package>
55                                                 <Bundle-Activator>
56                                                 </Bundle-Activator>
57                                                 <Service-Component>
58                                                 </Service-Component>
59                                         </instructions>
60                                 </configuration>
61                         </plugin>
62                         <plugin>
63                                 <groupId>org.jacoco</groupId>
64                                 <artifactId>jacoco-maven-plugin</artifactId>
65                                 <configuration>
66                                         <includes>org.opendaylight.controller.*</includes>
67                                 </configuration>
68                                 <executions>
69                                         <execution>
70                                                 <id>pre-test</id>
71                                                 <goals>
72                                                         <goal>prepare-agent</goal>
73                                                 </goals>
74                                         </execution>
75                                         <execution>
76                                                 <id>post-test</id>
77                                                 <phase>test</phase>
78                                                 <goals>
79                                                         <goal>report</goal>
80                                                 </goals>
81                                         </execution>
82                                 </executions>
83                         </plugin>
84                 </plugins>
85         </build>
86         <dependencies>
87                 <dependency>
88                         <groupId>org.opendaylight.controller</groupId>
89                         <artifactId>sal-binding-api</artifactId>
90                 </dependency>
91                 <dependency>
92                         <groupId>org.opendaylight.controller</groupId>
93                         <artifactId>sal-common-util</artifactId>
94                 </dependency>
95                 <dependency>
96                         <groupId>org.opendaylight.controller</groupId>
97                         <artifactId>sal</artifactId>
98                 </dependency>
99         </dependencies>
100 </project>