9e19f083bd6333648bcc2be0d9a58adda89e8362
[netvirt.git] / vpnservice / qosservice / impl / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: --><!--
3 Copyright (c) 2017 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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
10
11     <parent>
12         <groupId>org.opendaylight.netvirt</groupId>
13         <artifactId>binding-parent</artifactId>
14         <version>0.6.0-SNAPSHOT</version>
15         <relativePath>../../commons/binding-parent</relativePath>
16     </parent>
17
18     <modelVersion>4.0.0</modelVersion>
19     <artifactId>qosservice-impl</artifactId>
20     <name>ODL :: netvirt :: ${project.artifactId}</name>
21     <packaging>bundle</packaging>
22     <dependencies>
23        <dependency>
24             <groupId>org.opendaylight.genius</groupId>
25             <artifactId>mdsalutil-api</artifactId>
26             <version>${genius.version}</version>
27         </dependency>
28         <dependency>
29             <groupId>org.opendaylight.genius</groupId>
30             <artifactId>interfacemanager-api</artifactId>
31             <version>${genius.version}</version>
32         </dependency>
33         <dependency>
34             <groupId>org.opendaylight.ovsdb</groupId>
35             <artifactId>utils.southbound-utils</artifactId>
36             <version>${ovsdb.version}</version>
37         </dependency>
38         <dependency>
39             <groupId>${project.groupId}</groupId>
40             <artifactId>neutronvpn-api</artifactId>
41             <version>${project.version}</version>
42         </dependency>
43         <dependency>
44             <groupId>com.google.truth</groupId>
45             <artifactId>truth</artifactId>
46             <scope>test</scope>
47         </dependency>
48         <dependency>
49             <groupId>${project.groupId}</groupId>
50             <artifactId>qosservice-api</artifactId>
51             <version>${project.version}</version>
52         </dependency>
53         <dependency>
54             <groupId>org.opendaylight.infrautils</groupId>
55             <artifactId>inject</artifactId>
56             <version>${infrautils.version}</version>
57         </dependency>
58         <dependency>
59             <groupId>org.apache.karaf.shell</groupId>
60             <artifactId>org.apache.karaf.shell.console</artifactId>
61             <scope>provided</scope>
62         </dependency>
63         <dependency>
64             <groupId>org.apache.felix</groupId>
65             <artifactId>org.apache.felix.configadmin</artifactId>
66             <version>1.8.14</version>
67         </dependency>
68     </dependencies>
69
70
71     <build>
72       <plugins>
73         <plugin>
74           <groupId>org.codehaus.mojo</groupId>
75           <artifactId>build-helper-maven-plugin</artifactId>
76           <executions>
77             <execution>
78               <id>attach-artifacts</id>
79               <goals>
80                 <goal>attach-artifact</goal>
81               </goals>
82               <phase>package</phase>
83               <configuration>
84                 <artifacts>
85                   <artifact>
86                     <file>${project.build.directory}/classes/initial/netvirt-qosservice-config.xml</file>
87                     <type>xml</type>
88                     <classifier>config</classifier>
89                   </artifact>
90                   <artifact>
91                     <file>${project.build.directory}/classes/initial/qosservice.cfg</file>
92                     <type>cfg</type>
93                     <classifier>config</classifier>
94                   </artifact>
95                 </artifacts>
96               </configuration>
97             </execution>
98           </executions>
99         </plugin>
100         <plugin>
101           <groupId>org.apache.aries.blueprint</groupId>
102           <artifactId>blueprint-maven-plugin</artifactId>
103         </plugin>
104         <plugin>
105           <groupId>org.apache.felix</groupId>
106           <artifactId>maven-bundle-plugin</artifactId>
107           <extensions>true</extensions>
108           <configuration>
109             <instructions>
110               <!-- This bundle works with Karaf 3 and 4.0 -->
111               <Import-Package>
112                 org.apache.karaf.shell.commands;version="[3.0.0,4.1)",
113                 org.apache.karaf.shell.console;version="[3.0.0,4.1)",
114                 *
115               </Import-Package>
116             </instructions>
117           </configuration>
118         </plugin>
119         <plugin>
120           <groupId>org.codehaus.mojo</groupId>
121           <artifactId>findbugs-maven-plugin</artifactId>
122           <configuration>
123             <failOnError>true</failOnError>
124           </configuration>
125         </plugin>
126       </plugins>
127     </build>
128
129     <!--
130         Maven Site Configuration
131
132         The following configuration is necessary for maven-site-plugin to
133         correctly identify the correct deployment path for OpenDaylight Maven
134         sites.
135     -->
136     <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
137
138     <distributionManagement>
139         <site>
140             <id>opendaylight-site</id>
141             <url>${nexus.site.url}/${project.artifactId}/</url>
142         </site>
143     </distributionManagement>
144 </project>