| <?xml version="1.0" encoding="UTF-8"?> |
| |
| <!-- |
| 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> |
| |
| <!-- ====================================================================== --> |
| <!-- P R O J E C T D E S C R I P T I O N --> |
| <!-- ====================================================================== --> |
| <parent> |
| <groupId>org.apache.jackrabbit</groupId> |
| <artifactId>jackrabbit-parent</artifactId> |
| <version>2.13.0-SNAPSHOT</version> |
| <relativePath>../jackrabbit-parent/pom.xml</relativePath> |
| </parent> |
| <artifactId>jackrabbit-bundle</artifactId> |
| <packaging>bundle</packaging> |
| <name>Jackrabbit OSGi bundle</name> |
| <description>OSGi bundle of Apache Jackrabbit</description> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <extensions>true</extensions> |
| <configuration> |
| <instructions> |
| <Embed-Dependency>*;groupId=!org.osgi|javax.jcr</Embed-Dependency> |
| <Embed-Transitive>true</Embed-Transitive> |
| <Export-Package> |
| org.apache.jackrabbit.api.*;version=${project.version} |
| </Export-Package> |
| <Import-Package> |
| <!-- Optional dependencies from jackrabbit-core --> |
| org.apache.jackrabbit.test;resolution:=optional, |
| <!-- Optional dependencies from jackrabbit-webdav --> |
| javax.servlet;resolution:=optional, |
| javax.servlet.http;resolution:=optional, |
| <!-- Optional dependencies from derby --> |
| org.apache.xpath;resolution:=optional, |
| org.apache.xpath.objects;resolution:=optional, |
| org.apache.xml.utils;resolution:=optional, |
| org.apache.xalan.serialize;resolution:=optional, |
| org.apache.xalan.templates;resolution:=optional, |
| org.apache.derby.impl.drda;resolution:=optional, |
| * |
| </Import-Package> |
| <Bundle-Activator> |
| org.apache.jackrabbit.bundle.Activator |
| </Bundle-Activator> |
| </instructions> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.core</artifactId> |
| <version>4.0.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.compendium</artifactId> |
| <version>4.0.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>javax.jcr</groupId> |
| <artifactId>jcr</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.jackrabbit</groupId> |
| <artifactId>jackrabbit-core</artifactId> |
| <version>${project.version}</version> |
| <scope>provided</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>javax.jcr</groupId> |
| <artifactId>jcr</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jcl-over-slf4j</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.jackrabbit</groupId> |
| <artifactId>jackrabbit-jcr2dav</artifactId> |
| <version>${project.version}</version> |
| <scope>provided</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>javax.jcr</groupId> |
| <artifactId>jcr</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jcl-over-slf4j</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| </dependencies> |
| |
| </project> |