<?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> | |
<parent> | |
<groupId>org.apache.jackrabbit</groupId> | |
<artifactId>oak-parent</artifactId> | |
<version>1.6.22</version> | |
<relativePath>../oak-parent/pom.xml</relativePath> | |
</parent> | |
<artifactId>oak-tarmk-standby</artifactId> | |
<name>Oak TarMK Standby</name> | |
<packaging>bundle</packaging> | |
<description>Oak TarMK standby module</description> | |
<properties> | |
<netty-version>4.0.23.Final</netty-version> | |
</properties> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.felix</groupId> | |
<artifactId>maven-bundle-plugin</artifactId> | |
<configuration> | |
<instructions> | |
<Import-Package> | |
com.google.protobuf.*;resolution:=optional, | |
com.jcraft.jzlib.*;resolution:=optional, | |
javassist.*;resolution:=optional, | |
org.apache.tomcat.jni.*;resolution:=optional, | |
org.bouncycastle.*;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, | |
* | |
</Import-Package> | |
<Embed-Dependency>netty-*;inline=true</Embed-Dependency> | |
<Export-Package>!org.apache.jackrabbit.oak.plugins.segment.standby.*</Export-Package> | |
</instructions> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.felix</groupId> | |
<artifactId>maven-scr-plugin</artifactId> | |
</plugin> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>build-helper-maven-plugin</artifactId> | |
<version>1.9</version> | |
<executions> | |
<execution> | |
<id>reserve-network-port</id> | |
<goals> | |
<goal>reserve-network-port</goal> | |
</goals> | |
<phase>process-test-resources</phase> | |
<configuration> | |
<portNames> | |
<portName>standby.server.port</portName> | |
<portName>standby.proxy.port</portName> | |
</portNames> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<configuration> | |
<systemPropertyVariables> | |
<standby.server.port>${standby.server.port}</standby.server.port> | |
<standby.proxy.port>${standby.proxy.port}</standby.proxy.port> | |
</systemPropertyVariables> | |
<excludes> | |
<!-- excluding long running tests --> | |
<exclude>**/BulkTest.java</exclude> | |
<exclude>**/MBeanTest.java</exclude> | |
<exclude>**/FailoverIPRangeTest.java</exclude> <!-- OAK-3967 --> | |
</excludes> | |
</configuration> | |
</plugin> | |
<plugin> | |
<artifactId>maven-failsafe-plugin</artifactId> | |
<configuration> | |
<systemPropertyVariables> | |
<standby.server.port>${standby.server.port}</standby.server.port> | |
<standby.proxy.port>${standby.proxy.port}</standby.proxy.port> | |
</systemPropertyVariables> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.rat</groupId> | |
<artifactId>apache-rat-plugin</artifactId> | |
<configuration> | |
<excludes> | |
<exclude>**/org.apache.jackrabbit.oak.plugins.segment.standby.store.StandbyStoreService.config</exclude> | |
<exclude>**/org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStoreService.config</exclude> | |
<exclude>**/org.apache.jackrabbit.oak.plugins.segment.standby.store.StandbyStoreService.config</exclude> | |
</excludes> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
<dependencies> | |
<!-- Optional OSGi dependencies, used only when running within OSGi --> | |
<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> | |
<dependency> | |
<groupId>org.apache.jackrabbit</groupId> | |
<artifactId>oak-core</artifactId> | |
<version>${project.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.jackrabbit</groupId> | |
<artifactId>oak-segment</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>io.netty</groupId> | |
<artifactId>netty-common</artifactId> | |
<version>${netty-version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>io.netty</groupId> | |
<artifactId>netty-buffer</artifactId> | |
<version>${netty-version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>io.netty</groupId> | |
<artifactId>netty-transport</artifactId> | |
<version>${netty-version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>io.netty</groupId> | |
<artifactId>netty-codec</artifactId> | |
<version>${netty-version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>io.netty</groupId> | |
<artifactId>netty-handler</artifactId> | |
<version>${netty-version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<!-- Logging --> | |
<dependency> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-api</artifactId> | |
</dependency> | |
<!-- Findbugs annotations --> | |
<dependency> | |
<groupId>com.google.code.findbugs</groupId> | |
<artifactId>jsr305</artifactId> | |
</dependency> | |
<!-- Test Dependencies --> | |
<dependency> | |
<groupId>org.apache.jackrabbit</groupId> | |
<artifactId>oak-commons</artifactId> | |
<classifier>tests</classifier> | |
<version>${project.version}</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.commons</groupId> | |
<artifactId>commons-lang3</artifactId> | |
<version>3.3.2</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>ch.qos.logback</groupId> | |
<artifactId>logback-classic</artifactId> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.jackrabbit</groupId> | |
<artifactId>jackrabbit-data</artifactId> | |
<version>${jackrabbit.version}</version> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> | |
</project> |