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