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