Merge "Bug 6592: Adding output to group of external network when using NAPT"
[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
12   <parent>
13     <groupId>org.opendaylight.netvirt</groupId>
14     <artifactId>config-parent</artifactId>
15     <version>0.4.0-SNAPSHOT</version>
16     <relativePath>../../commons/config-parent</relativePath>
17   </parent>
18
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>
24   <dependencies>
25     <dependency>
26       <groupId>${project.groupId}</groupId>
27       <artifactId>aclservice-api</artifactId>
28       <version>${project.version}</version>
29     </dependency>
30     <dependency>
31       <groupId>org.opendaylight.controller</groupId>
32       <artifactId>sal-binding-api</artifactId>
33     </dependency>
34     <dependency>
35       <groupId>org.opendaylight.controller</groupId>
36       <artifactId>sal-binding-broker-impl</artifactId>
37     </dependency>
38     <dependency>
39       <groupId>org.opendaylight.neutron</groupId>
40       <artifactId>model</artifactId>
41       <version>${neutron.version}</version>
42     </dependency>
43     <dependency>
44       <groupId>org.opendaylight.genius</groupId>
45       <artifactId>mdsalutil-api</artifactId>
46       <version>${genius.version}</version>
47     </dependency>
48     <dependency>
49       <groupId>org.opendaylight.genius</groupId>
50       <artifactId>interfacemanager-api</artifactId>
51       <version>${genius.version}</version>
52     </dependency>
53     <dependency>
54       <groupId>org.opendaylight.ovsdb</groupId>
55       <artifactId>southbound-api</artifactId>
56       <version>${vpns.ovsdb.version}</version>
57     </dependency>
58     <dependency>
59       <groupId>${project.groupId}</groupId>
60       <artifactId>neutronvpn-api</artifactId>
61       <version>${vpnservices.version}</version>
62     </dependency>
63     <dependency>
64       <groupId>org.opendaylight.ovsdb</groupId>
65       <artifactId>utils.config</artifactId>
66       <version>${vpns.ovsdb.version}</version>
67     </dependency>
68      <dependency>
69       <groupId>org.opendaylight.netvirt</groupId>
70       <artifactId>elanmanager-api</artifactId>
71       <version>${vpnservices.version}</version>
72     </dependency>
73     <dependency>
74       <!-- TODO Remove when https://git.opendaylight.org/gerrit/#/c/44502/ is merged -->
75       <groupId>javax.inject</groupId>
76       <artifactId>javax.inject</artifactId>
77       <version>1</version>
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 -->
81     </dependency>
82   </dependencies>
83
84   <build>
85     <plugins>
86       <plugin>
87         <groupId>org.apache.maven.plugins</groupId>
88         <artifactId>maven-checkstyle-plugin</artifactId>
89         <configuration>
90           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
91         </configuration>
92       </plugin>
93       <plugin>
94         <groupId>org.apache.felix</groupId>
95         <artifactId>maven-bundle-plugin</artifactId>
96         <extensions>true</extensions>
97         <configuration>
98           <instructions>
99             <Embed-Dependency>utils.config;type=!pom;inline=false</Embed-Dependency>
100             <Embed-Transitive>true</Embed-Transitive>
101           </instructions>
102         </configuration>
103       </plugin>
104       <plugin>
105         <groupId>org.codehaus.mojo</groupId>
106         <artifactId>build-helper-maven-plugin</artifactId>
107         <executions>
108           <execution>
109             <id>attach-artifacts</id>
110             <goals>
111               <goal>attach-artifact</goal>
112             </goals>
113             <phase>package</phase>
114             <configuration>
115               <artifacts>
116                 <artifact>
117                   <file>${project.build.directory}/classes/initial/netvirt-aclservice-config.xml</file>
118                   <type>xml</type>
119                   <classifier>config</classifier>
120                 </artifact>
121               </artifacts>
122             </configuration>
123           </execution>
124         </executions>
125       </plugin>
126       <plugin>
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>
132         <configuration>
133           <scanPaths>
134             <scanPath>org.opendaylight</scanPath>
135           </scanPaths>
136         </configuration>
137         <dependencies>
138           <dependency>
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>
143           </dependency>
144         </dependencies>
145         <executions>
146           <execution>
147             <goals>
148               <goal>blueprint-generate</goal>
149             </goals>
150           </execution>
151         </executions>
152       </plugin>
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 -->
156       <plugin>
157         <artifactId>maven-antrun-plugin</artifactId>
158         <executions>
159           <execution>
160             <phase>process-classes</phase>
161             <goals>
162               <goal>run</goal>
163             </goals>
164             <configuration>
165               <tasks>
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" />
169               </tasks>
170             </configuration>
171           </execution>
172         </executions>
173       </plugin>
174     </plugins>
175   </build>
176
177   <!--
178       Maven Site Configuration
179
180       The following configuration is necessary for maven-site-plugin to
181       correctly identify the correct deployment path for OpenDaylight Maven
182       sites.
183   -->
184   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
185
186   <distributionManagement>
187     <site>
188       <id>opendaylight-site</id>
189       <url>${nexus.site.url}/${project.artifactId}/</url>
190     </site>
191   </distributionManagement>
192 </project>