Bump to odlparent 4.0.0
[yangtools.git] / common / object-cache-guava / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2014 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.odlparent</groupId>
14         <artifactId>bundle-parent</artifactId>
15         <version>4.0.0</version>
16         <relativePath/>
17     </parent>
18
19     <packaging>bundle</packaging>
20     <modelVersion>4.0.0</modelVersion>
21     <groupId>org.opendaylight.yangtools</groupId>
22     <artifactId>object-cache-guava</artifactId>
23     <version>2.1.0-SNAPSHOT</version>
24
25     <properties>
26         <sonar.jacoco.reportPath>${project.basedir}/../../target/jacoco.exec</sonar.jacoco.reportPath>
27     </properties>
28
29     <dependencyManagement>
30         <dependencies>
31             <dependency>
32                 <groupId>org.opendaylight.yangtools</groupId>
33                 <artifactId>yangtools-artifacts</artifactId>
34                 <version>2.1.0-SNAPSHOT</version>
35                 <scope>import</scope>
36                 <type>pom</type>
37             </dependency>
38         </dependencies>
39     </dependencyManagement>
40
41     <dependencies>
42         <dependency>
43             <groupId>${project.groupId}</groupId>
44             <artifactId>object-cache-api</artifactId>
45         </dependency>
46         <dependency>
47             <groupId>com.google.guava</groupId>
48             <artifactId>guava</artifactId>
49         </dependency>
50     </dependencies>
51
52     <build>
53         <plugins>
54             <plugin>
55                 <groupId>org.apache.felix</groupId>
56                 <artifactId>maven-bundle-plugin</artifactId>
57                 <extensions>true</extensions>
58                 <configuration>
59                     <instructions>
60                         <Export-Package>
61                             org.opendaylight.yangtools.objcache.impl
62                         </Export-Package>
63                         <Private-Package>
64                             org.opendaylight.yangtools.objcache.guava
65                         </Private-Package>
66                     </instructions>
67                 </configuration>
68             </plugin>
69             <plugin>
70                 <groupId>org.apache.maven.plugins</groupId>
71                 <artifactId>maven-checkstyle-plugin</artifactId>
72                 <configuration>
73                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
74                 </configuration>
75             </plugin>
76             <plugin>
77                 <groupId>org.jacoco</groupId>
78                 <artifactId>jacoco-maven-plugin</artifactId>
79                 <executions>
80                     <execution>
81                         <id>pre-unit-test</id>
82                         <goals>
83                             <goal>prepare-agent</goal>
84                         </goals>
85                         <configuration>
86                             <destFile>${project.build.directory}/code-coverage/jacoco.exec</destFile>
87                         </configuration>
88                     </execution>
89                 </executions>
90             </plugin>
91         </plugins>
92     </build>
93
94 </project>