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">
13 <groupId>org.opendaylight.netvirt</groupId>
14 <artifactId>config-parent</artifactId>
15 <version>0.4.0-SNAPSHOT</version>
16 <relativePath>../../commons/config-parent</relativePath>
19 <modelVersion>4.0.0</modelVersion>
20 <groupId>org.opendaylight.netvirt</groupId>
21 <artifactId>aclservice-impl</artifactId>
22 <version>0.4.0-SNAPSHOT</version>
23 <packaging>bundle</packaging>
26 <groupId>${project.groupId}</groupId>
27 <artifactId>aclservice-api</artifactId>
28 <version>${project.version}</version>
31 <groupId>org.opendaylight.controller</groupId>
32 <artifactId>sal-binding-api</artifactId>
35 <groupId>org.opendaylight.controller</groupId>
36 <artifactId>sal-binding-broker-impl</artifactId>
39 <groupId>org.opendaylight.neutron</groupId>
40 <artifactId>model</artifactId>
41 <version>${neutron.version}</version>
44 <groupId>org.opendaylight.genius</groupId>
45 <artifactId>mdsalutil-api</artifactId>
46 <version>${genius.version}</version>
49 <groupId>org.opendaylight.genius</groupId>
50 <artifactId>interfacemanager-api</artifactId>
51 <version>${genius.version}</version>
54 <groupId>org.opendaylight.ovsdb</groupId>
55 <artifactId>southbound-api</artifactId>
56 <version>${vpns.ovsdb.version}</version>
59 <groupId>${project.groupId}</groupId>
60 <artifactId>neutronvpn-api</artifactId>
61 <version>${vpnservices.version}</version>
64 <groupId>org.opendaylight.ovsdb</groupId>
65 <artifactId>utils.config</artifactId>
66 <version>${vpns.ovsdb.version}</version>
69 <groupId>org.opendaylight.netvirt</groupId>
70 <artifactId>elanmanager-api</artifactId>
71 <version>${vpnservices.version}</version>
74 <!-- TODO Remove when https://git.opendaylight.org/gerrit/#/c/44502/ is merged -->
75 <groupId>javax.inject</groupId>
76 <artifactId>javax.inject</artifactId>
78 <!-- <scope>provided is wrong here, and causes "Missing Constraint: Import-Package: javax.inject",
79 because javax.inject.Inject & Co. are @Retention(RUNTIME). As bnd generates a MANIFEST.MF with import-package,
80 you must have <bundle>wrap:mvn:javax.inject/javax.inject/{{VERSION}} in respective features.xml -->
87 <groupId>org.apache.maven.plugins</groupId>
88 <artifactId>maven-checkstyle-plugin</artifactId>
90 <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
94 <groupId>org.apache.felix</groupId>
95 <artifactId>maven-bundle-plugin</artifactId>
96 <extensions>true</extensions>
99 <Embed-Dependency>utils.config;type=!pom;inline=false</Embed-Dependency>
100 <Embed-Transitive>true</Embed-Transitive>
105 <groupId>org.codehaus.mojo</groupId>
106 <artifactId>build-helper-maven-plugin</artifactId>
109 <id>attach-artifacts</id>
111 <goal>attach-artifact</goal>
113 <phase>package</phase>
117 <file>${project.build.directory}/classes/initial/netvirt-aclservice-config.xml</file>
119 <classifier>config</classifier>
127 <!-- TODO If overall proposed direction of this Gerrit is +1 by everyone,
128 then move both the blueprint-maven-plugin and the maven-antrun-plugin to odl-parent and remove from here -->
129 <groupId>org.apache.aries.blueprint</groupId>
130 <artifactId>blueprint-maven-plugin</artifactId>
131 <version>1.4.0</version>
134 <scanPath>org.opendaylight</scanPath>
139 <!-- https://stackoverflow.com/questions/38825386/blueprint-maven-plugin-runtimeexception -->
140 <groupId>org.apache.xbean</groupId>
141 <artifactId>xbean-finder-shaded</artifactId>
142 <version>4.5</version>
148 <goal>blueprint-generate</goal>
153 <!-- Remove then when upgrading blueprint-maven-plugin to 1.5.0,
154 and use <configuration><generatedDir>org/opendaylight/blueprint/
155 see https://issues.apache.org/jira/browse/ARIES-1597 -->
157 <artifactId>maven-antrun-plugin</artifactId>
160 <phase>process-classes</phase>
166 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
167 <move file="${basedir}/target/generated-resources/OSGI-INF/blueprint/autowire.xml"
168 todir="${basedir}/target/generated-resources/org/opendaylight/blueprint" />
178 Maven Site Configuration
180 The following configuration is necessary for maven-site-plugin to
181 correctly identify the correct deployment path for OpenDaylight Maven
184 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
186 <distributionManagement>
188 <id>opendaylight-site</id>
189 <url>${nexus.site.url}/${project.artifactId}/</url>
191 </distributionManagement>