blob: 737075a0a5d1dbfd5d93f7b76c288b17f19dc515 [file] [log] [blame]
<?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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.sling</groupId>
<artifactId>sling</artifactId>
<version>24</version>
<relativePath />
</parent>
<artifactId>org.apache.sling.jcr.jackrabbit.server</artifactId>
<packaging>bundle</packaging>
<version>2.3.0</version>
<name>Apache Sling Jackrabbit Embedded Repository</name>
<description>
Bundle providing support to embed Jackrabbit Repository
instances and publish via RMI and/or JNDI
</description>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.jcr.jackrabbit.server-2.3.0</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.jcr.jackrabbit.server-2.3.0</developerConnection>
<url>http://svn.apache.org/viewvc/sling/tags/org.apache.sling.jcr.jackrabbit.server-2.3.0</url>
</scm>
<properties>
<org.apache.jackrabbit.version>2.10.1</org.apache.jackrabbit.version>
<org.apache.lucene.version>3.6.2</org.apache.lucene.version>
</properties>
<build>
<plugins>
<!-- generate the SCR descriptors -->
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-scr-plugin</artifactId>
</plugin>
<!--
copy the SCR descriptors into the correct location
because the maven-scr-plugin cannot be configured
to write the descriptors elsewhere
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-resources</id>
<phase>process-classes</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>
${project.build.outputDirectory}
</outputDirectory>
<encoding>UTF-8</encoding>
<resources>
<resource>
<directory>target/scr-plugin-generated</directory>
<filtering>false</filtering>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<skip>true</skip>
<instructions>
<Bundle-Category>
sling,jcr,jackrabbit
</Bundle-Category>
<Bundle-Activator>
org.apache.sling.jcr.jackrabbit.server.impl.Activator
</Bundle-Activator>
<Export-Package>
org.apache.sling.jcr.jackrabbit.server;version=${project.version},
org.apache.sling.jcr.jackrabbit.server.security;version=2.0.6,
org.apache.sling.jcr.jackrabbit.server.security.accessmanager;version=2.0.6,
org.apache.jackrabbit.core.*;version=${org.apache.jackrabbit.version},
org.apache.lucene.*;version=${org.apache.lucene.version}
</Export-Package>
<Private-Package>
org.apache.sling.jcr.jackrabbit.server.impl.*
</Private-Package>
<Import-Package>
<!-- Exclude package, see JCR-2412 -->
!org.apache.jackrabbit.test,
<!-- optional JDBC driver import -->
com.microsoft.sqlserver.jdbc;
oracle.jdbc;
org.apache.derby.jdbc;
org.gjt.mm.mysql;
org.h2;
org.postgresql;
resolution:=optional
</Import-Package>
<DynamicImport-Package>*</DynamicImport-Package>
<Embed-Dependency>
*;scope=compile;inline=true,
org.apache.sling.commons.osgi;inline=org/apache/sling/commons/osgi/PropertiesUtil*
</Embed-Dependency>
<_removeheaders>
Embed-Dependency,
Private-Package,
Include-Resource
</_removeheaders>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<excludePackageNames>
org.apache.sling.jcr.jackrabbit
</excludePackageNames>
</configuration>
</plugin>
</plugins>
</reporting>
<dependencies>
<dependency>
<groupId>javax.jcr</groupId>
<artifactId>jcr</artifactId>
<version>2.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.jcr.api</artifactId>
<version>2.3.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.jcr.base</artifactId>
<version>2.3.0</version>
<scope>provided</scope>
</dependency>
<!-- The core repository implementation -->
<dependency>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>jackrabbit-api</artifactId>
<version>${org.apache.jackrabbit.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>jackrabbit-core</artifactId>
<version>${org.apache.jackrabbit.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>jackrabbit-data</artifactId>
<version>${org.apache.jackrabbit.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-core</artifactId>
<version>${org.apache.lucene.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
<version>1.4</version>
<scope>compile</scope>
</dependency>
<!-- for SCR plugin supporting descriptor inheritance -->
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.serviceusermapper</artifactId>
<version>1.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.commons.osgi</artifactId>
<version>2.1.0</version>
<scope>provided</scope>
</dependency>
<!-- OSGi Libraries -->
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.compendium</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.scr.annotations</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
</project>