Remove jacoco overrides
[yangtools.git] / common / object-cache-api / 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
13     <parent>
14         <groupId>org.opendaylight.odlparent</groupId>
15         <artifactId>bundle-parent</artifactId>
16         <version>4.0.0</version>
17         <relativePath/>
18     </parent>
19     <packaging>bundle</packaging>
20     <modelVersion>4.0.0</modelVersion>
21     <groupId>org.opendaylight.yangtools</groupId>
22     <artifactId>object-cache-api</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>org.opendaylight.yangtools</groupId>
44             <artifactId>concepts</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                         <Import-Package>
61                             org.opendaylight.yangtools.objcache.impl;resolution:=optional,
62                             *
63                         </Import-Package>
64                     </instructions>
65                 </configuration>
66             </plugin>
67             <plugin>
68                 <groupId>org.apache.maven.plugins</groupId>
69                 <artifactId>maven-antrun-plugin</artifactId>
70                 <executions>
71                     <execution>
72                         <phase>process-classes</phase>
73                         <goals>
74                             <goal>run</goal>
75                         </goals>
76                         <configuration>
77                             <tasks>
78                                 <!-- This is necessary to remove the impl package and
79                                      make static binding work with the implementation -->
80                                 <delete dir="${project.build.outputDirectory}/org/opendaylight/yangtools/objcache/impl"/>
81                             </tasks>
82                         </configuration>
83                     </execution>
84                 </executions>
85             </plugin>
86             <plugin>
87                 <groupId>org.apache.maven.plugins</groupId>
88                 <artifactId>maven-checkstyle-plugin</artifactId>
89                 <configuration>
90                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
91                 </configuration>
92             </plugin>
93         </plugins>
94     </build>
95
96 </project>