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