Release Sodium
[netvirt.git] / statistics / impl / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright © 2017 HPE, Inc. and others. All rights reserved. This program
4 and the accompanying materials are made available under the terms of the
5 Eclipse Public License v1.0 which accompanies this distribution, and is available
6 at http://www.eclipse.org/legal/epl-v10.html
7  -->
8 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9          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.9.1</version>
15         <relativePath>../../commons/binding-parent</relativePath>
16     </parent>
17
18     <artifactId>statistics-impl</artifactId>
19     <packaging>bundle</packaging>
20     <name>ODL :: netvirt :: ${project.artifactId}</name>
21     <modelVersion>4.0.0</modelVersion>
22
23     <dependencies>
24         <dependency>
25             <groupId>javax.inject</groupId>
26             <artifactId>javax.inject</artifactId>
27             <optional>true</optional>
28         </dependency>
29         <dependency>
30             <groupId>org.opendaylight.genius</groupId>
31             <artifactId>idmanager-api</artifactId>
32             <version>${genius.version}</version>
33         </dependency>
34         <dependency>
35             <groupId>org.opendaylight.genius</groupId>
36             <artifactId>interfacemanager-api</artifactId>
37             <version>${genius.version}</version>
38         </dependency>
39         <dependency>
40             <groupId>org.opendaylight.genius</groupId>
41             <artifactId>mdsalutil-api</artifactId>
42             <version>${genius.version}</version>
43         </dependency>
44         <dependency>
45             <groupId>${project.groupId}</groupId>
46             <artifactId>statistics-api</artifactId>
47             <version>${project.version}</version>
48         </dependency>
49         <dependency>
50             <groupId>${project.groupId}</groupId>
51             <artifactId>vpnmanager-api</artifactId>
52             <version>${project.version}</version>
53         </dependency>
54     </dependencies>
55
56     <build>
57         <plugins>
58             <plugin>
59                 <groupId>org.apache.aries.blueprint</groupId>
60                 <artifactId>blueprint-maven-plugin</artifactId>
61             </plugin>
62             <plugin>
63                 <groupId>org.apache.felix</groupId>
64                 <artifactId>maven-bundle-plugin</artifactId>
65                 <extensions>true</extensions>
66                 <configuration>
67                     <instructions>
68                         <!-- We purposely don't export any packages to avoid any dependencies
69                              on this bundle and prevent @Singleton annotated classes from being
70                              accidently included in another bundle's blueprint XML  -->
71                         <Export-Package/>
72                     </instructions>
73                 </configuration>
74             </plugin>
75             <plugin>
76                 <groupId>org.codehaus.mojo</groupId>
77                 <artifactId>build-helper-maven-plugin</artifactId>
78                 <executions>
79                     <execution>
80                         <id>attach-artifacts</id>
81                         <goals>
82                             <goal>attach-artifact</goal>
83                         </goals>
84                         <phase>package</phase>
85                         <configuration>
86                             <artifacts>
87                                 <artifact>
88                                     <file>${project.build.directory}/classes/initial/netvirt-statistics-config.xml
89                                     </file>
90                                     <type>xml</type>
91                                     <classifier>config</classifier>
92                                 </artifact>
93                             </artifacts>
94                         </configuration>
95                     </execution>
96                 </executions>
97             </plugin>
98         </plugins>
99     </build>
100 </project>