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