Release Aluminium
[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.11.3</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             <scope>provided</scope>
28             <optional>true</optional>
29         </dependency>
30         <dependency>
31             <groupId>org.opendaylight.genius</groupId>
32             <artifactId>idmanager-api</artifactId>
33             <version>${genius.version}</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>${project.groupId}</groupId>
47             <artifactId>statistics-api</artifactId>
48             <version>${project.version}</version>
49         </dependency>
50         <dependency>
51             <groupId>${project.groupId}</groupId>
52             <artifactId>vpnmanager-api</artifactId>
53             <version>${project.version}</version>
54         </dependency>
55     </dependencies>
56
57     <build>
58         <plugins>
59             <plugin>
60                 <groupId>org.apache.aries.blueprint</groupId>
61                 <artifactId>blueprint-maven-plugin</artifactId>
62             </plugin>
63             <plugin>
64                 <groupId>org.apache.felix</groupId>
65                 <artifactId>maven-bundle-plugin</artifactId>
66                 <extensions>true</extensions>
67                 <configuration>
68                     <instructions>
69                         <!-- We purposely don't export any packages to avoid any dependencies
70                              on this bundle and prevent @Singleton annotated classes from being
71                              accidently included in another bundle's blueprint XML  -->
72                         <Export-Package/>
73                     </instructions>
74                 </configuration>
75             </plugin>
76             <plugin>
77                 <groupId>org.codehaus.mojo</groupId>
78                 <artifactId>build-helper-maven-plugin</artifactId>
79                 <executions>
80                     <execution>
81                         <id>attach-artifacts</id>
82                         <goals>
83                             <goal>attach-artifact</goal>
84                         </goals>
85                         <phase>package</phase>
86                         <configuration>
87                             <artifacts>
88                                 <artifact>
89                                     <file>${project.build.directory}/classes/initial/netvirt-statistics-config.xml
90                                     </file>
91                                     <type>xml</type>
92                                     <classifier>config</classifier>
93                                 </artifact>
94                             </artifacts>
95                         </configuration>
96                     </execution>
97                 </executions>
98             </plugin>
99         </plugins>
100     </build>
101 </project>