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.
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
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>
14 <groupId>org.opendaylight.netvirt</groupId>
15 <artifactId>config-parent</artifactId>
16 <version>0.4.0-SNAPSHOT</version>
17 <relativePath>../../commons/config-parent</relativePath>
20 <groupId>org.opendaylight.netvirt</groupId>
21 <artifactId>aclservice-impl</artifactId>
22 <version>0.4.0-SNAPSHOT</version>
23 <packaging>bundle</packaging>
27 <groupId>${project.groupId}</groupId>
28 <artifactId>aclservice-api</artifactId>
29 <version>${project.version}</version>
32 <groupId>org.opendaylight.controller</groupId>
33 <artifactId>sal-binding-api</artifactId>
36 <groupId>org.opendaylight.controller</groupId>
37 <artifactId>sal-binding-broker-impl</artifactId>
40 <groupId>org.opendaylight.neutron</groupId>
41 <artifactId>model</artifactId>
42 <version>${neutron.version}</version>
45 <groupId>org.opendaylight.genius</groupId>
46 <artifactId>mdsalutil-api</artifactId>
47 <version>${genius.version}</version>
50 <groupId>org.opendaylight.genius</groupId>
51 <artifactId>interfacemanager-api</artifactId>
52 <version>${genius.version}</version>
55 <groupId>org.opendaylight.ovsdb</groupId>
56 <artifactId>southbound-api</artifactId>
57 <version>${vpns.ovsdb.version}</version>
60 <groupId>${project.groupId}</groupId>
61 <artifactId>neutronvpn-api</artifactId>
62 <version>${vpnservices.version}</version>
65 <groupId>org.opendaylight.ovsdb</groupId>
66 <artifactId>utils.config</artifactId>
67 <version>${vpns.ovsdb.version}</version>
70 <groupId>org.opendaylight.netvirt</groupId>
71 <artifactId>elanmanager-api</artifactId>
72 <version>${vpnservices.version}</version>
75 <groupId>org.opendaylight.infrautils</groupId>
76 <artifactId>inject</artifactId>
77 <version>${infrautils.version}</version>
80 <!-- Dependencies used only by code under src/test (<scope>test) -->
82 <groupId>${project.groupId}</groupId>
83 <artifactId>aclservice-api</artifactId>
84 <version>${project.version}</version>
89 <groupId>org.opendaylight.genius</groupId>
90 <artifactId>mdsalutil-api</artifactId>
91 <version>${genius.version}</version>
96 <groupId>org.opendaylight.yangtools</groupId>
97 <artifactId>testutils</artifactId>
101 <groupId>com.google.truth</groupId>
102 <artifactId>truth</artifactId>
106 <groupId>org.eclipse.xtend</groupId>
107 <artifactId>org.eclipse.xtend.lib</artifactId>
112 <groupId>org.hamcrest</groupId>
113 <artifactId>hamcrest-library</artifactId>
118 <groupId>org.opendaylight.controller</groupId>
119 <artifactId>sal-binding-broker-impl</artifactId>
120 <type>test-jar</type>
124 <groupId>org.slf4j</groupId>
125 <artifactId>slf4j-simple</artifactId>
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>
137 <groupId>com.mycila.guice.extensions</groupId>
138 <artifactId>mycila-guice-jsr250</artifactId>
139 <version>3.6.ga</version>
143 <groupId>org.sonatype.sisu</groupId>
144 <artifactId>sisu-guice</artifactId>
153 <groupId>org.eclipse.xtend</groupId>
154 <artifactId>xtend-maven-plugin</artifactId>
157 <groupId>org.apache.maven.plugins</groupId>
158 <artifactId>maven-checkstyle-plugin</artifactId>
160 <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
164 <groupId>org.apache.felix</groupId>
165 <artifactId>maven-bundle-plugin</artifactId>
166 <extensions>true</extensions>
169 <Embed-Dependency>utils.config;type=!pom;inline=false</Embed-Dependency>
170 <Embed-Transitive>true</Embed-Transitive>
175 <groupId>org.codehaus.mojo</groupId>
176 <artifactId>build-helper-maven-plugin</artifactId>
179 <id>attach-artifacts</id>
181 <goal>attach-artifact</goal>
183 <phase>package</phase>
187 <file>${project.build.directory}/classes/initial/netvirt-aclservice-config.xml</file>
189 <classifier>config</classifier>
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>
204 <scanPath>org.opendaylight</scanPath>
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>
218 <goal>blueprint-generate</goal>
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 -->
227 <artifactId>maven-antrun-plugin</artifactId>
230 <phase>process-classes</phase>
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" />
248 Maven Site Configuration
250 The following configuration is necessary for maven-site-plugin to
251 correctly identify the correct deployment path for OpenDaylight Maven
254 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
256 <distributionManagement>
258 <id>opendaylight-site</id>
259 <url>${nexus.site.url}/${project.artifactId}/</url>
261 </distributionManagement>