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 <!-- TODO Remove when https://git.opendaylight.org/gerrit/#/c/44502/ is merged -->
76 <groupId>javax.inject</groupId>
77 <artifactId>javax.inject</artifactId>
79 <!-- <scope>provided is wrong here, and causes "Missing Constraint: Import-Package: javax.inject",
80 because javax.inject.Inject & Co. are @Retention(RUNTIME). As bnd generates a MANIFEST.MF with import-package,
81 you must have <bundle>wrap:mvn:javax.inject/javax.inject/{{VERSION}} in respective features.xml -->
84 <!-- Dependencies used only by code under src/test (<scope>test) -->
86 <groupId>${project.groupId}</groupId>
87 <artifactId>aclservice-api</artifactId>
88 <version>${project.version}</version>
93 <groupId>org.opendaylight.genius</groupId>
94 <artifactId>mdsalutil-api</artifactId>
95 <version>${genius.version}</version>
100 <groupId>org.opendaylight.yangtools</groupId>
101 <artifactId>testutils</artifactId>
105 <groupId>com.google.truth</groupId>
106 <artifactId>truth</artifactId>
110 <groupId>org.eclipse.xtend</groupId>
111 <artifactId>org.eclipse.xtend.lib</artifactId>
116 <groupId>org.hamcrest</groupId>
117 <artifactId>hamcrest-library</artifactId>
122 <groupId>org.opendaylight.controller</groupId>
123 <artifactId>sal-binding-broker-impl</artifactId>
124 <type>test-jar</type>
128 <groupId>org.slf4j</groupId>
129 <artifactId>slf4j-simple</artifactId>
133 <groupId>com.google.inject</groupId>
134 <artifactId>guice</artifactId>
135 <!-- TODO Remove <version> once TBD https://git.opendaylight.org/gerrit/#/c/?/ has been merged -->
136 <!-- 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) -->
137 <version>4.0</version>
141 <groupId>com.mycila.guice.extensions</groupId>
142 <artifactId>mycila-guice-jsr250</artifactId>
143 <version>3.6.ga</version>
147 <groupId>org.sonatype.sisu</groupId>
148 <artifactId>sisu-guice</artifactId>
157 <groupId>org.eclipse.xtend</groupId>
158 <artifactId>xtend-maven-plugin</artifactId>
161 <groupId>org.apache.maven.plugins</groupId>
162 <artifactId>maven-checkstyle-plugin</artifactId>
164 <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
168 <groupId>org.apache.felix</groupId>
169 <artifactId>maven-bundle-plugin</artifactId>
170 <extensions>true</extensions>
173 <Embed-Dependency>utils.config;type=!pom;inline=false</Embed-Dependency>
174 <Embed-Transitive>true</Embed-Transitive>
179 <groupId>org.codehaus.mojo</groupId>
180 <artifactId>build-helper-maven-plugin</artifactId>
183 <id>attach-artifacts</id>
185 <goal>attach-artifact</goal>
187 <phase>package</phase>
191 <file>${project.build.directory}/classes/initial/netvirt-aclservice-config.xml</file>
193 <classifier>config</classifier>
201 <!-- TODO If overall proposed direction of this Gerrit is +1 by everyone,
202 then move both the blueprint-maven-plugin and the maven-antrun-plugin to odl-parent and remove from here -->
203 <groupId>org.apache.aries.blueprint</groupId>
204 <artifactId>blueprint-maven-plugin</artifactId>
205 <version>1.4.0</version>
208 <scanPath>org.opendaylight</scanPath>
213 <!-- https://stackoverflow.com/questions/38825386/blueprint-maven-plugin-runtimeexception -->
214 <groupId>org.apache.xbean</groupId>
215 <artifactId>xbean-finder-shaded</artifactId>
216 <version>4.5</version>
222 <goal>blueprint-generate</goal>
227 <!-- Remove then when upgrading blueprint-maven-plugin to 1.5.0,
228 and use <configuration><generatedDir>org/opendaylight/blueprint/
229 see https://issues.apache.org/jira/browse/ARIES-1597 -->
231 <artifactId>maven-antrun-plugin</artifactId>
234 <phase>process-classes</phase>
240 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
241 <move file="${basedir}/target/generated-resources/OSGI-INF/blueprint/autowire.xml"
242 todir="${basedir}/target/generated-resources/org/opendaylight/blueprint" />
252 Maven Site Configuration
254 The following configuration is necessary for maven-site-plugin to
255 correctly identify the correct deployment path for OpenDaylight Maven
258 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
260 <distributionManagement>
262 <id>opendaylight-site</id>
263 <url>${nexus.site.url}/${project.artifactId}/</url>
265 </distributionManagement>