Update MRI projects for Aluminium
[ovsdb.git] / library / impl / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4 Copyright © 2014, 2016 Cisco Systems, Inc. and others.  All rights reserved.
5
6 This program and the accompanying materials are made available under the
7 terms of the Eclipse Public License v1.0 which accompanies this distribution,
8 and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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.ovsdb</groupId>
14     <artifactId>ovsdb-binding-parent</artifactId>
15     <version>1.11.0-SNAPSHOT</version>
16     <relativePath>../../commons/binding-parent</relativePath>
17   </parent>
18
19   <modelVersion>4.0.0</modelVersion>
20   <groupId>org.opendaylight.ovsdb</groupId>
21   <artifactId>library</artifactId>
22   <version>1.11.0-SNAPSHOT</version>
23   <packaging>bundle</packaging>
24   <!-- <name> formatting is used by autorelease to parse and notify projects on
25        build failure. Please do not modify this unless you have a good reason. -->
26   <name>ODL :: ovsdb :: ${project.artifactId}</name>
27
28   <properties>
29     <!-- Fails build for copy/pasted code -->
30     <pmd.cpd.fail>true</pmd.cpd.fail>
31
32     <sonar.jacoco.itReportPath>../it/target/jacoco-it.exec</sonar.jacoco.itReportPath>
33   </properties>
34
35   <dependencies>
36     <dependency>
37       <groupId>org.apache.aries.blueprint</groupId>
38       <artifactId>blueprint-maven-plugin-annotation</artifactId>
39       <optional>true</optional>
40     </dependency>
41     <dependency>
42       <groupId>com.fasterxml.jackson.core</groupId>
43       <artifactId>jackson-annotations</artifactId>
44     </dependency>
45     <dependency>
46       <groupId>com.fasterxml.jackson.core</groupId>
47       <artifactId>jackson-core</artifactId>
48     </dependency>
49
50     <dependency>
51       <groupId>com.fasterxml.jackson.core</groupId>
52       <artifactId>jackson-databind</artifactId>
53     </dependency>
54     <dependency>
55       <groupId>org.osgi</groupId>
56       <artifactId>org.osgi.core</artifactId>
57     </dependency>
58     <dependency>
59       <groupId>com.google.guava</groupId>
60       <artifactId>guava</artifactId>
61     </dependency>
62     <dependency>
63       <groupId>io.netty</groupId>
64       <artifactId>netty-handler</artifactId>
65     </dependency>
66     <dependency>
67       <groupId>io.netty</groupId>
68       <artifactId>netty-transport</artifactId>
69     </dependency>
70     <dependency>
71       <groupId>io.netty</groupId>
72       <artifactId>netty-transport-native-epoll</artifactId>
73       <classifier>linux-x86_64</classifier>
74     </dependency>
75
76     <dependency>
77       <groupId>org.slf4j</groupId>
78       <artifactId>slf4j-api</artifactId>
79     </dependency>
80     <dependency>
81       <groupId>org.opendaylight.aaa</groupId>
82       <artifactId>aaa-cert</artifactId>
83     </dependency>
84     <dependency>
85       <groupId>javax.inject</groupId>
86       <artifactId>javax.inject</artifactId>
87       <scope>provided</scope>
88       <optional>true</optional>
89     </dependency>
90     <dependency>
91       <groupId>javax.annotation</groupId>
92       <artifactId>javax.annotation-api</artifactId>
93       <optional>true</optional>
94     </dependency>
95
96     <!-- Testing Dependencies -->
97     <dependency>
98       <groupId>org.slf4j</groupId>
99       <artifactId>slf4j-simple</artifactId>
100       <scope>test</scope>
101     </dependency>
102     <dependency>
103       <groupId>org.sonarsource.java</groupId>
104       <artifactId>sonar-jacoco-listeners</artifactId>
105       <version>${sonar-jacoco-listeners.version}</version>
106       <scope>test</scope>
107     </dependency>
108   </dependencies>
109
110   <build>
111     <testResources>
112       <testResource>
113         <filtering>true</filtering>
114         <directory>src/test/resources</directory>
115       </testResource>
116     </testResources>
117     <plugins>
118       <plugin>
119         <groupId>org.apache.aries.blueprint</groupId>
120         <artifactId>blueprint-maven-plugin</artifactId>
121         <configuration>
122           <scanPaths>org.opendaylight.ovsdb.lib</scanPaths>
123         </configuration>
124       </plugin>
125       <plugin>
126         <groupId>org.apache.felix</groupId>
127         <artifactId>maven-bundle-plugin</artifactId>
128         <extensions>true</extensions>
129         <configuration>
130           <instructions>
131             <Export-Package>
132               org.opendaylight.ovsdb.lib,
133               org.opendaylight.ovsdb.lib.*,
134               org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.library.impl.rev141210
135             </Export-Package>
136           </instructions>
137         </configuration>
138       </plugin>
139       <plugin>
140         <groupId>org.apache.maven.plugins</groupId>
141         <artifactId>maven-surefire-plugin</artifactId>
142         <configuration>
143           <properties>
144             <property>
145               <name>listener</name>
146               <value>org.sonar.java.jacoco.JUnitListener</value>
147             </property>
148           </properties>
149         </configuration>
150       </plugin>
151       <plugin>
152         <groupId>org.jacoco</groupId>
153         <artifactId>jacoco-maven-plugin</artifactId>
154       </plugin>
155       <plugin>
156         <groupId>org.codehaus.mojo</groupId>
157         <artifactId>build-helper-maven-plugin</artifactId>
158         <executions>
159           <execution>
160             <id>attach-artifacts</id>
161             <goals>
162               <goal>attach-artifact</goal>
163             </goals>
164             <phase>package</phase>
165             <configuration>
166               <artifacts>
167                 <artifact>
168                   <file>${project.build.directory}/classes/initial/library.cfg</file>
169                   <type>cfg</type>
170                   <classifier>config</classifier>
171                 </artifact>
172               </artifacts>
173             </configuration>
174           </execution>
175         </executions>
176       </plugin>
177     </plugins>
178   </build>
179
180   <!--
181       Maven Site Configuration
182
183       The following configuration is necessary for maven-site-plugin to
184       correctly identify the correct deployment path for OpenDaylight Maven
185       sites.
186   -->
187   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
188
189   <distributionManagement>
190     <site>
191       <id>opendaylight-site</id>
192       <url>${nexus.site.url}/${project.artifactId}/</url>
193     </site>
194   </distributionManagement>
195 </project>