| <?xml version="1.0"?><!-- |
| 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 A R E N T P R O J E C T D E S C R I P T I O N --> |
| <!-- ====================================================================== --> |
| <parent> |
| <groupId>org.apache.jackrabbit.vault</groupId> |
| <artifactId>parent</artifactId> |
| <relativePath>../parent/pom.xml</relativePath> |
| <version>3.4.7-SNAPSHOT</version> |
| </parent> |
| |
| <!-- ====================================================================== --> |
| <!-- P R O J E C T D E S C R I P T I O N --> |
| <!-- ====================================================================== --> |
| <artifactId>org.apache.jackrabbit.vault</artifactId> |
| <version>3.4.7-SNAPSHOT</version> |
| |
| <name>Apache Jackrabbit FileVault Core Bundle</name> |
| <description>The core classes of Apache Jackrabbit FileVault</description> |
| |
| <properties> |
| <!-- http://maven.apache.org/ref/3.6.3/maven-model-builder/index.html#Inheritance_Assembly --> |
| <project.directory>vault-core</project.directory> |
| </properties> |
| |
| <!-- ====================================================================== --> |
| <!-- B U I L D --> |
| <!-- ====================================================================== --> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>biz.aQute.bnd</groupId> |
| <artifactId>bnd-maven-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>biz.aQute.bnd</groupId> |
| <artifactId>bnd-baseline-maven-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <configuration> |
| <archive> |
| <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>sling-maven-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <configuration> |
| <excludePackageNames>org.apache.jackrabbit.vault.util.xml.*</excludePackageNames> |
| </configuration> |
| </plugin> |
| <!-- ====================================================================== --> |
| <!-- R A T P L U G I N --> |
| <!-- ====================================================================== --> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludesFile>${project.basedir}/.ratignore</excludesFile> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>biz.aQute.bnd</groupId> |
| <artifactId>bnd-resolver-maven-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <!-- ====================================================================== --> |
| <!-- D E P E N D E N C I E S --> |
| <!-- ====================================================================== --> |
| <dependencies> |
| <!-- jackrabbit --> |
| <dependency> |
| <groupId>org.apache.jackrabbit</groupId> |
| <artifactId>oak-jackrabbit-api</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.jackrabbit</groupId> |
| <artifactId>jackrabbit-jcr-commons</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.jackrabbit</groupId> |
| <artifactId>jackrabbit-spi-commons</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.jackrabbit</groupId> |
| <artifactId>jackrabbit-spi</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.jackrabbit</groupId> |
| <artifactId>jackrabbit-spi2dav</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- JCR Stuff --> |
| <dependency> |
| <groupId>javax.jcr</groupId> |
| <artifactId>jcr</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.framework</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- StaX implementation for indentation --> |
| <dependency> |
| <groupId>org.glassfish.jaxb</groupId> |
| <artifactId>txw2</artifactId> |
| <version>2.3.2</version> |
| </dependency> |
| <!-- embed --> |
| <dependency> |
| <groupId>com.fasterxml.woodstox</groupId> |
| <artifactId>woodstox-core</artifactId> |
| <version>6.1.1</version> |
| </dependency> |
| |
| <!-- SLF4j / Log4j --> |
| <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>org.jetbrains</groupId> |
| <artifactId>annotations</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- OSGi Annotations: @Version --> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.annotation.versioning</artifactId> |
| </dependency> |
| <!-- Declarative Service Annotations --> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.service.component.annotations</artifactId> |
| </dependency> |
| <!-- Metatype Annotations --> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.service.metatype.annotations</artifactId> |
| </dependency> |
| |
| <dependency> |
| <!-- used to retrieve the sling repository for JMX support --> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.jcr.api</artifactId> |
| <version>2.0.4</version> |
| <scope>provided</scope> |
| <optional>true</optional> |
| </dependency> |
| |
| <!-- test deps --> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest</artifactId> |
| <version>2.1</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-classic</artifactId> |
| <version>1.0.13</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <version>1.9.0</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.testing.osgi-mock</artifactId> |
| <version>2.3.10</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.jackrabbit</groupId> |
| <artifactId>jackrabbit-core</artifactId> |
| <version>${jackrabbit.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.derby</groupId> |
| <artifactId>derby</artifactId> |
| <version>10.14.2.0</version><!-- version used in jackrabbit-core --> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.jackrabbit</groupId> |
| <artifactId>oak-core</artifactId> |
| <version>${oak.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.jackrabbit</groupId> |
| <artifactId>oak-core</artifactId> |
| <version>${oak.version}</version> |
| <classifier>tests</classifier> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.jackrabbit</groupId> |
| <artifactId>oak-jcr</artifactId> |
| <version>${oak.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.jackrabbit</groupId> |
| <artifactId>oak-segment-tar</artifactId> |
| <version>${oak.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.jackrabbit</groupId> |
| <artifactId>oak-authorization-principalbased</artifactId> |
| <version>${oak.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.jackrabbit</groupId> |
| <artifactId>oak-authorization-cug</artifactId> |
| <version>1.16.0</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.xmlunit</groupId> |
| <artifactId>xmlunit-core</artifactId> |
| <version>2.6.0</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.xmlunit</groupId> |
| <artifactId>xmlunit-matchers</artifactId> |
| <version>2.6.0</version> |
| <scope>test</scope> |
| </dependency> |
| |
| </dependencies> |
| |
| <!-- ====================================================================== --> |
| <!-- P R O F I L E S --> |
| <!-- ====================================================================== --> |
| <profiles> |
| <profile> |
| <id>test-oak</id> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <argLine>-Doak=true -Xmx1024m</argLine> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>test-jackrabbit</id> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <argLine>-Doak=true -Xmx1024m</argLine> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>test-both</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <skip>true</skip> |
| </configuration> |
| <executions> |
| <execution> |
| <id>oak</id> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| <configuration> |
| <argLine>-Doak=true -Xmx1024m</argLine> |
| <reportNameSuffix>OAK</reportNameSuffix> |
| <skip>false</skip> |
| </configuration> |
| </execution> |
| <execution> |
| <id>jr</id> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| <configuration> |
| <reportNameSuffix>JR</reportNameSuffix> |
| <skip>false</skip> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |