2692504cbe11368832c13c5f99807c5c479ac5b7
[lispflowmapping.git] / mappingservice / implementation / 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
5   <parent>
6     <groupId>org.opendaylight.lispflowmapping</groupId>
7     <artifactId>mappingservice-parent</artifactId>
8     <version>1.19.0-SNAPSHOT</version>
9   </parent>
10
11   <artifactId>mappingservice.implementation</artifactId>
12   <packaging>bundle</packaging>
13   <!-- <name> formatting is used by autorelease to parse and notify projects on
14        build failure. Please do not modify this unless you have a good reason. -->
15   <name>ODL :: lispflowmapping :: ${project.artifactId}</name>
16
17   <properties>
18     <odlparent.spotbugs.enforce>false</odlparent.spotbugs.enforce>
19   </properties>
20
21   <dependencies>
22     <dependency>
23       <groupId>org.osgi</groupId>
24       <artifactId>org.osgi.framework</artifactId>
25     </dependency>
26     <dependency>
27       <groupId>${project.groupId}</groupId>
28       <artifactId>mappingservice.api</artifactId>
29     </dependency>
30     <dependency>
31       <groupId>${project.groupId}</groupId>
32       <artifactId>mappingservice.dsbackend</artifactId>
33     </dependency>
34     <dependency>
35       <groupId>${project.groupId}</groupId>
36       <artifactId>mappingservice.lisp-proto</artifactId>
37     </dependency>
38     <dependency>
39       <groupId>${project.groupId}</groupId>
40       <artifactId>mappingservice.mapcache</artifactId>
41     </dependency>
42     <dependency>
43       <groupId>${project.groupId}</groupId>
44       <artifactId>mappingservice.config</artifactId>
45     </dependency>
46     <dependency>
47       <groupId>org.mockito</groupId>
48       <artifactId>mockito-core</artifactId>
49       <version>3.12.4</version>
50       <scope>test</scope>
51     </dependency>
52     <dependency>
53       <groupId>org.powermock</groupId>
54       <artifactId>powermock-api-mockito2</artifactId>
55       <version>2.0.9</version>
56       <scope>test</scope>
57     </dependency>
58     <dependency>
59       <groupId>org.powermock</groupId>
60       <artifactId>powermock-module-junit4</artifactId>
61       <version>2.0.9</version>
62       <scope>test</scope>
63     </dependency>
64     <dependency>
65       <groupId>org.opendaylight.lispflowmapping</groupId>
66       <artifactId>mappingservice.inmemorydb</artifactId>
67       <scope>test</scope>
68     </dependency>
69     <!-- osgi annotations -->
70     <dependency>
71       <groupId>com.guicedee.services</groupId>
72       <artifactId>javax.inject</artifactId>
73       <optional>true</optional>
74     </dependency>
75     <dependency>
76       <groupId>jakarta.annotation</groupId>
77       <artifactId>jakarta.annotation-api</artifactId>
78       <optional>true</optional>
79     </dependency>
80     <dependency>
81       <groupId>org.osgi</groupId>
82       <artifactId>org.osgi.service.component.annotations</artifactId>
83     </dependency>
84     <!-- needed for osgi console -->
85     <dependency>
86       <groupId>org.opendaylight.mdsal</groupId>
87       <artifactId>mdsal-singleton-api</artifactId>
88     </dependency>
89     <dependency>
90       <groupId>org.opendaylight.mdsal</groupId>
91       <artifactId>mdsal-singleton-impl</artifactId>
92     </dependency>
93   </dependencies>
94
95   <build>
96     <plugins>
97       <plugin>
98         <artifactId>maven-surefire-plugin</artifactId>
99         <configuration combine.children="append">
100           <!-- FIXME: remove this declaration once powermock is gone -->
101           <argLine>
102             @{argLine}
103             --add-opens java.base/java.lang=ALL-UNNAMED
104             --add-opens java.base/java.lang.reflect=ALL-UNNAMED
105             --add-opens java.base/java.net=ALL-UNNAMED
106             --add-opens java.base/java.util=ALL-UNNAMED
107             --add-opens java.base/java.util.concurrent=ALL-UNNAMED
108           </argLine>
109         </configuration>
110       </plugin>
111     </plugins>
112   </build>
113 </project>