0fc11fc5580e0eed09f806c3f841969fed8bb373
[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.yangtools</groupId>
15         <artifactId>yangtools-parent</artifactId>
16         <version>0.8.0-SNAPSHOT</version>
17         <relativePath>/../../common/parent/pom.xml</relativePath>
18     </parent>
19     <packaging>bundle</packaging>
20     <modelVersion>4.0.0</modelVersion>
21     <artifactId>object-cache-api</artifactId>
22
23     <dependencies>
24         <dependency>
25             <groupId>org.opendaylight.yangtools</groupId>
26             <artifactId>concepts</artifactId>
27         </dependency>
28         <dependency>
29             <groupId>org.slf4j</groupId>
30             <artifactId>slf4j-api</artifactId>
31         </dependency>
32         <dependency>
33             <groupId>com.google.guava</groupId>
34             <artifactId>guava</artifactId>
35         </dependency>
36         <dependency>
37             <groupId>com.google.code.findbugs</groupId>
38             <artifactId>jsr305</artifactId>
39             <scope>provided</scope>
40         </dependency>
41
42         <dependency>
43             <groupId>junit</groupId>
44             <artifactId>junit</artifactId>
45             <scope>test</scope>
46         </dependency>
47     </dependencies>
48
49     <build>
50         <plugins>
51             <plugin>
52                 <groupId>org.apache.felix</groupId>
53                 <artifactId>maven-bundle-plugin</artifactId>
54                 <extensions>true</extensions>
55                 <configuration>
56                     <instructions>
57                         <Import-Package>
58                             org.opendaylight.yangtools.objcache.impl;resolution:=optional,
59                             *
60                         </Import-Package>
61                     </instructions>
62                 </configuration>
63             </plugin>
64             <plugin>
65                 <groupId>org.apache.maven.plugins</groupId>
66                 <artifactId>maven-antrun-plugin</artifactId>
67                 <executions>
68                     <execution>
69                         <phase>process-classes</phase>
70                         <goals>
71                             <goal>run</goal>
72                         </goals>
73                         <configuration>
74                             <tasks>
75                                 <!-- This is necessary to remove the impl package and
76                                      make static binding work with the implementation -->
77                                 <delete dir="${project.build.outputDirectory}/org/opendaylight/yangtools/objcache/impl"/>
78                             </tasks>
79                         </configuration>
80                     </execution>
81                 </executions>
82             </plugin>
83         </plugins>
84     </build>
85 </project>