AclServiceTest with JUnit @Rule GuiceRule
[netvirt.git] / vpnservice / aclservice / impl / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: --><!--
3 Copyright (c) 2016 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved.
4
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
11   <modelVersion>4.0.0</modelVersion>
12
13   <parent>
14     <groupId>org.opendaylight.netvirt</groupId>
15     <artifactId>config-parent</artifactId>
16     <version>0.4.0-SNAPSHOT</version>
17     <relativePath>../../commons/config-parent</relativePath>
18   </parent>
19
20   <groupId>org.opendaylight.netvirt</groupId>
21   <artifactId>aclservice-impl</artifactId>
22   <version>0.4.0-SNAPSHOT</version>
23   <packaging>bundle</packaging>
24
25   <dependencies>
26     <dependency>
27       <groupId>${project.groupId}</groupId>
28       <artifactId>aclservice-api</artifactId>
29       <version>${project.version}</version>
30     </dependency>
31     <dependency>
32       <groupId>org.opendaylight.controller</groupId>
33       <artifactId>sal-binding-api</artifactId>
34     </dependency>
35     <dependency>
36       <groupId>org.opendaylight.controller</groupId>
37       <artifactId>sal-binding-broker-impl</artifactId>
38     </dependency>
39     <dependency>
40       <groupId>org.opendaylight.neutron</groupId>
41       <artifactId>model</artifactId>
42       <version>${neutron.version}</version>
43     </dependency>
44     <dependency>
45       <groupId>org.opendaylight.genius</groupId>
46       <artifactId>mdsalutil-api</artifactId>
47       <version>${genius.version}</version>
48     </dependency>
49     <dependency>
50       <groupId>org.opendaylight.genius</groupId>
51       <artifactId>interfacemanager-api</artifactId>
52       <version>${genius.version}</version>
53     </dependency>
54     <dependency>
55       <groupId>org.opendaylight.ovsdb</groupId>
56       <artifactId>southbound-api</artifactId>
57       <version>${vpns.ovsdb.version}</version>
58     </dependency>
59     <dependency>
60       <groupId>${project.groupId}</groupId>
61       <artifactId>neutronvpn-api</artifactId>
62       <version>${vpnservices.version}</version>
63     </dependency>
64     <dependency>
65       <groupId>org.opendaylight.ovsdb</groupId>
66       <artifactId>utils.config</artifactId>
67       <version>${vpns.ovsdb.version}</version>
68     </dependency>
69     <dependency>
70       <groupId>org.opendaylight.netvirt</groupId>
71       <artifactId>elanmanager-api</artifactId>
72       <version>${vpnservices.version}</version>
73     </dependency>
74     <dependency>
75       <groupId>org.opendaylight.infrautils</groupId>
76       <artifactId>inject</artifactId>
77       <version>${infrautils.version}</version>
78     </dependency>
79     <dependency>
80       <groupId>org.opendaylight.infrautils</groupId>
81       <artifactId>inject.guice.testutils</artifactId>
82       <version>${infrautils.version}</version>
83     </dependency>
84
85     <!-- Dependencies used only by code under src/test (<scope>test) -->
86     <dependency>
87       <groupId>org.opendaylight.genius</groupId>
88       <artifactId>mdsalutil-api</artifactId>
89       <version>${genius.version}</version>
90       <type>test-jar</type>
91       <scope>test</scope>
92     </dependency>
93     <dependency>
94       <groupId>org.opendaylight.yangtools</groupId>
95       <artifactId>testutils</artifactId>
96       <scope>test</scope>
97     </dependency>
98     <dependency>
99       <groupId>com.google.truth</groupId>
100       <artifactId>truth</artifactId>
101       <scope>test</scope>
102     </dependency>
103     <dependency>
104       <groupId>com.googlecode.java-ipv6</groupId>
105       <artifactId>java-ipv6</artifactId>
106       <version>0.16</version>
107     </dependency>
108     <dependency>
109       <groupId>org.eclipse.xtend</groupId>
110       <artifactId>org.eclipse.xtend.lib</artifactId>
111       <scope>test</scope>
112     </dependency>
113 <!--
114     <dependency>
115       <groupId>org.hamcrest</groupId>
116       <artifactId>hamcrest-library</artifactId>
117       <scope>test</scope>
118     </dependency>
119  -->
120     <dependency>
121       <groupId>org.opendaylight.controller</groupId>
122       <artifactId>sal-binding-broker-impl</artifactId>
123       <type>test-jar</type>
124       <scope>test</scope>
125     </dependency>
126     <dependency>
127       <groupId>org.slf4j</groupId>
128       <artifactId>slf4j-simple</artifactId>
129       <scope>test</scope>
130     </dependency>
131     <dependency>
132       <groupId>com.mycila.guice.extensions</groupId>
133       <artifactId>mycila-guice-jsr250</artifactId>
134       <scope>test</scope>
135     </dependency>
136     <dependency>
137       <groupId>ch.vorburger</groupId>
138       <artifactId>xtendbeans</artifactId>
139       <version>1.2.0</version>
140       <scope>test</scope>
141     </dependency>
142   </dependencies>
143
144   <build>
145     <plugins>
146       <plugin>
147         <groupId>org.eclipse.xtend</groupId>
148         <artifactId>xtend-maven-plugin</artifactId>
149       </plugin>
150       <plugin>
151         <groupId>org.apache.maven.plugins</groupId>
152         <artifactId>maven-checkstyle-plugin</artifactId>
153         <configuration>
154           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
155         </configuration>
156       </plugin>
157       <plugin>
158         <groupId>org.apache.felix</groupId>
159         <artifactId>maven-bundle-plugin</artifactId>
160         <extensions>true</extensions>
161         <configuration>
162           <instructions>
163             <Embed-Dependency>utils.config;type=!pom;inline=false</Embed-Dependency>
164             <Embed-Transitive>true</Embed-Transitive>
165           </instructions>
166         </configuration>
167       </plugin>
168       <plugin>
169         <groupId>org.codehaus.mojo</groupId>
170         <artifactId>build-helper-maven-plugin</artifactId>
171         <executions>
172           <execution>
173             <id>attach-artifacts</id>
174             <goals>
175               <goal>attach-artifact</goal>
176             </goals>
177             <phase>package</phase>
178             <configuration>
179               <artifacts>
180                 <artifact>
181                   <file>${project.build.directory}/classes/initial/netvirt-aclservice-config.xml</file>
182                   <type>xml</type>
183                   <classifier>config</classifier>
184                 </artifact>
185               </artifacts>
186             </configuration>
187           </execution>
188         </executions>
189       </plugin>
190       <plugin>
191         <!-- TODO If overall proposed direction of this Gerrit is +1 by everyone,
192              then move both the blueprint-maven-plugin and the maven-antrun-plugin to odl-parent and remove from here -->
193         <groupId>org.apache.aries.blueprint</groupId>
194         <artifactId>blueprint-maven-plugin</artifactId>
195         <version>1.4.0</version>
196         <configuration>
197           <scanPaths>
198             <scanPath>org.opendaylight</scanPath>
199           </scanPaths>
200         </configuration>
201         <dependencies>
202           <dependency>
203             <!-- https://stackoverflow.com/questions/38825386/blueprint-maven-plugin-runtimeexception -->
204             <groupId>org.apache.xbean</groupId>
205             <artifactId>xbean-finder-shaded</artifactId>
206             <version>4.5</version>
207           </dependency>
208         </dependencies>
209         <executions>
210           <execution>
211             <goals>
212               <goal>blueprint-generate</goal>
213             </goals>
214           </execution>
215         </executions>
216       </plugin>
217       <!-- Remove then when upgrading blueprint-maven-plugin to 1.5.0,
218            and use <configuration><generatedDir>org/opendaylight/blueprint/
219            see https://issues.apache.org/jira/browse/ARIES-1597 -->
220       <plugin>
221         <artifactId>maven-antrun-plugin</artifactId>
222         <executions>
223           <execution>
224             <phase>process-classes</phase>
225             <goals>
226               <goal>run</goal>
227             </goals>
228             <configuration>
229               <tasks>
230                 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
231                 <move file="${basedir}/target/generated-resources/OSGI-INF/blueprint/autowire.xml"
232                       todir="${basedir}/target/generated-resources/org/opendaylight/blueprint" />
233               </tasks>
234             </configuration>
235           </execution>
236         </executions>
237       </plugin>
238     </plugins>
239   </build>
240
241   <!--
242       Maven Site Configuration
243
244       The following configuration is necessary for maven-site-plugin to
245       correctly identify the correct deployment path for OpenDaylight Maven
246       sites.
247   -->
248   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
249
250   <distributionManagement>
251     <site>
252       <id>opendaylight-site</id>
253       <url>${nexus.site.url}/${project.artifactId}/</url>
254     </site>
255   </distributionManagement>
256 </project>