BUG-5222: use odlparent features as a dependency
[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>1.8.0-SNAPSHOT</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>1.1.0-SNAPSHOT</version>
24
25     <dependencyManagement>
26         <dependencies>
27             <dependency>
28                 <groupId>org.opendaylight.yangtools</groupId>
29                 <artifactId>yangtools-artifacts</artifactId>
30                 <version>1.1.0-SNAPSHOT</version>
31                 <scope>import</scope>
32                 <type>pom</type>
33             </dependency>
34         </dependencies>
35     </dependencyManagement>
36
37     <dependencies>
38         <dependency>
39             <groupId>org.opendaylight.yangtools</groupId>
40             <artifactId>concepts</artifactId>
41         </dependency>
42         <dependency>
43             <groupId>org.slf4j</groupId>
44             <artifactId>slf4j-api</artifactId>
45         </dependency>
46         <dependency>
47             <groupId>com.google.guava</groupId>
48             <artifactId>guava</artifactId>
49         </dependency>
50         <dependency>
51             <groupId>com.google.code.findbugs</groupId>
52             <artifactId>jsr305</artifactId>
53             <scope>provided</scope>
54         </dependency>
55
56         <dependency>
57             <groupId>junit</groupId>
58             <artifactId>junit</artifactId>
59             <scope>test</scope>
60         </dependency>
61     </dependencies>
62
63     <build>
64         <plugins>
65             <plugin>
66                 <groupId>org.apache.felix</groupId>
67                 <artifactId>maven-bundle-plugin</artifactId>
68                 <extensions>true</extensions>
69                 <configuration>
70                     <instructions>
71                         <Import-Package>
72                             org.opendaylight.yangtools.objcache.impl;resolution:=optional,
73                             *
74                         </Import-Package>
75                     </instructions>
76                 </configuration>
77             </plugin>
78             <plugin>
79                 <groupId>org.apache.maven.plugins</groupId>
80                 <artifactId>maven-antrun-plugin</artifactId>
81                 <executions>
82                     <execution>
83                         <phase>process-classes</phase>
84                         <goals>
85                             <goal>run</goal>
86                         </goals>
87                         <configuration>
88                             <tasks>
89                                 <!-- This is necessary to remove the impl package and
90                                      make static binding work with the implementation -->
91                                 <delete dir="${project.build.outputDirectory}/org/opendaylight/yangtools/objcache/impl"/>
92                             </tasks>
93                         </configuration>
94                     </execution>
95                 </executions>
96             </plugin>
97         </plugins>
98     </build>
99
100   <!--
101       Maven Site Configuration
102
103       The following configuration is necessary for maven-site-plugin to
104       correctly identify the correct deployment path for OpenDaylight Maven
105       sites.
106   -->
107   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
108
109   <distributionManagement>
110     <site>
111       <id>opendaylight-site</id>
112       <url>${nexus.site.url}/${project.artifactId}/</url>
113     </site>
114   </distributionManagement>
115 </project>