blob: beeac8681d09262e01e8a466f21319ef1df148ed [file] [log] [blame]
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
<version>10</version>
<relativePath>../../../parent/pom.xml</relativePath>
</parent>
<artifactId>org.apache.sling.commons.log</artifactId>
<version>2.1.0</version>
<packaging>bundle</packaging>
<name>Apache Sling OSGi LogService Implementation</name>
<description>
Implementation of the OSGi Compendium Log Service using SLF4J
on top of a private implementation. In addition to providing the
implemented SLF4J API, the Log4J and Jakarta Commons Logging APIs
are provided with implementations on top of the SLF4J API.
</description>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.commons.log-2.1.0</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.commons.log-2.1.0</developerConnection>
<url>http://svn.apache.org/viewvc/sling/tags/org.apache.sling.commons.log-2.1.0</url>
</scm>
<properties>
<slf4j.version>1.5.11</slf4j.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-Activator>
org.apache.sling.commons.log.internal.Activator
</Bundle-Activator>
<Bundle-DocURL>
http://sling.apache.org/site/logging.html
</Bundle-DocURL>
<Export-Package>
org.apache.commons.logging;version=1.1.1,
org.apache.log4j;version=1.2.15,
org.slf4j;version=${slf4j.version},
org.osgi.service.log
</Export-Package>
<Private-Package>
org.apache.commons.logging.impl,
org.apache.sling.commons.log.*,
org.slf4j.impl,
org.slf4j.helpers,org.slf4j.spi
</Private-Package>
<Import-Package>
javax.servlet.*;resolution:=optional,
org.osgi.framework;version=1.3
</Import-Package>
<DynamicImport-Package>
org.osgi.service.cm
</DynamicImport-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<!-- No javadocs at all -->
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</reporting>
<dependencies>
<!-- Redirection of commons logging and log4j to SLF4J -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>${slf4j.version}</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>log4j-over-slf4j</artifactId>
<version>${slf4j.version}</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
<!-- OSGi Libraries not included here -->
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.compendium</artifactId>
<scope>compile</scope>
<optional>true</optional>
</dependency>
<!-- servlet API for the web console plugin -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
</dependency>
<!-- testing -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</dependency>
</dependencies>
</project>