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