d33a30de69cba5aed19d089b278bd10212faf55c
[netvirt.git] / 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"
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>managed-tx-parent</artifactId>
15         <version>0.7.0-SNAPSHOT</version>
16         <relativePath>../../commons/managed-tx-parent</relativePath>
17     </parent>
18
19     <artifactId>qosservice-impl</artifactId>
20     <name>ODL :: netvirt :: ${project.artifactId}</name>
21     <packaging>bundle</packaging>
22     <modelVersion>4.0.0</modelVersion>
23
24     <dependencies>
25         <dependency>
26             <groupId>org.apache.karaf.shell</groupId>
27             <artifactId>org.apache.karaf.shell.console</artifactId>
28             <scope>provided</scope>
29         </dependency>
30         <dependency>
31             <groupId>org.apache.felix</groupId>
32             <artifactId>org.apache.felix.configadmin</artifactId>
33             <version>1.8.14</version>
34         </dependency>
35         <dependency>
36             <groupId>org.opendaylight.genius</groupId>
37             <artifactId>interfacemanager-api</artifactId>
38             <version>${genius.version}</version>
39         </dependency>
40         <dependency>
41             <groupId>org.opendaylight.genius</groupId>
42             <artifactId>mdsalutil-api</artifactId>
43             <version>${genius.version}</version>
44         </dependency>
45         <dependency>
46             <groupId>org.opendaylight.genius</groupId>
47             <artifactId>srm-api</artifactId>
48             <version>${genius.version}</version>
49         </dependency>
50         <dependency>
51             <groupId>org.opendaylight.infrautils</groupId>
52             <artifactId>inject</artifactId>
53             <version>${infrautils.version}</version>
54         </dependency>
55         <dependency>
56             <groupId>${project.groupId}</groupId>
57             <artifactId>neutronvpn-api</artifactId>
58             <version>${project.version}</version>
59         </dependency>
60         <dependency>
61             <groupId>${project.groupId}</groupId>
62             <artifactId>qosservice-api</artifactId>
63             <version>${project.version}</version>
64         </dependency>
65         <dependency>
66             <groupId>org.opendaylight.ovsdb</groupId>
67             <artifactId>utils.southbound-utils</artifactId>
68             <version>${ovsdb.version}</version>
69         </dependency>
70         <dependency>
71             <groupId>com.google.truth</groupId>
72             <artifactId>truth</artifactId>
73             <scope>test</scope>
74         </dependency>
75     </dependencies>
76
77     <build>
78         <plugins>
79             <plugin>
80                 <groupId>org.apache.aries.blueprint</groupId>
81                 <artifactId>blueprint-maven-plugin</artifactId>
82             </plugin>
83             <plugin>
84                 <groupId>org.apache.felix</groupId>
85                 <artifactId>maven-bundle-plugin</artifactId>
86                 <extensions>true</extensions>
87                 <configuration>
88                     <instructions>
89                         <!-- We purposely don't export any packages to avoid any dependencies
90                            on this bundle and prevent @Singleton annotated classes from being
91                            accidently included in another bundle's blueprint XML  -->
92                         <Export-Package/>
93                     </instructions>
94                 </configuration>
95             </plugin>
96             <plugin>
97                 <groupId>org.codehaus.mojo</groupId>
98                 <artifactId>build-helper-maven-plugin</artifactId>
99                 <executions>
100                     <execution>
101                         <id>attach-artifacts</id>
102                         <goals>
103                             <goal>attach-artifact</goal>
104                         </goals>
105                         <phase>package</phase>
106                         <configuration>
107                             <artifacts>
108                                 <artifact>
109                                     <file>${project.build.directory}/classes/initial/netvirt-qosservice-config.xml
110                                     </file>
111                                     <type>xml</type>
112                                     <classifier>config</classifier>
113                                 </artifact>
114                                 <artifact>
115                                     <file>${project.build.directory}/classes/initial/qosservice.cfg</file>
116                                     <type>cfg</type>
117                                     <classifier>config</classifier>
118                                 </artifact>
119                             </artifacts>
120                         </configuration>
121                     </execution>
122                 </executions>
123             </plugin>
124         </plugins>
125     </build>
126 </project>