Merge "Bug 6690 - when mixing dpdk & non-dpdk OVS with the same ODL no way to configu...
[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
80     <!-- Dependencies used only by code under src/test (<scope>test) -->
81     <dependency>
82       <groupId>${project.groupId}</groupId>
83       <artifactId>aclservice-api</artifactId>
84       <version>${project.version}</version>
85       <type>test-jar</type>
86       <scope>test</scope>
87     </dependency>
88     <dependency>
89       <groupId>org.opendaylight.genius</groupId>
90       <artifactId>mdsalutil-api</artifactId>
91       <version>${genius.version}</version>
92       <type>test-jar</type>
93       <scope>test</scope>
94     </dependency>
95     <dependency>
96       <groupId>org.opendaylight.yangtools</groupId>
97       <artifactId>testutils</artifactId>
98       <scope>test</scope>
99     </dependency>
100     <dependency>
101       <groupId>com.google.truth</groupId>
102       <artifactId>truth</artifactId>
103       <scope>test</scope>
104     </dependency>
105     <dependency>
106       <groupId>org.eclipse.xtend</groupId>
107       <artifactId>org.eclipse.xtend.lib</artifactId>
108       <scope>test</scope>
109     </dependency>
110 <!--
111     <dependency>
112       <groupId>org.hamcrest</groupId>
113       <artifactId>hamcrest-library</artifactId>
114       <scope>test</scope>
115     </dependency>
116  -->
117     <dependency>
118       <groupId>org.opendaylight.controller</groupId>
119       <artifactId>sal-binding-broker-impl</artifactId>
120       <type>test-jar</type>
121       <scope>test</scope>
122     </dependency>
123     <dependency>
124       <groupId>org.slf4j</groupId>
125       <artifactId>slf4j-simple</artifactId>
126       <scope>test</scope>
127     </dependency>
128     <dependency>
129       <groupId>com.google.inject</groupId>
130       <artifactId>guice</artifactId>
131       <!-- TODO Remove <version> once TBD https://git.opendaylight.org/gerrit/#/c/?/ has been merged -->
132       <!-- Must use 4.0 instead of 4.1.0 due incomp. with to mycila-guice-jsr250 3.6.ga, see https://github.com/mycila/guice/issues/11 (below)  -->
133       <version>4.0</version>
134       <scope>test</scope>
135     </dependency>
136     <dependency>
137       <groupId>com.mycila.guice.extensions</groupId>
138       <artifactId>mycila-guice-jsr250</artifactId>
139       <version>3.6.ga</version>
140       <scope>test</scope>
141       <exclusions>
142         <exclusion>
143           <groupId>org.sonatype.sisu</groupId>
144           <artifactId>sisu-guice</artifactId>
145         </exclusion>
146       </exclusions>
147     </dependency>
148   </dependencies>
149
150   <build>
151     <plugins>
152       <plugin>
153         <groupId>org.eclipse.xtend</groupId>
154         <artifactId>xtend-maven-plugin</artifactId>
155       </plugin>
156       <plugin>
157         <groupId>org.apache.maven.plugins</groupId>
158         <artifactId>maven-checkstyle-plugin</artifactId>
159         <configuration>
160           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
161         </configuration>
162       </plugin>
163       <plugin>
164         <groupId>org.apache.felix</groupId>
165         <artifactId>maven-bundle-plugin</artifactId>
166         <extensions>true</extensions>
167         <configuration>
168           <instructions>
169             <Embed-Dependency>utils.config;type=!pom;inline=false</Embed-Dependency>
170             <Embed-Transitive>true</Embed-Transitive>
171           </instructions>
172         </configuration>
173       </plugin>
174       <plugin>
175         <groupId>org.codehaus.mojo</groupId>
176         <artifactId>build-helper-maven-plugin</artifactId>
177         <executions>
178           <execution>
179             <id>attach-artifacts</id>
180             <goals>
181               <goal>attach-artifact</goal>
182             </goals>
183             <phase>package</phase>
184             <configuration>
185               <artifacts>
186                 <artifact>
187                   <file>${project.build.directory}/classes/initial/netvirt-aclservice-config.xml</file>
188                   <type>xml</type>
189                   <classifier>config</classifier>
190                 </artifact>
191               </artifacts>
192             </configuration>
193           </execution>
194         </executions>
195       </plugin>
196       <plugin>
197         <!-- TODO If overall proposed direction of this Gerrit is +1 by everyone,
198              then move both the blueprint-maven-plugin and the maven-antrun-plugin to odl-parent and remove from here -->
199         <groupId>org.apache.aries.blueprint</groupId>
200         <artifactId>blueprint-maven-plugin</artifactId>
201         <version>1.4.0</version>
202         <configuration>
203           <scanPaths>
204             <scanPath>org.opendaylight</scanPath>
205           </scanPaths>
206         </configuration>
207         <dependencies>
208           <dependency>
209             <!-- https://stackoverflow.com/questions/38825386/blueprint-maven-plugin-runtimeexception -->
210             <groupId>org.apache.xbean</groupId>
211             <artifactId>xbean-finder-shaded</artifactId>
212             <version>4.5</version>
213           </dependency>
214         </dependencies>
215         <executions>
216           <execution>
217             <goals>
218               <goal>blueprint-generate</goal>
219             </goals>
220           </execution>
221         </executions>
222       </plugin>
223       <!-- Remove then when upgrading blueprint-maven-plugin to 1.5.0,
224            and use <configuration><generatedDir>org/opendaylight/blueprint/
225            see https://issues.apache.org/jira/browse/ARIES-1597 -->
226       <plugin>
227         <artifactId>maven-antrun-plugin</artifactId>
228         <executions>
229           <execution>
230             <phase>process-classes</phase>
231             <goals>
232               <goal>run</goal>
233             </goals>
234             <configuration>
235               <tasks>
236                 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
237                 <move file="${basedir}/target/generated-resources/OSGI-INF/blueprint/autowire.xml"
238                       todir="${basedir}/target/generated-resources/org/opendaylight/blueprint" />
239               </tasks>
240             </configuration>
241           </execution>
242         </executions>
243       </plugin>
244     </plugins>
245   </build>
246
247   <!--
248       Maven Site Configuration
249
250       The following configuration is necessary for maven-site-plugin to
251       correctly identify the correct deployment path for OpenDaylight Maven
252       sites.
253   -->
254   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
255
256   <distributionManagement>
257     <site>
258       <id>opendaylight-site</id>
259       <url>${nexus.site.url}/${project.artifactId}/</url>
260     </site>
261   </distributionManagement>
262 </project>