Rework TypedRowInvocationHandler invocation path
[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.10.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.10.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>org.slf4j</groupId>
72       <artifactId>slf4j-api</artifactId>
73     </dependency>
74     <dependency>
75       <groupId>org.opendaylight.aaa</groupId>
76       <artifactId>aaa-cert</artifactId>
77       <version>0.11.0-SNAPSHOT</version>
78     </dependency>
79     <dependency>
80       <groupId>javax.inject</groupId>
81       <artifactId>javax.inject</artifactId>
82     </dependency>
83
84     <!-- Testing Dependencies -->
85     <dependency>
86       <groupId>org.slf4j</groupId>
87       <artifactId>slf4j-simple</artifactId>
88       <scope>test</scope>
89     </dependency>
90     <dependency>
91       <groupId>org.sonarsource.java</groupId>
92       <artifactId>sonar-jacoco-listeners</artifactId>
93       <version>${sonar-jacoco-listeners.version}</version>
94       <scope>test</scope>
95     </dependency>
96   </dependencies>
97
98   <build>
99     <testResources>
100       <testResource>
101         <filtering>true</filtering>
102         <directory>src/test/resources</directory>
103       </testResource>
104     </testResources>
105     <plugins>
106       <plugin>
107         <groupId>org.apache.aries.blueprint</groupId>
108         <artifactId>blueprint-maven-plugin</artifactId>
109         <configuration>
110           <scanPaths>org.opendaylight.ovsdb.lib</scanPaths>
111         </configuration>
112       </plugin>
113       <plugin>
114         <groupId>org.apache.felix</groupId>
115         <artifactId>maven-bundle-plugin</artifactId>
116         <extensions>true</extensions>
117         <configuration>
118           <instructions>
119             <Export-Package>
120               org.opendaylight.ovsdb.lib,
121               org.opendaylight.ovsdb.lib.*,
122               org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.library.impl.rev141210
123             </Export-Package>
124           </instructions>
125         </configuration>
126       </plugin>
127       <plugin>
128         <groupId>org.apache.maven.plugins</groupId>
129         <artifactId>maven-surefire-plugin</artifactId>
130         <configuration>
131           <properties>
132             <property>
133               <name>listener</name>
134               <value>org.sonar.java.jacoco.JUnitListener</value>
135             </property>
136           </properties>
137         </configuration>
138       </plugin>
139       <plugin>
140         <groupId>org.jacoco</groupId>
141         <artifactId>jacoco-maven-plugin</artifactId>
142       </plugin>
143       <plugin>
144         <groupId>org.codehaus.mojo</groupId>
145         <artifactId>build-helper-maven-plugin</artifactId>
146         <executions>
147           <execution>
148             <id>attach-artifacts</id>
149             <goals>
150               <goal>attach-artifact</goal>
151             </goals>
152             <phase>package</phase>
153             <configuration>
154               <artifacts>
155                 <artifact>
156                   <file>${project.build.directory}/classes/initial/library.cfg</file>
157                   <type>cfg</type>
158                   <classifier>config</classifier>
159                 </artifact>
160               </artifacts>
161             </configuration>
162           </execution>
163         </executions>
164       </plugin>
165     </plugins>
166   </build>
167
168   <!--
169       Maven Site Configuration
170
171       The following configuration is necessary for maven-site-plugin to
172       correctly identify the correct deployment path for OpenDaylight Maven
173       sites.
174   -->
175   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
176
177   <distributionManagement>
178     <site>
179       <id>opendaylight-site</id>
180       <url>${nexus.site.url}/${project.artifactId}/</url>
181     </site>
182   </distributionManagement>
183 </project>