<?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.jackrabbit</groupId> | |
<artifactId>oak-parent</artifactId> | |
<version>1.6.22</version> | |
<relativePath>../oak-parent/pom.xml</relativePath> | |
</parent> | |
<artifactId>oak-segment-tar</artifactId> | |
<packaging>bundle</packaging> | |
<name>Oak Segment Tar</name> | |
<properties> | |
<netty.version>4.0.41.Final</netty.version> | |
</properties> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.felix</groupId> | |
<artifactId>maven-bundle-plugin</artifactId> | |
<configuration> | |
<instructions> | |
<Export-Package /> | |
<Embed-Dependency> | |
netty-* | |
</Embed-Dependency> | |
<Import-Package> | |
com.google.protobuf.*;resolution:=optional, | |
com.jcraft.jzlib.*;resolution:=optional, | |
javassist.*;resolution:=optional, | |
org.apache.tomcat.*;resolution:=optional, | |
org.bouncycastle.*;resolution:=optional, | |
org.eclipse.jetty.alpn.*;resolution:=optional, | |
org.eclipse.jetty.npn.*;resolution:=optional, | |
org.jboss.marshalling.*;resolution:=optional, | |
sun.misc.*;resolution:=optional, | |
sun.nio.ch.*;resolution:=optional, | |
sun.security.util.*;resolution:=optional, | |
sun.security.x509.*;resolution:=optional, | |
org.apache.logging.log4j.*;resolution:=optional, | |
org.apache.log4j.*;resolution:=optional, | |
* | |
</Import-Package> | |
</instructions> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.felix</groupId> | |
<artifactId>maven-scr-plugin</artifactId> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<configuration> | |
<redirectTestOutputToFile>true</redirectTestOutputToFile> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-failsafe-plugin</artifactId> | |
<configuration> | |
<redirectTestOutputToFile>true</redirectTestOutputToFile> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
<dependencies> | |
<!-- Dependencies on Oak modules --> | |
<dependency> | |
<groupId>org.apache.jackrabbit</groupId> | |
<artifactId>oak-commons</artifactId> | |
<version>${project.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.jackrabbit</groupId> | |
<artifactId>oak-blob</artifactId> | |
<version>${project.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.jackrabbit</groupId> | |
<artifactId>oak-blob-cloud</artifactId> | |
<version>${project.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.jackrabbit</groupId> | |
<artifactId>oak-core</artifactId> | |
<version>${project.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<!-- Dependencies on Jackrabbit modules --> | |
<dependency> | |
<groupId>javax.jcr</groupId> | |
<artifactId>jcr</artifactId> | |
<version>2.0</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.jackrabbit</groupId> | |
<artifactId>jackrabbit-jcr-commons</artifactId> | |
<version>${jackrabbit.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.jackrabbit</groupId> | |
<artifactId>jackrabbit-api</artifactId> | |
<version>${jackrabbit.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.jackrabbit</groupId> | |
<artifactId>jackrabbit-data</artifactId> | |
<version>${jackrabbit.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<!-- Other dependencies --> | |
<dependency> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-api</artifactId> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>commons-io</groupId> | |
<artifactId>commons-io</artifactId> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>com.google.guava</groupId> | |
<artifactId>guava</artifactId> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>com.google.code.findbugs</groupId> | |
<artifactId>jsr305</artifactId> | |
<scope>provided</scope> | |
</dependency> | |
<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>biz.aQute.bnd</groupId> | |
<artifactId>bndlib</artifactId> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.felix</groupId> | |
<artifactId>org.apache.felix.scr.annotations</artifactId> | |
<scope>provided</scope> | |
</dependency> | |
<!-- Netty --> | |
<dependency> | |
<groupId>io.netty</groupId> | |
<artifactId>netty-common</artifactId> | |
<version>${netty.version}</version> | |
<scope>compile</scope> <!-- it is embedded in the bundle --> | |
</dependency> | |
<dependency> | |
<groupId>io.netty</groupId> | |
<artifactId>netty-buffer</artifactId> | |
<version>${netty.version}</version> | |
<scope>compile</scope> <!-- it is embedded in the bundle --> | |
</dependency> | |
<dependency> | |
<groupId>io.netty</groupId> | |
<artifactId>netty-transport</artifactId> | |
<version>${netty.version}</version> | |
<scope>compile</scope> <!-- it is embedded in the bundle --> | |
</dependency> | |
<dependency> | |
<groupId>io.netty</groupId> | |
<artifactId>netty-codec</artifactId> | |
<version>${netty.version}</version> | |
<scope>compile</scope> <!-- it is embedded in the bundle --> | |
</dependency> | |
<dependency> | |
<groupId>io.netty</groupId> | |
<artifactId>netty-handler</artifactId> | |
<version>${netty.version}</version> | |
<scope>compile</scope> <!-- it is embedded in the bundle --> | |
</dependency> | |
<!-- Dependencies on Oak testing modules --> | |
<dependency> | |
<groupId>org.apache.jackrabbit</groupId> | |
<artifactId>oak-core</artifactId> | |
<version>${project.version}</version> | |
<type>test-jar</type> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.jackrabbit</groupId> | |
<artifactId>oak-commons</artifactId> | |
<version>${project.version}</version> | |
<type>test-jar</type> | |
<scope>test</scope> | |
</dependency> | |
<!-- Testing dependencies --> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.sling</groupId> | |
<artifactId>org.apache.sling.testing.osgi-mock</artifactId> | |
<version>1.9.2</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>commons-lang</groupId> | |
<artifactId>commons-lang</artifactId> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.easymock</groupId> | |
<artifactId>easymock</artifactId> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.slf4j</groupId> | |
<artifactId>jul-to-slf4j</artifactId> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>ch.qos.logback</groupId> | |
<artifactId>logback-classic</artifactId> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.mockito</groupId> | |
<artifactId>mockito-core</artifactId> | |
<version>1.10.19</version> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> | |
</project> |