[maven-release-plugin] prepare release jackrabbit-oak-1.6.22
diff --git a/oak-auth-external/pom.xml b/oak-auth-external/pom.xml
index 22a2b27..b8ab583 100644
--- a/oak-auth-external/pom.xml
+++ b/oak-auth-external/pom.xml
@@ -1,178 +1,178 @@
-<?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-SNAPSHOT</version>
-        <relativePath>../oak-parent/pom.xml</relativePath>
-    </parent>
-
-    <artifactId>oak-auth-external</artifactId>
-    <name>Oak External Authentication Support</name>
-    <packaging>bundle</packaging>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-scr-plugin</artifactId>
-            </plugin>
-            <plugin>
-                <artifactId>maven-failsafe-plugin</artifactId>
-                <configuration>
-                    <systemPropertyVariables>
-                        <java.util.logging.config.file>
-                            src/test/resources/logging.properties
-                        </java.util.logging.config.file>
-                    </systemPropertyVariables>
-                </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>org.apache.felix</groupId>
-            <artifactId>org.apache.felix.jaas</artifactId>
-            <version>0.0.2</version>
-            <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>
-        </dependency>
-        <dependency>
-          <groupId>org.apache.jackrabbit</groupId>
-          <artifactId>oak-commons</artifactId>
-          <version>${project.version}</version>
-        </dependency>
-
-        <dependency>
-            <groupId>com.google.guava</groupId>
-            <artifactId>guava</artifactId>
-        </dependency>
-
-        <!-- Jackrabbit dependencies -->
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>jackrabbit-api</artifactId>
-            <version>${jackrabbit.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>jackrabbit-jcr-commons</artifactId>
-            <version>${jackrabbit.version}</version>
-        </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-core</artifactId>
-            <version>${project.version}</version>
-            <classifier>tests</classifier>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>oak-jcr</artifactId>
-            <version>${project.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.easymock</groupId>
-            <artifactId>easymock</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>com.h2database</groupId>
-            <artifactId>h2</artifactId>
-            <version>${h2.version}</version>
-            <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>commons-io</groupId>
-            <artifactId>commons-io</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.sling</groupId>
-            <artifactId>org.apache.sling.testing.osgi-mock</artifactId>
-            <scope>test</scope>
-        </dependency>
-    </dependencies>
-</project>
+<?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-auth-external</artifactId>

+    <name>Oak External Authentication Support</name>

+    <packaging>bundle</packaging>

+

+    <build>

+        <plugins>

+            <plugin>

+                <groupId>org.apache.felix</groupId>

+                <artifactId>maven-bundle-plugin</artifactId>

+            </plugin>

+            <plugin>

+                <groupId>org.apache.felix</groupId>

+                <artifactId>maven-scr-plugin</artifactId>

+            </plugin>

+            <plugin>

+                <artifactId>maven-failsafe-plugin</artifactId>

+                <configuration>

+                    <systemPropertyVariables>

+                        <java.util.logging.config.file>

+                            src/test/resources/logging.properties

+                        </java.util.logging.config.file>

+                    </systemPropertyVariables>

+                </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>org.apache.felix</groupId>

+            <artifactId>org.apache.felix.jaas</artifactId>

+            <version>0.0.2</version>

+            <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>

+        </dependency>

+        <dependency>

+          <groupId>org.apache.jackrabbit</groupId>

+          <artifactId>oak-commons</artifactId>

+          <version>${project.version}</version>

+        </dependency>

+

+        <dependency>

+            <groupId>com.google.guava</groupId>

+            <artifactId>guava</artifactId>

+        </dependency>

+

+        <!-- Jackrabbit dependencies -->

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>jackrabbit-api</artifactId>

+            <version>${jackrabbit.version}</version>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>jackrabbit-jcr-commons</artifactId>

+            <version>${jackrabbit.version}</version>

+        </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-core</artifactId>

+            <version>${project.version}</version>

+            <classifier>tests</classifier>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>oak-jcr</artifactId>

+            <version>${project.version}</version>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>junit</groupId>

+            <artifactId>junit</artifactId>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.easymock</groupId>

+            <artifactId>easymock</artifactId>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>com.h2database</groupId>

+            <artifactId>h2</artifactId>

+            <version>${h2.version}</version>

+            <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>commons-io</groupId>

+            <artifactId>commons-io</artifactId>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.sling</groupId>

+            <artifactId>org.apache.sling.testing.osgi-mock</artifactId>

+            <scope>test</scope>

+        </dependency>

+    </dependencies>

+</project>

diff --git a/oak-auth-ldap/pom.xml b/oak-auth-ldap/pom.xml
index 9586242..3700d4d 100644
--- a/oak-auth-ldap/pom.xml
+++ b/oak-auth-ldap/pom.xml
@@ -1,226 +1,226 @@
-<?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-SNAPSHOT</version>
-        <relativePath>../oak-parent/pom.xml</relativePath>
-    </parent>
-
-    <artifactId>oak-auth-ldap</artifactId>
-    <name>Oak LDAP Authentication Support</name>
-    <packaging>bundle</packaging>
-
-    <properties>
-        <apacheds.test.version>2.0.0-M24</apacheds.test.version>
-    </properties>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        <Import-Package>
-                            !org.dom4j.*,
-                            !org.xmlpull.v1,
-                            !sun.net.util,
-                            !net.sf.cglib.proxy,
-                            !antlr,
-                            !antlr.collections.impl,
-                            !org.apache.mina.*,
-                            *
-                        </Import-Package>
-                        <Embed-Dependency>
-                            api-all,commons-pool2,mina-core,org.apache.servicemix.bundles.antlr
-                        </Embed-Dependency>
-                    </instructions>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-scr-plugin</artifactId>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.rat</groupId>
-                <artifactId>apache-rat-plugin</artifactId>
-                <configuration>
-                    <excludes>
-                        <exclude>**/users.csv</exclude>
-                    </excludes>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-
-    <dependencies>
-        <!-- embedded apache directory client and dependencies-->
-        <dependency>
-            <groupId>org.apache.directory.api</groupId>
-            <artifactId>api-all</artifactId>
-            <version>2.0.1</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.commons</groupId>
-            <artifactId>commons-pool2</artifactId>
-            <version>2.8.0</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.commons</groupId>
-            <artifactId>commons-collections4</artifactId>
-            <version>4.4</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.mina</groupId>
-            <artifactId>mina-core</artifactId>
-            <version>2.1.3</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.servicemix.bundles</groupId>
-            <artifactId>org.apache.servicemix.bundles.antlr</artifactId>
-            <version>2.7.7_5</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.commons</groupId>
-            <artifactId>commons-lang3</artifactId>
-            <version>3.9</version>
-            <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>
-        </dependency>
-        <dependency>
-          <groupId>org.apache.jackrabbit</groupId>
-          <artifactId>oak-commons</artifactId>
-          <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>oak-auth-external</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-
-        <dependency>
-            <groupId>com.google.guava</groupId>
-            <artifactId>guava</artifactId>
-        </dependency>
-
-        <!-- JCR and Jackrabbit dependencies -->
-        <dependency>
-            <groupId>javax.jcr</groupId>
-            <artifactId>jcr</artifactId>
-            <version>2.0</version>
-        </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>junit</groupId>
-            <artifactId>junit</artifactId>
-            <scope>test</scope>
-            <exclusions>
-                <exclusion>
-                    <groupId>org.hamcrest</groupId>
-                    <artifactId>hamcrest-core</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-        <dependency>
-            <groupId>org.hamcrest</groupId>
-            <artifactId>hamcrest-library</artifactId>
-            <version>1.3</version>
-            <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.apache.jackrabbit</groupId>
-            <artifactId>oak-core</artifactId>
-            <version>${project.version}</version>
-            <classifier>tests</classifier>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>oak-auth-external</artifactId>
-            <version>${project.version}</version>
-            <classifier>tests</classifier>
-            <scope>test</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.sling</groupId>
-            <artifactId>org.apache.sling.testing.osgi-mock</artifactId>
-            <scope>test</scope>
-        </dependency>
-
-        <!-- test dependencies for apache DS server. -->
-        <dependency>
-            <groupId>org.apache.directory.server</groupId>
-            <artifactId>apacheds-all</artifactId>
-            <version>${apacheds.test.version}</version>
-            <scope>test</scope>
-        </dependency>
-    </dependencies>
-</project>
+<?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-auth-ldap</artifactId>

+    <name>Oak LDAP Authentication Support</name>

+    <packaging>bundle</packaging>

+

+    <properties>

+        <apacheds.test.version>2.0.0-M24</apacheds.test.version>

+    </properties>

+

+    <build>

+        <plugins>

+            <plugin>

+                <groupId>org.apache.felix</groupId>

+                <artifactId>maven-bundle-plugin</artifactId>

+                <extensions>true</extensions>

+                <configuration>

+                    <instructions>

+                        <Import-Package>

+                            !org.dom4j.*,

+                            !org.xmlpull.v1,

+                            !sun.net.util,

+                            !net.sf.cglib.proxy,

+                            !antlr,

+                            !antlr.collections.impl,

+                            !org.apache.mina.*,

+                            *

+                        </Import-Package>

+                        <Embed-Dependency>

+                            api-all,commons-pool2,mina-core,org.apache.servicemix.bundles.antlr

+                        </Embed-Dependency>

+                    </instructions>

+                </configuration>

+            </plugin>

+            <plugin>

+                <groupId>org.apache.felix</groupId>

+                <artifactId>maven-scr-plugin</artifactId>

+            </plugin>

+            <plugin>

+                <groupId>org.apache.rat</groupId>

+                <artifactId>apache-rat-plugin</artifactId>

+                <configuration>

+                    <excludes>

+                        <exclude>**/users.csv</exclude>

+                    </excludes>

+                </configuration>

+            </plugin>

+        </plugins>

+    </build>

+

+    <dependencies>

+        <!-- embedded apache directory client and dependencies-->

+        <dependency>

+            <groupId>org.apache.directory.api</groupId>

+            <artifactId>api-all</artifactId>

+            <version>2.0.1</version>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.commons</groupId>

+            <artifactId>commons-pool2</artifactId>

+            <version>2.8.0</version>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.commons</groupId>

+            <artifactId>commons-collections4</artifactId>

+            <version>4.4</version>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.mina</groupId>

+            <artifactId>mina-core</artifactId>

+            <version>2.1.3</version>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.servicemix.bundles</groupId>

+            <artifactId>org.apache.servicemix.bundles.antlr</artifactId>

+            <version>2.7.7_5</version>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.commons</groupId>

+            <artifactId>commons-lang3</artifactId>

+            <version>3.9</version>

+            <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>

+        </dependency>

+        <dependency>

+          <groupId>org.apache.jackrabbit</groupId>

+          <artifactId>oak-commons</artifactId>

+          <version>${project.version}</version>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>oak-auth-external</artifactId>

+            <version>${project.version}</version>

+        </dependency>

+

+        <dependency>

+            <groupId>com.google.guava</groupId>

+            <artifactId>guava</artifactId>

+        </dependency>

+

+        <!-- JCR and Jackrabbit dependencies -->

+        <dependency>

+            <groupId>javax.jcr</groupId>

+            <artifactId>jcr</artifactId>

+            <version>2.0</version>

+        </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>junit</groupId>

+            <artifactId>junit</artifactId>

+            <scope>test</scope>

+            <exclusions>

+                <exclusion>

+                    <groupId>org.hamcrest</groupId>

+                    <artifactId>hamcrest-core</artifactId>

+                </exclusion>

+            </exclusions>

+        </dependency>

+        <dependency>

+            <groupId>org.hamcrest</groupId>

+            <artifactId>hamcrest-library</artifactId>

+            <version>1.3</version>

+            <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.apache.jackrabbit</groupId>

+            <artifactId>oak-core</artifactId>

+            <version>${project.version}</version>

+            <classifier>tests</classifier>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>oak-auth-external</artifactId>

+            <version>${project.version}</version>

+            <classifier>tests</classifier>

+            <scope>test</scope>

+        </dependency>

+

+        <dependency>

+            <groupId>org.apache.sling</groupId>

+            <artifactId>org.apache.sling.testing.osgi-mock</artifactId>

+            <scope>test</scope>

+        </dependency>

+

+        <!-- test dependencies for apache DS server. -->

+        <dependency>

+            <groupId>org.apache.directory.server</groupId>

+            <artifactId>apacheds-all</artifactId>

+            <version>${apacheds.test.version}</version>

+            <scope>test</scope>

+        </dependency>

+    </dependencies>

+</project>

diff --git a/oak-authorization-cug/pom.xml b/oak-authorization-cug/pom.xml
index f36c273..a59341a 100644
--- a/oak-authorization-cug/pom.xml
+++ b/oak-authorization-cug/pom.xml
@@ -1,149 +1,149 @@
-<?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">
-  <parent>
-    <groupId>org.apache.jackrabbit</groupId>
-    <artifactId>oak-parent</artifactId>
-    <version>1.6.22-SNAPSHOT</version>
-    <relativePath>../oak-parent/pom.xml</relativePath>
-  </parent>
-  <modelVersion>4.0.0</modelVersion>
-
-  <artifactId>oak-authorization-cug</artifactId>
-  <name>Oak CUG Authorization</name>
-  <packaging>bundle</packaging>
-
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.felix</groupId>
-        <artifactId>maven-scr-plugin</artifactId>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.felix</groupId>
-        <artifactId>maven-bundle-plugin</artifactId>
-        <configuration>
-          <instructions>
-            <Export-Package>
-              org.apache.jackrabbit.oak.spi.security.authorization.cug
-            </Export-Package>
-          </instructions>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-
-  <!-- Dependencies to other Oak components -->
-  <dependencies>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-core</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-
-    <!-- General utility libraries -->
-    <dependency>
-      <groupId>com.google.guava</groupId>
-      <artifactId>guava</artifactId>
-    </dependency>
-
-    <!-- JCR and Jackrabbit dependencies -->
-    <dependency>
-      <groupId>javax.jcr</groupId>
-      <artifactId>jcr</artifactId>
-      <version>2.0</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>jackrabbit-api</artifactId>
-      <version>${jackrabbit.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>jackrabbit-jcr-commons</artifactId>
-      <version>${jackrabbit.version}</version>
-    </dependency>
-
-    <!-- Logging -->
-    <dependency>
-      <groupId>org.slf4j</groupId>
-      <artifactId>slf4j-api</artifactId>
-    </dependency>
-
-    <!-- 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>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.scr.annotations</artifactId>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>biz.aQute.bnd</groupId>
-      <artifactId>bndlib</artifactId>
-      <scope>provided</scope>
-    </dependency>
-
-    <!-- Findbugs annotations -->
-    <dependency>
-      <groupId>com.google.code.findbugs</groupId>
-      <artifactId>jsr305</artifactId>
-    </dependency>
-
-    <!-- Test dependencies -->
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-core</artifactId>
-      <version>${project.version}</version>
-      <classifier>tests</classifier>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-jcr</artifactId>
-      <version>${project.version}</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-jcr</artifactId>
-      <version>${project.version}</version>
-      <classifier>tests</classifier>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.sling</groupId>
-      <artifactId>org.apache.sling.testing.osgi-mock</artifactId>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-
+<?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">

+  <parent>

+    <groupId>org.apache.jackrabbit</groupId>

+    <artifactId>oak-parent</artifactId>

+    <version>1.6.22</version>

+    <relativePath>../oak-parent/pom.xml</relativePath>

+  </parent>

+  <modelVersion>4.0.0</modelVersion>

+

+  <artifactId>oak-authorization-cug</artifactId>

+  <name>Oak CUG Authorization</name>

+  <packaging>bundle</packaging>

+

+  <build>

+    <plugins>

+      <plugin>

+        <groupId>org.apache.felix</groupId>

+        <artifactId>maven-scr-plugin</artifactId>

+      </plugin>

+      <plugin>

+        <groupId>org.apache.felix</groupId>

+        <artifactId>maven-bundle-plugin</artifactId>

+        <configuration>

+          <instructions>

+            <Export-Package>

+              org.apache.jackrabbit.oak.spi.security.authorization.cug

+            </Export-Package>

+          </instructions>

+        </configuration>

+      </plugin>

+    </plugins>

+  </build>

+

+  <!-- Dependencies to other Oak components -->

+  <dependencies>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-core</artifactId>

+      <version>${project.version}</version>

+    </dependency>

+

+    <!-- General utility libraries -->

+    <dependency>

+      <groupId>com.google.guava</groupId>

+      <artifactId>guava</artifactId>

+    </dependency>

+

+    <!-- JCR and Jackrabbit dependencies -->

+    <dependency>

+      <groupId>javax.jcr</groupId>

+      <artifactId>jcr</artifactId>

+      <version>2.0</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>jackrabbit-api</artifactId>

+      <version>${jackrabbit.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>jackrabbit-jcr-commons</artifactId>

+      <version>${jackrabbit.version}</version>

+    </dependency>

+

+    <!-- Logging -->

+    <dependency>

+      <groupId>org.slf4j</groupId>

+      <artifactId>slf4j-api</artifactId>

+    </dependency>

+

+    <!-- 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>org.apache.felix</groupId>

+      <artifactId>org.apache.felix.scr.annotations</artifactId>

+      <scope>provided</scope>

+    </dependency>

+    <dependency>

+      <groupId>biz.aQute.bnd</groupId>

+      <artifactId>bndlib</artifactId>

+      <scope>provided</scope>

+    </dependency>

+

+    <!-- Findbugs annotations -->

+    <dependency>

+      <groupId>com.google.code.findbugs</groupId>

+      <artifactId>jsr305</artifactId>

+    </dependency>

+

+    <!-- Test dependencies -->

+    <dependency>

+      <groupId>junit</groupId>

+      <artifactId>junit</artifactId>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-core</artifactId>

+      <version>${project.version}</version>

+      <classifier>tests</classifier>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-jcr</artifactId>

+      <version>${project.version}</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-jcr</artifactId>

+      <version>${project.version}</version>

+      <classifier>tests</classifier>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.sling</groupId>

+      <artifactId>org.apache.sling.testing.osgi-mock</artifactId>

+      <scope>test</scope>

+    </dependency>

+  </dependencies>

+

 </project>
\ No newline at end of file
diff --git a/oak-blob-cloud-azure/pom.xml b/oak-blob-cloud-azure/pom.xml
index e5f2036..bb577fc 100644
--- a/oak-blob-cloud-azure/pom.xml
+++ b/oak-blob-cloud-azure/pom.xml
@@ -1,174 +1,174 @@
-<?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">
-    <parent>
-        <artifactId>oak-parent</artifactId>
-        <groupId>org.apache.jackrabbit</groupId>
-        <version>1.6.22-SNAPSHOT</version>
-        <relativePath>../oak-parent/pom.xml</relativePath>
-    </parent>
-    <modelVersion>4.0.0</modelVersion>
-
-    <artifactId>oak-blob-cloud-azure</artifactId>
-    <name>Oak Azure Cloud Blob Store</name>
-    <packaging>bundle</packaging>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-scr-plugin</artifactId>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <configuration>
-                    <instructions>
-                        <Export-Package>
-                            org.apache.jackrabbit.oak.blob.cloud.azure.blobstorage
-                        </Export-Package>
-                        <DynamicImport-Package>sun.io</DynamicImport-Package>
-                        <Embed-Dependency>
-                            azure-storage,
-                            azure-keyvault-core
-                        </Embed-Dependency>
-                    </instructions>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-
-    <!-- ====================================================================== -->
-    <!-- D E P E N D E N C I E S -->
-    <!-- ====================================================================== -->
-    <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>
-
-        <!-- JCR and Jackrabbit dependencies -->
-        <dependency>
-            <groupId>javax.jcr</groupId>
-            <artifactId>jcr</artifactId>
-            <version>2.0</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>jackrabbit-jcr-commons</artifactId>
-            <version>${jackrabbit.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>jackrabbit-data</artifactId>
-            <version>${jackrabbit.version}</version>
-        </dependency>
-
-        <!-- Dependencies to other Oak components -->
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>oak-commons</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>oak-blob</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>oak-core</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-
-        <!-- Azure Blob Storage dependency -->
-        <dependency>
-            <groupId>com.microsoft.azure</groupId>
-            <artifactId>azure-storage</artifactId>
-            <version>5.0.0</version>
-        </dependency>
-        <dependency>
-            <groupId>com.microsoft.azure</groupId>
-            <artifactId>azure-keyvault-core</artifactId>
-            <version>0.9.7</version>
-        </dependency>
-
-        <!-- Test dependencies -->
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>jackrabbit-data</artifactId>
-            <version>${jackrabbit.version}</version>
-            <classifier>tests</classifier>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>oak-core</artifactId>
-            <version>${project.version}</version>
-            <classifier>tests</classifier>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</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.apache.sling</groupId>
-            <artifactId>org.apache.sling.testing.osgi-mock</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>
+<?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">

+    <parent>

+        <artifactId>oak-parent</artifactId>

+        <groupId>org.apache.jackrabbit</groupId>

+        <version>1.6.22</version>

+        <relativePath>../oak-parent/pom.xml</relativePath>

+    </parent>

+    <modelVersion>4.0.0</modelVersion>

+

+    <artifactId>oak-blob-cloud-azure</artifactId>

+    <name>Oak Azure Cloud Blob Store</name>

+    <packaging>bundle</packaging>

+

+    <build>

+        <plugins>

+            <plugin>

+                <groupId>org.apache.felix</groupId>

+                <artifactId>maven-scr-plugin</artifactId>

+            </plugin>

+            <plugin>

+                <groupId>org.apache.felix</groupId>

+                <artifactId>maven-bundle-plugin</artifactId>

+                <configuration>

+                    <instructions>

+                        <Export-Package>

+                            org.apache.jackrabbit.oak.blob.cloud.azure.blobstorage

+                        </Export-Package>

+                        <DynamicImport-Package>sun.io</DynamicImport-Package>

+                        <Embed-Dependency>

+                            azure-storage,

+                            azure-keyvault-core

+                        </Embed-Dependency>

+                    </instructions>

+                </configuration>

+            </plugin>

+        </plugins>

+    </build>

+

+    <!-- ====================================================================== -->

+    <!-- D E P E N D E N C I E S -->

+    <!-- ====================================================================== -->

+    <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>

+

+        <!-- JCR and Jackrabbit dependencies -->

+        <dependency>

+            <groupId>javax.jcr</groupId>

+            <artifactId>jcr</artifactId>

+            <version>2.0</version>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>jackrabbit-jcr-commons</artifactId>

+            <version>${jackrabbit.version}</version>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>jackrabbit-data</artifactId>

+            <version>${jackrabbit.version}</version>

+        </dependency>

+

+        <!-- Dependencies to other Oak components -->

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>oak-commons</artifactId>

+            <version>${project.version}</version>

+        </dependency>

+

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>oak-blob</artifactId>

+            <version>${project.version}</version>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>oak-core</artifactId>

+            <version>${project.version}</version>

+        </dependency>

+

+        <!-- Azure Blob Storage dependency -->

+        <dependency>

+            <groupId>com.microsoft.azure</groupId>

+            <artifactId>azure-storage</artifactId>

+            <version>5.0.0</version>

+        </dependency>

+        <dependency>

+            <groupId>com.microsoft.azure</groupId>

+            <artifactId>azure-keyvault-core</artifactId>

+            <version>0.9.7</version>

+        </dependency>

+

+        <!-- Test dependencies -->

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>jackrabbit-data</artifactId>

+            <version>${jackrabbit.version}</version>

+            <classifier>tests</classifier>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>oak-core</artifactId>

+            <version>${project.version}</version>

+            <classifier>tests</classifier>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>junit</groupId>

+            <artifactId>junit</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.apache.sling</groupId>

+            <artifactId>org.apache.sling.testing.osgi-mock</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>

diff --git a/oak-blob-cloud/pom.xml b/oak-blob-cloud/pom.xml
index 856b1c7..20a703d 100644
--- a/oak-blob-cloud/pom.xml
+++ b/oak-blob-cloud/pom.xml
@@ -1,217 +1,217 @@
-<?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">
-    <parent>
-        <artifactId>oak-parent</artifactId>
-        <groupId>org.apache.jackrabbit</groupId>
-        <version>1.6.22-SNAPSHOT</version>
-        <relativePath>../oak-parent/pom.xml</relativePath>
-    </parent>
-    <modelVersion>4.0.0</modelVersion>
-
-    <artifactId>oak-blob-cloud</artifactId>
-    <name>Oak Cloud Blob Store</name>
-    <packaging>bundle</packaging>
-
-    <properties>
-        <netty.version>4.1.17.Final</netty.version>
-        <aws.version>1.11.330</aws.version>
-    </properties>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-scr-plugin</artifactId>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <configuration>
-                    <instructions>
-                        <Export-Package>org.apache.jackrabbit.oak.blob.cloud.aws.s3,org.apache.jackrabbit.oak.blob.cloud.s3.stats</Export-Package>
-                        <DynamicImport-Package>sun.io</DynamicImport-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-
-    <!-- ====================================================================== -->
-    <!-- D E P E N D E N C I E S -->
-    <!-- ====================================================================== -->
-    <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>
-
-        <!-- JCR and Jackrabbit dependencies -->
-        <dependency>
-            <groupId>javax.jcr</groupId>
-            <artifactId>jcr</artifactId>
-            <version>2.0</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>jackrabbit-jcr-commons</artifactId>
-            <version>${jackrabbit.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>jackrabbit-data</artifactId>
-            <version>${jackrabbit.version}</version>
-        </dependency>
-
-        <!-- Dependencies to other Oak components -->
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>oak-commons</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>oak-blob</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>oak-core</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <!-- Amazon AWS dependency -->
-        <dependency>
-            <groupId>com.amazonaws</groupId>
-            <artifactId>aws-java-sdk-s3</artifactId>
-            <version>${aws.version}</version>
-        </dependency>
-
-        <dependency>
-            <groupId>com.fasterxml.jackson.core</groupId>
-            <artifactId>jackson-annotations</artifactId>
-        </dependency>
-        <!-- Netty -->
-        <dependency>
-            <groupId>io.netty</groupId>
-            <artifactId>netty-buffer</artifactId>
-            <version>${netty.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>io.netty</groupId>
-            <artifactId>netty-codec</artifactId>
-            <version>${netty.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>io.netty</groupId>
-            <artifactId>netty-codec-http</artifactId>
-            <version>${netty.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>io.netty</groupId>
-            <artifactId>netty-common</artifactId>
-            <version>${netty.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>io.netty</groupId>
-            <artifactId>netty-handler</artifactId>
-            <version>${netty.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>io.netty</groupId>
-            <artifactId>netty-resolver</artifactId>
-            <version>${netty.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>io.netty</groupId>
-            <artifactId>netty-transport</artifactId>
-            <version>${netty.version}</version>
-        </dependency>
-
-        <dependency>
-            <groupId>com.google.guava</groupId>
-            <artifactId>guava</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-api</artifactId>
-        </dependency>
-
-        <!-- Test dependencies -->
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>jackrabbit-data</artifactId>
-            <version>${jackrabbit.version}</version>
-            <classifier>tests</classifier>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>oak-core</artifactId>
-            <version>${project.version}</version>
-            <classifier>tests</classifier>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</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.apache.sling</groupId>
-            <artifactId>org.apache.sling.testing.osgi-mock</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>
+<?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">

+    <parent>

+        <artifactId>oak-parent</artifactId>

+        <groupId>org.apache.jackrabbit</groupId>

+        <version>1.6.22</version>

+        <relativePath>../oak-parent/pom.xml</relativePath>

+    </parent>

+    <modelVersion>4.0.0</modelVersion>

+

+    <artifactId>oak-blob-cloud</artifactId>

+    <name>Oak Cloud Blob Store</name>

+    <packaging>bundle</packaging>

+

+    <properties>

+        <netty.version>4.1.17.Final</netty.version>

+        <aws.version>1.11.330</aws.version>

+    </properties>

+

+    <build>

+        <plugins>

+            <plugin>

+                <groupId>org.apache.felix</groupId>

+                <artifactId>maven-scr-plugin</artifactId>

+            </plugin>

+            <plugin>

+                <groupId>org.apache.felix</groupId>

+                <artifactId>maven-bundle-plugin</artifactId>

+                <configuration>

+                    <instructions>

+                        <Export-Package>org.apache.jackrabbit.oak.blob.cloud.aws.s3,org.apache.jackrabbit.oak.blob.cloud.s3.stats</Export-Package>

+                        <DynamicImport-Package>sun.io</DynamicImport-Package>

+                    </instructions>

+                </configuration>

+            </plugin>

+        </plugins>

+    </build>

+

+    <!-- ====================================================================== -->

+    <!-- D E P E N D E N C I E S -->

+    <!-- ====================================================================== -->

+    <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>

+

+        <!-- JCR and Jackrabbit dependencies -->

+        <dependency>

+            <groupId>javax.jcr</groupId>

+            <artifactId>jcr</artifactId>

+            <version>2.0</version>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>jackrabbit-jcr-commons</artifactId>

+            <version>${jackrabbit.version}</version>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>jackrabbit-data</artifactId>

+            <version>${jackrabbit.version}</version>

+        </dependency>

+

+        <!-- Dependencies to other Oak components -->

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>oak-commons</artifactId>

+            <version>${project.version}</version>

+        </dependency>

+

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>oak-blob</artifactId>

+            <version>${project.version}</version>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>oak-core</artifactId>

+            <version>${project.version}</version>

+        </dependency>

+        <!-- Amazon AWS dependency -->

+        <dependency>

+            <groupId>com.amazonaws</groupId>

+            <artifactId>aws-java-sdk-s3</artifactId>

+            <version>${aws.version}</version>

+        </dependency>

+

+        <dependency>

+            <groupId>com.fasterxml.jackson.core</groupId>

+            <artifactId>jackson-annotations</artifactId>

+        </dependency>

+        <!-- Netty -->

+        <dependency>

+            <groupId>io.netty</groupId>

+            <artifactId>netty-buffer</artifactId>

+            <version>${netty.version}</version>

+        </dependency>

+        <dependency>

+            <groupId>io.netty</groupId>

+            <artifactId>netty-codec</artifactId>

+            <version>${netty.version}</version>

+        </dependency>

+        <dependency>

+            <groupId>io.netty</groupId>

+            <artifactId>netty-codec-http</artifactId>

+            <version>${netty.version}</version>

+        </dependency>

+        <dependency>

+            <groupId>io.netty</groupId>

+            <artifactId>netty-common</artifactId>

+            <version>${netty.version}</version>

+        </dependency>

+        <dependency>

+            <groupId>io.netty</groupId>

+            <artifactId>netty-handler</artifactId>

+            <version>${netty.version}</version>

+        </dependency>

+        <dependency>

+            <groupId>io.netty</groupId>

+            <artifactId>netty-resolver</artifactId>

+            <version>${netty.version}</version>

+        </dependency>

+        <dependency>

+            <groupId>io.netty</groupId>

+            <artifactId>netty-transport</artifactId>

+            <version>${netty.version}</version>

+        </dependency>

+

+        <dependency>

+            <groupId>com.google.guava</groupId>

+            <artifactId>guava</artifactId>

+        </dependency>

+        <dependency>

+            <groupId>org.slf4j</groupId>

+            <artifactId>slf4j-api</artifactId>

+        </dependency>

+

+        <!-- Test dependencies -->

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>jackrabbit-data</artifactId>

+            <version>${jackrabbit.version}</version>

+            <classifier>tests</classifier>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>oak-core</artifactId>

+            <version>${project.version}</version>

+            <classifier>tests</classifier>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>junit</groupId>

+            <artifactId>junit</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.apache.sling</groupId>

+            <artifactId>org.apache.sling.testing.osgi-mock</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>

diff --git a/oak-blob/pom.xml b/oak-blob/pom.xml
index 06399f5..cf31b24 100644
--- a/oak-blob/pom.xml
+++ b/oak-blob/pom.xml
@@ -1,157 +1,157 @@
-<?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">
-  <parent>
-    <artifactId>oak-parent</artifactId>
-    <groupId>org.apache.jackrabbit</groupId>
-    <version>1.6.22-SNAPSHOT</version>
-    <relativePath>../oak-parent/pom.xml</relativePath>
-  </parent>
-  <modelVersion>4.0.0</modelVersion>
-
-  <artifactId>oak-blob</artifactId>
-  <name>Oak Blob Store</name>
-  <packaging>bundle</packaging>
-
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.felix</groupId>
-        <artifactId>maven-scr-plugin</artifactId>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.felix</groupId>
-        <artifactId>maven-bundle-plugin</artifactId>
-        <configuration>
-          <instructions>
-            <Import-Package>
-              *
-            </Import-Package>
-            <Export-Package>
-              org.apache.jackrabbit.oak.spi.blob,
-              org.apache.jackrabbit.oak.spi.blob.stats,
-              org.apache.jackrabbit.oak.spi.blob.split
-            </Export-Package>
-          </instructions>
-        </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>javax.jcr</groupId>
-      <artifactId>jcr</artifactId>
-      <version>2.0</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>jackrabbit-data</artifactId>
-      <version>${jackrabbit.version}</version>
-    </dependency>
-    <!-- Dependencies to other Oak components -->
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-commons</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-
-    <!-- General utility libraries -->
-    <dependency>
-      <groupId>com.google.guava</groupId>
-      <artifactId>guava</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>commons-io</groupId>
-      <artifactId>commons-io</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>commons-codec</groupId>
-      <artifactId>commons-codec</artifactId>
-    </dependency>
-
-    <!--  Optional dependency for jclouds s3 to enable s3 cloud store -->
-    <dependency>
-      <groupId>org.apache.jclouds.provider</groupId>
-      <artifactId>aws-s3</artifactId>
-      <optional>true</optional>
-    </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>junit</groupId>
-      <artifactId>junit</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.slf4j</groupId>
-      <artifactId>jul-to-slf4j</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-commons</artifactId>
-      <version>${project.version}</version>
-      <classifier>tests</classifier>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>ch.qos.logback</groupId>
-      <artifactId>logback-classic</artifactId>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-
-</project>
-
+<?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">

+  <parent>

+    <artifactId>oak-parent</artifactId>

+    <groupId>org.apache.jackrabbit</groupId>

+    <version>1.6.22</version>

+    <relativePath>../oak-parent/pom.xml</relativePath>

+  </parent>

+  <modelVersion>4.0.0</modelVersion>

+

+  <artifactId>oak-blob</artifactId>

+  <name>Oak Blob Store</name>

+  <packaging>bundle</packaging>

+

+  <build>

+    <plugins>

+      <plugin>

+        <groupId>org.apache.felix</groupId>

+        <artifactId>maven-scr-plugin</artifactId>

+      </plugin>

+      <plugin>

+        <groupId>org.apache.felix</groupId>

+        <artifactId>maven-bundle-plugin</artifactId>

+        <configuration>

+          <instructions>

+            <Import-Package>

+              *

+            </Import-Package>

+            <Export-Package>

+              org.apache.jackrabbit.oak.spi.blob,

+              org.apache.jackrabbit.oak.spi.blob.stats,

+              org.apache.jackrabbit.oak.spi.blob.split

+            </Export-Package>

+          </instructions>

+        </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>javax.jcr</groupId>

+      <artifactId>jcr</artifactId>

+      <version>2.0</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>jackrabbit-data</artifactId>

+      <version>${jackrabbit.version}</version>

+    </dependency>

+    <!-- Dependencies to other Oak components -->

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-commons</artifactId>

+      <version>${project.version}</version>

+    </dependency>

+

+    <!-- General utility libraries -->

+    <dependency>

+      <groupId>com.google.guava</groupId>

+      <artifactId>guava</artifactId>

+    </dependency>

+    <dependency>

+      <groupId>commons-io</groupId>

+      <artifactId>commons-io</artifactId>

+    </dependency>

+    <dependency>

+      <groupId>commons-codec</groupId>

+      <artifactId>commons-codec</artifactId>

+    </dependency>

+

+    <!--  Optional dependency for jclouds s3 to enable s3 cloud store -->

+    <dependency>

+      <groupId>org.apache.jclouds.provider</groupId>

+      <artifactId>aws-s3</artifactId>

+      <optional>true</optional>

+    </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>junit</groupId>

+      <artifactId>junit</artifactId>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.slf4j</groupId>

+      <artifactId>jul-to-slf4j</artifactId>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-commons</artifactId>

+      <version>${project.version}</version>

+      <classifier>tests</classifier>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>ch.qos.logback</groupId>

+      <artifactId>logback-classic</artifactId>

+      <scope>test</scope>

+    </dependency>

+  </dependencies>

+

+</project>

+

diff --git a/oak-commons/pom.xml b/oak-commons/pom.xml
index 696b1c5..80e3e75 100644
--- a/oak-commons/pom.xml
+++ b/oak-commons/pom.xml
@@ -1,108 +1,108 @@
-<?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-SNAPSHOT</version>
-    <relativePath>../oak-parent/pom.xml</relativePath>
-  </parent>
-
-  <artifactId>oak-commons</artifactId>
-  <name>Oak Commons</name>
-  <packaging>bundle</packaging>
-
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.felix</groupId>
-        <artifactId>maven-bundle-plugin</artifactId>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.rat</groupId>
-        <artifactId>apache-rat-plugin</artifactId>
-        <configuration>
-          <excludes>
-            <exclude>**/test-file-1.csv</exclude>
-            <exclude>**/test-file-1.txt</exclude>
-            <exclude>**/test-file-2.txt</exclude>
-            <exclude>**/test-file-2.csv</exclude>
-          </excludes>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-
-  <dependencies>
-    <!-- logging -->
-    <dependency>
-      <groupId>org.slf4j</groupId>
-      <artifactId>slf4j-api</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>com.google.code.findbugs</groupId>
-      <artifactId>jsr305</artifactId>
-    </dependency>
-    <dependency>
-        <groupId>biz.aQute.bnd</groupId>
-        <artifactId>bndlib</artifactId>
-        <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>com.google.guava</groupId>
-      <artifactId>guava</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>commons-io</groupId>
-      <artifactId>commons-io</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>jackrabbit-jcr-commons</artifactId>
-      <version>${jackrabbit.version}</version>
-    </dependency>
-
-    <!-- Test dependencies -->
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>ch.qos.logback</groupId>
-      <artifactId>logback-classic</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.commons</groupId>
-      <artifactId>commons-math3</artifactId>
-      <optional>true</optional>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.commons</groupId>
-      <artifactId>commons-lang3</artifactId>
-      <version>3.3.2</version>
-      <optional>true</optional>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-</project>
+<?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-commons</artifactId>

+  <name>Oak Commons</name>

+  <packaging>bundle</packaging>

+

+  <build>

+    <plugins>

+      <plugin>

+        <groupId>org.apache.felix</groupId>

+        <artifactId>maven-bundle-plugin</artifactId>

+      </plugin>

+      <plugin>

+        <groupId>org.apache.rat</groupId>

+        <artifactId>apache-rat-plugin</artifactId>

+        <configuration>

+          <excludes>

+            <exclude>**/test-file-1.csv</exclude>

+            <exclude>**/test-file-1.txt</exclude>

+            <exclude>**/test-file-2.txt</exclude>

+            <exclude>**/test-file-2.csv</exclude>

+          </excludes>

+        </configuration>

+      </plugin>

+    </plugins>

+  </build>

+

+  <dependencies>

+    <!-- logging -->

+    <dependency>

+      <groupId>org.slf4j</groupId>

+      <artifactId>slf4j-api</artifactId>

+    </dependency>

+    <dependency>

+      <groupId>com.google.code.findbugs</groupId>

+      <artifactId>jsr305</artifactId>

+    </dependency>

+    <dependency>

+        <groupId>biz.aQute.bnd</groupId>

+        <artifactId>bndlib</artifactId>

+        <scope>provided</scope>

+    </dependency>

+    <dependency>

+      <groupId>com.google.guava</groupId>

+      <artifactId>guava</artifactId>

+    </dependency>

+    <dependency>

+      <groupId>commons-io</groupId>

+      <artifactId>commons-io</artifactId>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>jackrabbit-jcr-commons</artifactId>

+      <version>${jackrabbit.version}</version>

+    </dependency>

+

+    <!-- Test dependencies -->

+    <dependency>

+      <groupId>junit</groupId>

+      <artifactId>junit</artifactId>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>ch.qos.logback</groupId>

+      <artifactId>logback-classic</artifactId>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.commons</groupId>

+      <artifactId>commons-math3</artifactId>

+      <optional>true</optional>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.commons</groupId>

+      <artifactId>commons-lang3</artifactId>

+      <version>3.3.2</version>

+      <optional>true</optional>

+      <scope>test</scope>

+    </dependency>

+  </dependencies>

+</project>

diff --git a/oak-core/pom.xml b/oak-core/pom.xml
index 25e72bb..b0f9543 100644
--- a/oak-core/pom.xml
+++ b/oak-core/pom.xml
@@ -1,360 +1,360 @@
-<?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-SNAPSHOT</version>
-    <relativePath>../oak-parent/pom.xml</relativePath>
-  </parent>
-
-  <artifactId>oak-core</artifactId>
-  <name>Oak Core</name>
-  <packaging>bundle</packaging>
-
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.felix</groupId>
-        <artifactId>maven-bundle-plugin</artifactId>
-        <configuration>
-          <instructions>
-            <Import-Package>
-              com.mongodb*;version="[2.14, 4)";resolution:=optional,
-              *
-            </Import-Package>
-            <Export-Package>
-              org.apache.jackrabbit.oak,
-              org.apache.jackrabbit.oak.api,
-              org.apache.jackrabbit.oak.api.jmx,
-              org.apache.jackrabbit.oak.cache,
-              org.apache.jackrabbit.oak.stats,
-              org.apache.jackrabbit.oak.json,
-              org.apache.jackrabbit.oak.management,
-              org.apache.jackrabbit.oak.util,
-              org.apache.jackrabbit.oak.namepath,
-              org.apache.jackrabbit.oak.osgi,
-              org.apache.jackrabbit.oak.plugins.atomic,
-              org.apache.jackrabbit.oak.plugins.blob,
-              org.apache.jackrabbit.oak.plugins.blob.datastore,
-              org.apache.jackrabbit.oak.plugins.commit,
-              org.apache.jackrabbit.oak.plugins.document.spi,
-              org.apache.jackrabbit.oak.plugins.identifier,
-              org.apache.jackrabbit.oak.plugins.index,
-              org.apache.jackrabbit.oak.plugins.index.fulltext,
-              org.apache.jackrabbit.oak.plugins.index.aggregate,
-              org.apache.jackrabbit.oak.plugins.index.counter,
-              org.apache.jackrabbit.oak.plugins.index.nodetype,
-              org.apache.jackrabbit.oak.plugins.index.property,
-              org.apache.jackrabbit.oak.plugins.index.property.jmx,
-              org.apache.jackrabbit.oak.plugins.index.reference,
-              org.apache.jackrabbit.oak.plugins.itemsave,
-              org.apache.jackrabbit.oak.plugins.lock,
-              org.apache.jackrabbit.oak.plugins.memory,
-              org.apache.jackrabbit.oak.plugins.name,
-              org.apache.jackrabbit.oak.plugins.nodetype,
-              org.apache.jackrabbit.oak.plugins.nodetype.write,
-              org.apache.jackrabbit.oak.plugins.observation,
-              org.apache.jackrabbit.oak.plugins.observation.filter,
-              org.apache.jackrabbit.oak.plugins.tree,
-              org.apache.jackrabbit.oak.plugins.value,
-              org.apache.jackrabbit.oak.plugins.version,
-              org.apache.jackrabbit.oak.spi.commit,
-              org.apache.jackrabbit.oak.spi.gc,
-              org.apache.jackrabbit.oak.spi.lifecycle,
-              org.apache.jackrabbit.oak.spi.mount,
-              org.apache.jackrabbit.oak.spi.query,
-              org.apache.jackrabbit.oak.spi.security,
-              org.apache.jackrabbit.oak.spi.security.authentication,
-              org.apache.jackrabbit.oak.spi.security.authentication.callback,
-              org.apache.jackrabbit.oak.spi.security.authentication.credentials,
-              org.apache.jackrabbit.oak.spi.security.authentication.token,
-              org.apache.jackrabbit.oak.spi.security.authorization,
-              org.apache.jackrabbit.oak.spi.security.authorization.accesscontrol,
-              org.apache.jackrabbit.oak.spi.security.authorization.permission,
-              org.apache.jackrabbit.oak.spi.security.authorization.restriction,
-              org.apache.jackrabbit.oak.spi.security.principal,
-              org.apache.jackrabbit.oak.spi.security.privilege,
-              org.apache.jackrabbit.oak.spi.security.user,
-              org.apache.jackrabbit.oak.spi.security.user.action,
-              org.apache.jackrabbit.oak.spi.security.user.util,
-              org.apache.jackrabbit.oak.spi.state,
-              org.apache.jackrabbit.oak.spi.whiteboard,
-              org.apache.jackrabbit.oak.spi.xml,
-              org.apache.jackrabbit.oak.stats,
-              org.apache.jackrabbit.oak.query,
-              org.apache.jackrabbit.oak.query.fulltext,
-              org.apache.jackrabbit.oak.query.facet,
-              org.apache.jackrabbit.oak.security,
-              org.apache.jackrabbit.oak.util,
-            </Export-Package>
-            <Jaas-ModuleClass>
-              org.apache.jackrabbit.oak.spi.security.authentication.GuestLoginModule,
-              org.apache.jackrabbit.oak.security.authentication.user.LoginModuleImpl,
-              org.apache.jackrabbit.oak.security.authentication.token.TokenLoginModule
-            </Jaas-ModuleClass>
-            <DynamicImport-Package>
-              org.apache.felix.jaas.boot
-            </DynamicImport-Package>
-          </instructions>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.felix</groupId>
-        <artifactId>maven-scr-plugin</artifactId>
-      </plugin>
-      <plugin>
-        <artifactId>maven-failsafe-plugin</artifactId>
-        <configuration>
-          <systemPropertyVariables>
-            <java.util.logging.config.file>
-              src/test/resources/logging.properties
-            </java.util.logging.config.file>
-          </systemPropertyVariables>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.rat</groupId>
-        <artifactId>apache-rat-plugin</artifactId>
-        <configuration>
-          <excludes>
-            <exclude>**/test.json</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>
-
-    <!-- Dependencies to other Oak components -->
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-commons</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-commons</artifactId>
-      <version>${project.version}</version>
-      <type>test-jar</type>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-blob</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <!-- General utility libraries -->
-    <dependency>
-      <groupId>com.google.guava</groupId>
-      <artifactId>guava</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>commons-codec</groupId>
-      <artifactId>commons-codec</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>commons-io</groupId>
-      <artifactId>commons-io</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>io.dropwizard.metrics</groupId>
-      <artifactId>metrics-core</artifactId>
-      <version>3.1.0</version>
-      <optional>true</optional>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>jackrabbit-aws-ext</artifactId>
-      <version>${jackrabbit.version}</version>
-      <optional>true</optional>
-    </dependency>
-
-    <!-- Optional dependencies for different persistence backends -->
-    <dependency>
-      <groupId>org.mongodb</groupId>
-      <artifactId>mongo-java-driver</artifactId>
-      <optional>true</optional>
-    </dependency>
-
-    <!--  Optional dependency for jclouds s3 to enable s3 cloud store -->
-    <dependency>
-      <groupId>org.apache.jclouds.provider</groupId>
-      <artifactId>aws-s3</artifactId>
-      <optional>true</optional>
-    </dependency>
-
-    <!-- Required for the persistent cache -->
-    <dependency>
-      <groupId>com.h2database</groupId>
-      <artifactId>h2</artifactId>
-      <version>${h2.version}</version>
-      <optional>true</optional>
-    </dependency>
-
-    <!-- JCR and Jackrabbit dependencies -->
-    <dependency>
-      <groupId>javax.jcr</groupId>
-      <artifactId>jcr</artifactId>
-      <version>2.0</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>jackrabbit-api</artifactId>
-      <version>${jackrabbit.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>jackrabbit-jcr-commons</artifactId>
-      <version>${jackrabbit.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>jackrabbit-data</artifactId>
-      <version>${jackrabbit.version}</version>
-      <optional>true</optional>
-    </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.hamcrest</groupId>
-      <artifactId>hamcrest-all</artifactId>
-      <version>1.3</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>junit-addons</groupId>
-      <artifactId>junit-addons</artifactId>
-      <version>1.4</version>
-      <scope>test</scope>
-      <exclusions>
-        <exclusion>
-          <groupId>xerces</groupId>
-          <artifactId>xercesImpl</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>xerces</groupId>
-          <artifactId>xmlParserAPIs</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    <dependency>
-      <groupId>org.mockito</groupId>
-      <artifactId>mockito-core</artifactId>
-      <version>1.10.19</version>
-      <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.apache.jackrabbit</groupId>
-      <artifactId>oak-blob</artifactId>
-      <version>${project.version}</version>
-      <classifier>tests</classifier>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>commons-lang</groupId>
-      <artifactId>commons-lang</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.sling</groupId>
-      <artifactId>org.apache.sling.testing.osgi-mock</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.commons</groupId>
-      <artifactId>commons-math3</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.tomcat</groupId>
-      <artifactId>tomcat-jdbc</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>com.googlecode.json-simple</groupId>
-      <artifactId>json-simple</artifactId>
-      <version>1.1.1</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>com.github.fakemongo</groupId>
-      <artifactId>fongo</artifactId>
-      <version>2.2.0-RC1</version>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-</project>
+<?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-core</artifactId>

+  <name>Oak Core</name>

+  <packaging>bundle</packaging>

+

+  <build>

+    <plugins>

+      <plugin>

+        <groupId>org.apache.felix</groupId>

+        <artifactId>maven-bundle-plugin</artifactId>

+        <configuration>

+          <instructions>

+            <Import-Package>

+              com.mongodb*;version="[2.14, 4)";resolution:=optional,

+              *

+            </Import-Package>

+            <Export-Package>

+              org.apache.jackrabbit.oak,

+              org.apache.jackrabbit.oak.api,

+              org.apache.jackrabbit.oak.api.jmx,

+              org.apache.jackrabbit.oak.cache,

+              org.apache.jackrabbit.oak.stats,

+              org.apache.jackrabbit.oak.json,

+              org.apache.jackrabbit.oak.management,

+              org.apache.jackrabbit.oak.util,

+              org.apache.jackrabbit.oak.namepath,

+              org.apache.jackrabbit.oak.osgi,

+              org.apache.jackrabbit.oak.plugins.atomic,

+              org.apache.jackrabbit.oak.plugins.blob,

+              org.apache.jackrabbit.oak.plugins.blob.datastore,

+              org.apache.jackrabbit.oak.plugins.commit,

+              org.apache.jackrabbit.oak.plugins.document.spi,

+              org.apache.jackrabbit.oak.plugins.identifier,

+              org.apache.jackrabbit.oak.plugins.index,

+              org.apache.jackrabbit.oak.plugins.index.fulltext,

+              org.apache.jackrabbit.oak.plugins.index.aggregate,

+              org.apache.jackrabbit.oak.plugins.index.counter,

+              org.apache.jackrabbit.oak.plugins.index.nodetype,

+              org.apache.jackrabbit.oak.plugins.index.property,

+              org.apache.jackrabbit.oak.plugins.index.property.jmx,

+              org.apache.jackrabbit.oak.plugins.index.reference,

+              org.apache.jackrabbit.oak.plugins.itemsave,

+              org.apache.jackrabbit.oak.plugins.lock,

+              org.apache.jackrabbit.oak.plugins.memory,

+              org.apache.jackrabbit.oak.plugins.name,

+              org.apache.jackrabbit.oak.plugins.nodetype,

+              org.apache.jackrabbit.oak.plugins.nodetype.write,

+              org.apache.jackrabbit.oak.plugins.observation,

+              org.apache.jackrabbit.oak.plugins.observation.filter,

+              org.apache.jackrabbit.oak.plugins.tree,

+              org.apache.jackrabbit.oak.plugins.value,

+              org.apache.jackrabbit.oak.plugins.version,

+              org.apache.jackrabbit.oak.spi.commit,

+              org.apache.jackrabbit.oak.spi.gc,

+              org.apache.jackrabbit.oak.spi.lifecycle,

+              org.apache.jackrabbit.oak.spi.mount,

+              org.apache.jackrabbit.oak.spi.query,

+              org.apache.jackrabbit.oak.spi.security,

+              org.apache.jackrabbit.oak.spi.security.authentication,

+              org.apache.jackrabbit.oak.spi.security.authentication.callback,

+              org.apache.jackrabbit.oak.spi.security.authentication.credentials,

+              org.apache.jackrabbit.oak.spi.security.authentication.token,

+              org.apache.jackrabbit.oak.spi.security.authorization,

+              org.apache.jackrabbit.oak.spi.security.authorization.accesscontrol,

+              org.apache.jackrabbit.oak.spi.security.authorization.permission,

+              org.apache.jackrabbit.oak.spi.security.authorization.restriction,

+              org.apache.jackrabbit.oak.spi.security.principal,

+              org.apache.jackrabbit.oak.spi.security.privilege,

+              org.apache.jackrabbit.oak.spi.security.user,

+              org.apache.jackrabbit.oak.spi.security.user.action,

+              org.apache.jackrabbit.oak.spi.security.user.util,

+              org.apache.jackrabbit.oak.spi.state,

+              org.apache.jackrabbit.oak.spi.whiteboard,

+              org.apache.jackrabbit.oak.spi.xml,

+              org.apache.jackrabbit.oak.stats,

+              org.apache.jackrabbit.oak.query,

+              org.apache.jackrabbit.oak.query.fulltext,

+              org.apache.jackrabbit.oak.query.facet,

+              org.apache.jackrabbit.oak.security,

+              org.apache.jackrabbit.oak.util,

+            </Export-Package>

+            <Jaas-ModuleClass>

+              org.apache.jackrabbit.oak.spi.security.authentication.GuestLoginModule,

+              org.apache.jackrabbit.oak.security.authentication.user.LoginModuleImpl,

+              org.apache.jackrabbit.oak.security.authentication.token.TokenLoginModule

+            </Jaas-ModuleClass>

+            <DynamicImport-Package>

+              org.apache.felix.jaas.boot

+            </DynamicImport-Package>

+          </instructions>

+        </configuration>

+      </plugin>

+      <plugin>

+        <groupId>org.apache.felix</groupId>

+        <artifactId>maven-scr-plugin</artifactId>

+      </plugin>

+      <plugin>

+        <artifactId>maven-failsafe-plugin</artifactId>

+        <configuration>

+          <systemPropertyVariables>

+            <java.util.logging.config.file>

+              src/test/resources/logging.properties

+            </java.util.logging.config.file>

+          </systemPropertyVariables>

+        </configuration>

+      </plugin>

+      <plugin>

+        <groupId>org.apache.rat</groupId>

+        <artifactId>apache-rat-plugin</artifactId>

+        <configuration>

+          <excludes>

+            <exclude>**/test.json</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>

+

+    <!-- Dependencies to other Oak components -->

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-commons</artifactId>

+      <version>${project.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-commons</artifactId>

+      <version>${project.version}</version>

+      <type>test-jar</type>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-blob</artifactId>

+      <version>${project.version}</version>

+    </dependency>

+    <!-- General utility libraries -->

+    <dependency>

+      <groupId>com.google.guava</groupId>

+      <artifactId>guava</artifactId>

+    </dependency>

+    <dependency>

+      <groupId>commons-codec</groupId>

+      <artifactId>commons-codec</artifactId>

+    </dependency>

+    <dependency>

+      <groupId>commons-io</groupId>

+      <artifactId>commons-io</artifactId>

+    </dependency>

+    <dependency>

+      <groupId>io.dropwizard.metrics</groupId>

+      <artifactId>metrics-core</artifactId>

+      <version>3.1.0</version>

+      <optional>true</optional>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>jackrabbit-aws-ext</artifactId>

+      <version>${jackrabbit.version}</version>

+      <optional>true</optional>

+    </dependency>

+

+    <!-- Optional dependencies for different persistence backends -->

+    <dependency>

+      <groupId>org.mongodb</groupId>

+      <artifactId>mongo-java-driver</artifactId>

+      <optional>true</optional>

+    </dependency>

+

+    <!--  Optional dependency for jclouds s3 to enable s3 cloud store -->

+    <dependency>

+      <groupId>org.apache.jclouds.provider</groupId>

+      <artifactId>aws-s3</artifactId>

+      <optional>true</optional>

+    </dependency>

+

+    <!-- Required for the persistent cache -->

+    <dependency>

+      <groupId>com.h2database</groupId>

+      <artifactId>h2</artifactId>

+      <version>${h2.version}</version>

+      <optional>true</optional>

+    </dependency>

+

+    <!-- JCR and Jackrabbit dependencies -->

+    <dependency>

+      <groupId>javax.jcr</groupId>

+      <artifactId>jcr</artifactId>

+      <version>2.0</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>jackrabbit-api</artifactId>

+      <version>${jackrabbit.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>jackrabbit-jcr-commons</artifactId>

+      <version>${jackrabbit.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>jackrabbit-data</artifactId>

+      <version>${jackrabbit.version}</version>

+      <optional>true</optional>

+    </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.hamcrest</groupId>

+      <artifactId>hamcrest-all</artifactId>

+      <version>1.3</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>junit</groupId>

+      <artifactId>junit</artifactId>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>junit-addons</groupId>

+      <artifactId>junit-addons</artifactId>

+      <version>1.4</version>

+      <scope>test</scope>

+      <exclusions>

+        <exclusion>

+          <groupId>xerces</groupId>

+          <artifactId>xercesImpl</artifactId>

+        </exclusion>

+        <exclusion>

+          <groupId>xerces</groupId>

+          <artifactId>xmlParserAPIs</artifactId>

+        </exclusion>

+      </exclusions>

+    </dependency>

+    <dependency>

+      <groupId>org.mockito</groupId>

+      <artifactId>mockito-core</artifactId>

+      <version>1.10.19</version>

+      <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.apache.jackrabbit</groupId>

+      <artifactId>oak-blob</artifactId>

+      <version>${project.version}</version>

+      <classifier>tests</classifier>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>commons-lang</groupId>

+      <artifactId>commons-lang</artifactId>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.sling</groupId>

+      <artifactId>org.apache.sling.testing.osgi-mock</artifactId>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.commons</groupId>

+      <artifactId>commons-math3</artifactId>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.tomcat</groupId>

+      <artifactId>tomcat-jdbc</artifactId>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>com.googlecode.json-simple</groupId>

+      <artifactId>json-simple</artifactId>

+      <version>1.1.1</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>com.github.fakemongo</groupId>

+      <artifactId>fongo</artifactId>

+      <version>2.2.0-RC1</version>

+      <scope>test</scope>

+    </dependency>

+  </dependencies>

+</project>

diff --git a/oak-examples/pom.xml b/oak-examples/pom.xml
index acabb76..49281f5 100644
--- a/oak-examples/pom.xml
+++ b/oak-examples/pom.xml
@@ -1,45 +1,45 @@
-<?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-SNAPSHOT</version>
-    <relativePath>../oak-parent/pom.xml</relativePath>
-  </parent>
-
-  <artifactId>oak-examples</artifactId>
-  <name>Oak Examples</name>
-  <packaging>pom</packaging>
-
-  <properties>
-    <skip.deployment>true</skip.deployment>
-  </properties>
-
-  <modules>
-    <module>webapp</module>
-    <module>standalone</module>
-  </modules>
-
-</project>
+<?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-examples</artifactId>

+  <name>Oak Examples</name>

+  <packaging>pom</packaging>

+

+  <properties>

+    <skip.deployment>true</skip.deployment>

+  </properties>

+

+  <modules>

+    <module>webapp</module>

+    <module>standalone</module>

+  </modules>

+

+</project>

diff --git a/oak-examples/standalone/pom.xml b/oak-examples/standalone/pom.xml
index 863c337..2333006 100644
--- a/oak-examples/standalone/pom.xml
+++ b/oak-examples/standalone/pom.xml
@@ -1,353 +1,353 @@
-<?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>oak-parent</artifactId>
-    <version>1.6.22-SNAPSHOT</version>
-    <relativePath>../../oak-parent/pom.xml</relativePath>
-  </parent>
-  <artifactId>oak-standalone</artifactId>
-
-  <name>Oak Standalone Example</name>
-  <description>Standalone application based on Spring Boot then embeds a Jackrabbit Oak content repository</description>
-
-  <properties>
-    <skip.deployment>true</skip.deployment>
-    <spring.boot.version>1.3.8.RELEASE</spring.boot.version>
-  </properties>
-
-  <dependencyManagement>
-    <dependencies>
-      <dependency>
-        <groupId>org.springframework.boot</groupId>
-        <artifactId>spring-boot-dependencies</artifactId>
-        <version>${spring.boot.version}</version>
-        <type>pom</type>
-        <scope>import</scope>
-      </dependency>
-    </dependencies>
-  </dependencyManagement>
-
-  <dependencies>
-    <dependency>
-      <groupId>org.springframework.boot</groupId>
-      <artifactId>spring-boot-starter-web</artifactId>
-      <exclusions>
-        <exclusion>
-          <groupId>org.springframework.boot</groupId>
-          <artifactId>spring-boot-starter-tomcat</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    <dependency>
-      <groupId>org.springframework.boot</groupId>
-      <artifactId>spring-boot-starter-jetty</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.springframework.boot</groupId>
-      <artifactId>spring-boot-actuator</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.springframework.boot</groupId>
-      <artifactId>spring-boot-starter-test</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.springframework.boot</groupId>
-      <artifactId>spring-boot-devtools</artifactId>
-      <optional>true</optional>
-    </dependency>
-
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.scr.annotations</artifactId>
-      <scope>provided</scope>
-    </dependency>
-
-    <!-- For colored console logging -->
-    <dependency>
-      <groupId>org.fusesource.jansi</groupId>
-      <artifactId>jansi</artifactId>
-      <version>1.11</version>
-      <optional>true</optional>
-    </dependency>
-    <dependency>
-      <groupId>io.dropwizard.metrics</groupId>
-      <artifactId>metrics-core</artifactId>
-      <optional>true</optional>
-    </dependency>
-    <dependency>
-      <groupId>org.mongodb</groupId>
-      <artifactId>mongo-java-driver</artifactId>
-      <version>${mongo.driver.version}</version>
-      <optional>true</optional>
-    </dependency>
-    <!-- Required for the persistent cache -->
-    <dependency>
-      <groupId>com.h2database</groupId>
-      <artifactId>h2</artifactId>
-      <version>${h2.version}</version>
-      <optional>true</optional>
-    </dependency>
-
-    <dependency>
-      <groupId>javax.jcr</groupId>
-      <artifactId>jcr</artifactId>
-      <version>2.0</version>
-    </dependency>
-    <dependency>
-      <groupId>commons-io</groupId>
-      <artifactId>commons-io</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.tika</groupId>
-      <artifactId>tika-parsers</artifactId>
-      <version>${tika.version}</version>
-      <exclusions>
-        <exclusion>
-          <groupId>commons-logging</groupId>
-          <artifactId>commons-logging</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>org.apache.httpcomponents</groupId>
-          <artifactId>httpcore</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>jackrabbit-jcr-server</artifactId>
-      <version>${jackrabbit.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>jackrabbit-jcr-servlet</artifactId>
-      <version>${jackrabbit.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>jackrabbit-jcr-rmi</artifactId>
-      <version>${jackrabbit.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-jcr</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-pojosr</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-lucene</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>com.googlecode.json-simple</groupId>
-      <artifactId>json-simple</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>ch.qos.logback</groupId>
-      <artifactId>logback-classic</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>ch.qos.logback</groupId>
-      <artifactId>logback-core</artifactId>
-    </dependency>
-
-    <!-- Required for Felix WebConsole -->
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.http.proxy</artifactId>
-      <version>2.3.2</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.http.bridge</artifactId>
-      <version>2.3.2</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.webconsole</artifactId>
-      <version>4.2.10</version>
-      <classifier>all</classifier>
-    </dependency>
-
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.webconsole.plugins.scriptconsole</artifactId>
-      <version>1.0.2</version>
-    </dependency>
-    <dependency>
-      <groupId>org.codehaus.groovy</groupId>
-      <artifactId>groovy-all</artifactId>
-    </dependency>
-
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <scope>test</scope>
-    </dependency>
-
-
-    <!--
-    Lucene jars are embedded in oak-lucene but IDE does not recognize them
-    being in classpath. So they need to be explicitly mentioned here
-    -->
-    <dependency>
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-core</artifactId>
-      <version>${lucene.version}</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-analyzers-common</artifactId>
-      <version>${lucene.version}</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-queryparser</artifactId>
-      <version>${lucene.version}</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-queries</artifactId>
-      <version>${lucene.version}</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-suggest</artifactId>
-      <version>${lucene.version}</version>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.springframework.boot</groupId>
-        <artifactId>spring-boot-maven-plugin</artifactId>
-        <version>${spring.boot.version}</version>
-        <configuration>
-          <!-- see https://stackoverflow.com/questions/42082131/maven-surefire-verify-java-lang-classnotfoundexception -->
-          <classifier>exec</classifier>
-        </configuration>
-        <executions>
-          <execution>
-            <goals>
-              <goal>repackage</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.rat</groupId>
-        <artifactId>apache-rat-plugin</artifactId>
-        <configuration>
-          <excludes>
-            <exclude>src/main/webapp/WEB-INF/log4j.dtd</exclude>
-            <exclude>src/main/webapp/WEB-INF/templates/repository-config.json</exclude>
-            <exclude>src/main/resources/config-templates/mongomk-config.json</exclude>
-            <exclude>src/main/resources/config-templates/repository-config.json</exclude>
-            <exclude>src/main/resources/config-templates/segmentmk-config.json</exclude>
-            <exclude>*.sh</exclude>
-          </excludes>
-        </configuration>
-      </plugin>
-      <plugin>
-        <artifactId>maven-clean-plugin</artifactId>
-        <configuration>
-          <filesets>
-            <fileset>
-              <directory>oak</directory>
-            </fileset>
-          </filesets>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-failsafe-plugin</artifactId>
-        <configuration>
-          <systemPropertyVariables>
-            <java.util.logging.config.file>
-              src/test/resources/logging.properties
-            </java.util.logging.config.file>
-          </systemPropertyVariables>
-        </configuration>
-        <executions>
-          <execution>
-            <id>failsafe-integration-tests</id>
-            <phase>integration-test</phase>
-            <goals>
-              <goal>integration-test</goal>
-            </goals>
-          </execution>
-          <execution>
-            <id>failsafe-verify</id>
-            <phase>verify</phase>
-            <goals>
-              <goal>verify</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-
-  <profiles>
-  <profile>
-    <id>disable-test-jdk6</id>
-    <activation>
-      <jdk>1.6</jdk>
-    </activation>
-    <build>
-      <plugins>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-failsafe-plugin</artifactId>
-          <configuration>
-            <skipTests>true</skipTests>
-          </configuration>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-surefire-plugin</artifactId>
-          <configuration>
-            <skipTests>true</skipTests>
-          </configuration>
-        </plugin>
-      </plugins>
-    </build>
-  </profile>
-  </profiles>
-
-</project>
+<?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>oak-parent</artifactId>

+    <version>1.6.22</version>

+    <relativePath>../../oak-parent/pom.xml</relativePath>

+  </parent>

+  <artifactId>oak-standalone</artifactId>

+

+  <name>Oak Standalone Example</name>

+  <description>Standalone application based on Spring Boot then embeds a Jackrabbit Oak content repository</description>

+

+  <properties>

+    <skip.deployment>true</skip.deployment>

+    <spring.boot.version>1.3.8.RELEASE</spring.boot.version>

+  </properties>

+

+  <dependencyManagement>

+    <dependencies>

+      <dependency>

+        <groupId>org.springframework.boot</groupId>

+        <artifactId>spring-boot-dependencies</artifactId>

+        <version>${spring.boot.version}</version>

+        <type>pom</type>

+        <scope>import</scope>

+      </dependency>

+    </dependencies>

+  </dependencyManagement>

+

+  <dependencies>

+    <dependency>

+      <groupId>org.springframework.boot</groupId>

+      <artifactId>spring-boot-starter-web</artifactId>

+      <exclusions>

+        <exclusion>

+          <groupId>org.springframework.boot</groupId>

+          <artifactId>spring-boot-starter-tomcat</artifactId>

+        </exclusion>

+      </exclusions>

+    </dependency>

+    <dependency>

+      <groupId>org.springframework.boot</groupId>

+      <artifactId>spring-boot-starter-jetty</artifactId>

+    </dependency>

+    <dependency>

+      <groupId>org.springframework.boot</groupId>

+      <artifactId>spring-boot-actuator</artifactId>

+    </dependency>

+    <dependency>

+      <groupId>org.springframework.boot</groupId>

+      <artifactId>spring-boot-starter-test</artifactId>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.springframework.boot</groupId>

+      <artifactId>spring-boot-devtools</artifactId>

+      <optional>true</optional>

+    </dependency>

+

+    <dependency>

+      <groupId>org.apache.felix</groupId>

+      <artifactId>org.apache.felix.scr.annotations</artifactId>

+      <scope>provided</scope>

+    </dependency>

+

+    <!-- For colored console logging -->

+    <dependency>

+      <groupId>org.fusesource.jansi</groupId>

+      <artifactId>jansi</artifactId>

+      <version>1.11</version>

+      <optional>true</optional>

+    </dependency>

+    <dependency>

+      <groupId>io.dropwizard.metrics</groupId>

+      <artifactId>metrics-core</artifactId>

+      <optional>true</optional>

+    </dependency>

+    <dependency>

+      <groupId>org.mongodb</groupId>

+      <artifactId>mongo-java-driver</artifactId>

+      <version>${mongo.driver.version}</version>

+      <optional>true</optional>

+    </dependency>

+    <!-- Required for the persistent cache -->

+    <dependency>

+      <groupId>com.h2database</groupId>

+      <artifactId>h2</artifactId>

+      <version>${h2.version}</version>

+      <optional>true</optional>

+    </dependency>

+

+    <dependency>

+      <groupId>javax.jcr</groupId>

+      <artifactId>jcr</artifactId>

+      <version>2.0</version>

+    </dependency>

+    <dependency>

+      <groupId>commons-io</groupId>

+      <artifactId>commons-io</artifactId>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.tika</groupId>

+      <artifactId>tika-parsers</artifactId>

+      <version>${tika.version}</version>

+      <exclusions>

+        <exclusion>

+          <groupId>commons-logging</groupId>

+          <artifactId>commons-logging</artifactId>

+        </exclusion>

+        <exclusion>

+          <groupId>org.apache.httpcomponents</groupId>

+          <artifactId>httpcore</artifactId>

+        </exclusion>

+      </exclusions>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>jackrabbit-jcr-server</artifactId>

+      <version>${jackrabbit.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>jackrabbit-jcr-servlet</artifactId>

+      <version>${jackrabbit.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>jackrabbit-jcr-rmi</artifactId>

+      <version>${jackrabbit.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-jcr</artifactId>

+      <version>${project.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-pojosr</artifactId>

+      <version>${project.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-lucene</artifactId>

+      <version>${project.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>com.googlecode.json-simple</groupId>

+      <artifactId>json-simple</artifactId>

+    </dependency>

+    <dependency>

+      <groupId>ch.qos.logback</groupId>

+      <artifactId>logback-classic</artifactId>

+    </dependency>

+    <dependency>

+      <groupId>ch.qos.logback</groupId>

+      <artifactId>logback-core</artifactId>

+    </dependency>

+

+    <!-- Required for Felix WebConsole -->

+    <dependency>

+      <groupId>org.apache.felix</groupId>

+      <artifactId>org.apache.felix.http.proxy</artifactId>

+      <version>2.3.2</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.felix</groupId>

+      <artifactId>org.apache.felix.http.bridge</artifactId>

+      <version>2.3.2</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.felix</groupId>

+      <artifactId>org.apache.felix.webconsole</artifactId>

+      <version>4.2.10</version>

+      <classifier>all</classifier>

+    </dependency>

+

+    <dependency>

+      <groupId>org.apache.felix</groupId>

+      <artifactId>org.apache.felix.webconsole.plugins.scriptconsole</artifactId>

+      <version>1.0.2</version>

+    </dependency>

+    <dependency>

+      <groupId>org.codehaus.groovy</groupId>

+      <artifactId>groovy-all</artifactId>

+    </dependency>

+

+    <dependency>

+      <groupId>junit</groupId>

+      <artifactId>junit</artifactId>

+      <scope>test</scope>

+    </dependency>

+

+

+    <!--

+    Lucene jars are embedded in oak-lucene but IDE does not recognize them

+    being in classpath. So they need to be explicitly mentioned here

+    -->

+    <dependency>

+      <groupId>org.apache.lucene</groupId>

+      <artifactId>lucene-core</artifactId>

+      <version>${lucene.version}</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.lucene</groupId>

+      <artifactId>lucene-analyzers-common</artifactId>

+      <version>${lucene.version}</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.lucene</groupId>

+      <artifactId>lucene-queryparser</artifactId>

+      <version>${lucene.version}</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.lucene</groupId>

+      <artifactId>lucene-queries</artifactId>

+      <version>${lucene.version}</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.lucene</groupId>

+      <artifactId>lucene-suggest</artifactId>

+      <version>${lucene.version}</version>

+      <scope>test</scope>

+    </dependency>

+  </dependencies>

+

+  <build>

+    <plugins>

+      <plugin>

+        <groupId>org.springframework.boot</groupId>

+        <artifactId>spring-boot-maven-plugin</artifactId>

+        <version>${spring.boot.version}</version>

+        <configuration>

+          <!-- see https://stackoverflow.com/questions/42082131/maven-surefire-verify-java-lang-classnotfoundexception -->

+          <classifier>exec</classifier>

+        </configuration>

+        <executions>

+          <execution>

+            <goals>

+              <goal>repackage</goal>

+            </goals>

+          </execution>

+        </executions>

+      </plugin>

+      <plugin>

+        <groupId>org.apache.rat</groupId>

+        <artifactId>apache-rat-plugin</artifactId>

+        <configuration>

+          <excludes>

+            <exclude>src/main/webapp/WEB-INF/log4j.dtd</exclude>

+            <exclude>src/main/webapp/WEB-INF/templates/repository-config.json</exclude>

+            <exclude>src/main/resources/config-templates/mongomk-config.json</exclude>

+            <exclude>src/main/resources/config-templates/repository-config.json</exclude>

+            <exclude>src/main/resources/config-templates/segmentmk-config.json</exclude>

+            <exclude>*.sh</exclude>

+          </excludes>

+        </configuration>

+      </plugin>

+      <plugin>

+        <artifactId>maven-clean-plugin</artifactId>

+        <configuration>

+          <filesets>

+            <fileset>

+              <directory>oak</directory>

+            </fileset>

+          </filesets>

+        </configuration>

+      </plugin>

+      <plugin>

+        <groupId>org.apache.maven.plugins</groupId>

+        <artifactId>maven-failsafe-plugin</artifactId>

+        <configuration>

+          <systemPropertyVariables>

+            <java.util.logging.config.file>

+              src/test/resources/logging.properties

+            </java.util.logging.config.file>

+          </systemPropertyVariables>

+        </configuration>

+        <executions>

+          <execution>

+            <id>failsafe-integration-tests</id>

+            <phase>integration-test</phase>

+            <goals>

+              <goal>integration-test</goal>

+            </goals>

+          </execution>

+          <execution>

+            <id>failsafe-verify</id>

+            <phase>verify</phase>

+            <goals>

+              <goal>verify</goal>

+            </goals>

+          </execution>

+        </executions>

+      </plugin>

+    </plugins>

+  </build>

+

+  <profiles>

+  <profile>

+    <id>disable-test-jdk6</id>

+    <activation>

+      <jdk>1.6</jdk>

+    </activation>

+    <build>

+      <plugins>

+        <plugin>

+          <groupId>org.apache.maven.plugins</groupId>

+          <artifactId>maven-failsafe-plugin</artifactId>

+          <configuration>

+            <skipTests>true</skipTests>

+          </configuration>

+        </plugin>

+        <plugin>

+          <groupId>org.apache.maven.plugins</groupId>

+          <artifactId>maven-surefire-plugin</artifactId>

+          <configuration>

+            <skipTests>true</skipTests>

+          </configuration>

+        </plugin>

+      </plugins>

+    </build>

+  </profile>

+  </profiles>

+

+</project>

diff --git a/oak-examples/webapp/pom.xml b/oak-examples/webapp/pom.xml
index 414731d..ba2d6be 100644
--- a/oak-examples/webapp/pom.xml
+++ b/oak-examples/webapp/pom.xml
@@ -1,326 +1,326 @@
-<?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>oak-parent</artifactId>
-    <version>1.6.22-SNAPSHOT</version>
-    <relativePath>../../oak-parent/pom.xml</relativePath>
-  </parent>
-  <artifactId>oak-webapp</artifactId>
-  <packaging>war</packaging>
-  <name>Oak Web Application Example</name>
-  <description>Web application that hosts and serves a Jackrabbit Oak content repository</description>
-
-  <properties>
-    <tomcat.version>7.0.40</tomcat.version>
-    <skip.deployment>true</skip.deployment>
-  </properties>
-
-  <dependencies>
-    <dependency>
-      <groupId>javax.jcr</groupId>
-      <artifactId>jcr</artifactId>
-      <version>2.0</version>
-    </dependency>
-    <dependency>
-      <groupId>commons-io</groupId>
-      <artifactId>commons-io</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.tika</groupId>
-      <artifactId>tika-parsers</artifactId>
-      <version>${tika.version}</version>
-      <exclusions>
-        <exclusion>
-          <groupId>commons-logging</groupId>
-          <artifactId>commons-logging</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>org.apache.httpcomponents</groupId>
-          <artifactId>httpcore</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    <dependency>
-      <groupId>org.slf4j</groupId>
-      <artifactId>jcl-over-slf4j</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>jackrabbit-jcr-server</artifactId>
-      <version>${jackrabbit.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>jackrabbit-jcr-servlet</artifactId>
-      <version>${jackrabbit.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>jackrabbit-jcr-rmi</artifactId>
-      <version>${jackrabbit.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-jcr</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-pojosr</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-lucene</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>ch.qos.logback</groupId>
-      <artifactId>logback-classic</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.tomcat</groupId>
-      <artifactId>tomcat-servlet-api</artifactId>
-      <version>${tomcat.version}</version>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>com.googlecode.json-simple</groupId>
-      <artifactId>json-simple</artifactId>
-      <version>1.1</version>
-    </dependency>
-
-    <!-- Required for Felix WebConsole -->
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.http.proxy</artifactId>
-      <version>2.3.2</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.http.bridge</artifactId>
-      <version>2.3.2</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.webconsole</artifactId>
-      <version>4.2.10</version>
-      <classifier>all</classifier>
-    </dependency>
-
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.webconsole.plugins.scriptconsole</artifactId>
-      <version>1.0.2</version>
-    </dependency>
-    <dependency>
-      <groupId>org.codehaus.groovy</groupId>
-      <artifactId>groovy</artifactId>
-      <version>2.5.2</version>
-    </dependency>
-
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.tomcat</groupId>
-      <artifactId>tomcat-catalina</artifactId>
-      <version>${tomcat.version}</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.tomcat</groupId>
-      <artifactId>tomcat-coyote</artifactId>
-      <version>${tomcat.version}</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.tomcat</groupId>
-      <artifactId>tomcat-jasper</artifactId>
-      <version>${tomcat.version}</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>xml-apis</groupId>
-      <artifactId>xml-apis</artifactId>
-      <version>1.4.01</version>
-    </dependency>
-    <dependency>
-      <groupId>net.sourceforge.htmlunit</groupId>
-      <artifactId>htmlunit</artifactId>
-      <version>2.24</version>
-      <scope>test</scope>
-      <exclusions>
-        <exclusion>
-          <groupId>commons-logging</groupId>
-          <artifactId>commons-logging</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.httpcomponents</groupId>
-      <artifactId>httpclient</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.slf4j</groupId>
-      <artifactId>jul-to-slf4j</artifactId>
-      <version>${slf4j.version}</version>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-
-  <build>
-    <plugins>
-      <plugin>
-         <groupId>org.eclipse.jetty</groupId>
-         <artifactId>jetty-maven-plugin</artifactId>
-         <version>9.4.11.v20180605</version>
-         <configuration>
-           <scanIntervalSeconds>0</scanIntervalSeconds>
-           <connectors>
-             <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
-               <port>8080</port>
-               <maxIdleTime>60000</maxIdleTime>
-             </connector>
-           </connectors>
-           <webApp>
-             <!-- no need to scan anything as we're using servlet 2.5 and moreover, we're not using ServletContainerInitializer(s) -->
-             <!-- for more relevant information regarding scanning of classes refer to https://java.net/jira/browse/SERVLET_SPEC-36 -->
-             <webInfIncludeJarPattern>^$</webInfIncludeJarPattern>
-             <containerIncludeJarPattern>^$</containerIncludeJarPattern>
-           </webApp>
-         </configuration>
-      </plugin>
-      <plugin>
-        <!-- create a jar in addition to our war, to make our servlets reusable -->
-        <artifactId>maven-antrun-plugin</artifactId>
-        <executions>
-          <execution>
-            <phase>package</phase>
-            <configuration>
-              <target>
-                <jar basedir="${project.build.outputDirectory}" destfile="${project.build.directory}/oak-webapp-${project.version}.jar" />
-              </target>
-            </configuration>
-            <goals>
-              <goal>run</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <!-- add the jar created by maven-antrun-plugin in our artifacts -->
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>build-helper-maven-plugin</artifactId>
-        <version>3.0.0</version>
-        <executions>
-          <execution>
-            <id>attach-artifacts</id>
-            <phase>package</phase>
-            <goals>
-              <goal>attach-artifact</goal>
-            </goals>
-            <configuration>
-                <artifacts>
-                  <artifact>
-                    <file>${project.build.directory}/oak-webapp-${project.version}.jar</file>
-                    <type>jar</type>
-                  </artifact>
-                </artifacts>
-            </configuration>
-          </execution>
-          <execution>
-            <id>reserve-network-port</id>
-            <goals>
-              <goal>reserve-network-port</goal>
-            </goals>
-            <phase>process-resources</phase>
-            <configuration>
-              <portNames>
-                <portName>tomcat.http.port</portName>
-              </portNames>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.rat</groupId>
-        <artifactId>apache-rat-plugin</artifactId>
-        <configuration>
-          <excludes>
-            <exclude>src/main/webapp/WEB-INF/log4j.dtd</exclude>
-            <exclude>src/main/webapp/WEB-INF/templates/repository-config.json</exclude>
-            <exclude>*.sh</exclude>
-          </excludes>
-        </configuration>
-      </plugin>
-      <plugin>
-        <artifactId>maven-clean-plugin</artifactId>
-        <version>3.0.0</version>
-        <configuration>
-          <filesets>
-            <fileset>
-              <directory>oak</directory>
-            </fileset>
-          </filesets>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-failsafe-plugin</artifactId>
-        <configuration>
-          <systemPropertyVariables>
-            <java.util.logging.config.file>
-              src/test/resources/logging.properties
-            </java.util.logging.config.file>
-            <tomcat.http.port>${tomcat.http.port}</tomcat.http.port>
-          </systemPropertyVariables>
-        </configuration>
-        <executions>
-          <execution>
-            <id>failsafe-integration-tests</id>
-            <phase>integration-test</phase>
-            <goals>
-              <goal>integration-test</goal>
-            </goals>
-          </execution>
-          <execution>
-            <id>failsafe-verify</id>
-            <phase>verify</phase>
-            <goals>
-              <goal>verify</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-
-</project>
+<?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>oak-parent</artifactId>

+    <version>1.6.22</version>

+    <relativePath>../../oak-parent/pom.xml</relativePath>

+  </parent>

+  <artifactId>oak-webapp</artifactId>

+  <packaging>war</packaging>

+  <name>Oak Web Application Example</name>

+  <description>Web application that hosts and serves a Jackrabbit Oak content repository</description>

+

+  <properties>

+    <tomcat.version>7.0.40</tomcat.version>

+    <skip.deployment>true</skip.deployment>

+  </properties>

+

+  <dependencies>

+    <dependency>

+      <groupId>javax.jcr</groupId>

+      <artifactId>jcr</artifactId>

+      <version>2.0</version>

+    </dependency>

+    <dependency>

+      <groupId>commons-io</groupId>

+      <artifactId>commons-io</artifactId>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.tika</groupId>

+      <artifactId>tika-parsers</artifactId>

+      <version>${tika.version}</version>

+      <exclusions>

+        <exclusion>

+          <groupId>commons-logging</groupId>

+          <artifactId>commons-logging</artifactId>

+        </exclusion>

+        <exclusion>

+          <groupId>org.apache.httpcomponents</groupId>

+          <artifactId>httpcore</artifactId>

+        </exclusion>

+      </exclusions>

+    </dependency>

+    <dependency>

+      <groupId>org.slf4j</groupId>

+      <artifactId>jcl-over-slf4j</artifactId>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>jackrabbit-jcr-server</artifactId>

+      <version>${jackrabbit.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>jackrabbit-jcr-servlet</artifactId>

+      <version>${jackrabbit.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>jackrabbit-jcr-rmi</artifactId>

+      <version>${jackrabbit.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-jcr</artifactId>

+      <version>${project.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-pojosr</artifactId>

+      <version>${project.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-lucene</artifactId>

+      <version>${project.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>ch.qos.logback</groupId>

+      <artifactId>logback-classic</artifactId>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.tomcat</groupId>

+      <artifactId>tomcat-servlet-api</artifactId>

+      <version>${tomcat.version}</version>

+      <scope>provided</scope>

+    </dependency>

+    <dependency>

+      <groupId>com.googlecode.json-simple</groupId>

+      <artifactId>json-simple</artifactId>

+      <version>1.1</version>

+    </dependency>

+

+    <!-- Required for Felix WebConsole -->

+    <dependency>

+      <groupId>org.apache.felix</groupId>

+      <artifactId>org.apache.felix.http.proxy</artifactId>

+      <version>2.3.2</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.felix</groupId>

+      <artifactId>org.apache.felix.http.bridge</artifactId>

+      <version>2.3.2</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.felix</groupId>

+      <artifactId>org.apache.felix.webconsole</artifactId>

+      <version>4.2.10</version>

+      <classifier>all</classifier>

+    </dependency>

+

+    <dependency>

+      <groupId>org.apache.felix</groupId>

+      <artifactId>org.apache.felix.webconsole.plugins.scriptconsole</artifactId>

+      <version>1.0.2</version>

+    </dependency>

+    <dependency>

+      <groupId>org.codehaus.groovy</groupId>

+      <artifactId>groovy</artifactId>

+      <version>2.5.2</version>

+    </dependency>

+

+    <dependency>

+      <groupId>junit</groupId>

+      <artifactId>junit</artifactId>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.tomcat</groupId>

+      <artifactId>tomcat-catalina</artifactId>

+      <version>${tomcat.version}</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.tomcat</groupId>

+      <artifactId>tomcat-coyote</artifactId>

+      <version>${tomcat.version}</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.tomcat</groupId>

+      <artifactId>tomcat-jasper</artifactId>

+      <version>${tomcat.version}</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>xml-apis</groupId>

+      <artifactId>xml-apis</artifactId>

+      <version>1.4.01</version>

+    </dependency>

+    <dependency>

+      <groupId>net.sourceforge.htmlunit</groupId>

+      <artifactId>htmlunit</artifactId>

+      <version>2.24</version>

+      <scope>test</scope>

+      <exclusions>

+        <exclusion>

+          <groupId>commons-logging</groupId>

+          <artifactId>commons-logging</artifactId>

+        </exclusion>

+      </exclusions>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.httpcomponents</groupId>

+      <artifactId>httpclient</artifactId>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.slf4j</groupId>

+      <artifactId>jul-to-slf4j</artifactId>

+      <version>${slf4j.version}</version>

+      <scope>test</scope>

+    </dependency>

+  </dependencies>

+

+  <build>

+    <plugins>

+      <plugin>

+         <groupId>org.eclipse.jetty</groupId>

+         <artifactId>jetty-maven-plugin</artifactId>

+         <version>9.4.11.v20180605</version>

+         <configuration>

+           <scanIntervalSeconds>0</scanIntervalSeconds>

+           <connectors>

+             <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">

+               <port>8080</port>

+               <maxIdleTime>60000</maxIdleTime>

+             </connector>

+           </connectors>

+           <webApp>

+             <!-- no need to scan anything as we're using servlet 2.5 and moreover, we're not using ServletContainerInitializer(s) -->

+             <!-- for more relevant information regarding scanning of classes refer to https://java.net/jira/browse/SERVLET_SPEC-36 -->

+             <webInfIncludeJarPattern>^$</webInfIncludeJarPattern>

+             <containerIncludeJarPattern>^$</containerIncludeJarPattern>

+           </webApp>

+         </configuration>

+      </plugin>

+      <plugin>

+        <!-- create a jar in addition to our war, to make our servlets reusable -->

+        <artifactId>maven-antrun-plugin</artifactId>

+        <executions>

+          <execution>

+            <phase>package</phase>

+            <configuration>

+              <target>

+                <jar basedir="${project.build.outputDirectory}" destfile="${project.build.directory}/oak-webapp-${project.version}.jar" />

+              </target>

+            </configuration>

+            <goals>

+              <goal>run</goal>

+            </goals>

+          </execution>

+        </executions>

+      </plugin>

+      <plugin>

+        <!-- add the jar created by maven-antrun-plugin in our artifacts -->

+        <groupId>org.codehaus.mojo</groupId>

+        <artifactId>build-helper-maven-plugin</artifactId>

+        <version>3.0.0</version>

+        <executions>

+          <execution>

+            <id>attach-artifacts</id>

+            <phase>package</phase>

+            <goals>

+              <goal>attach-artifact</goal>

+            </goals>

+            <configuration>

+                <artifacts>

+                  <artifact>

+                    <file>${project.build.directory}/oak-webapp-${project.version}.jar</file>

+                    <type>jar</type>

+                  </artifact>

+                </artifacts>

+            </configuration>

+          </execution>

+          <execution>

+            <id>reserve-network-port</id>

+            <goals>

+              <goal>reserve-network-port</goal>

+            </goals>

+            <phase>process-resources</phase>

+            <configuration>

+              <portNames>

+                <portName>tomcat.http.port</portName>

+              </portNames>

+            </configuration>

+          </execution>

+        </executions>

+      </plugin>

+      <plugin>

+        <groupId>org.apache.rat</groupId>

+        <artifactId>apache-rat-plugin</artifactId>

+        <configuration>

+          <excludes>

+            <exclude>src/main/webapp/WEB-INF/log4j.dtd</exclude>

+            <exclude>src/main/webapp/WEB-INF/templates/repository-config.json</exclude>

+            <exclude>*.sh</exclude>

+          </excludes>

+        </configuration>

+      </plugin>

+      <plugin>

+        <artifactId>maven-clean-plugin</artifactId>

+        <version>3.0.0</version>

+        <configuration>

+          <filesets>

+            <fileset>

+              <directory>oak</directory>

+            </fileset>

+          </filesets>

+        </configuration>

+      </plugin>

+      <plugin>

+        <groupId>org.apache.maven.plugins</groupId>

+        <artifactId>maven-failsafe-plugin</artifactId>

+        <configuration>

+          <systemPropertyVariables>

+            <java.util.logging.config.file>

+              src/test/resources/logging.properties

+            </java.util.logging.config.file>

+            <tomcat.http.port>${tomcat.http.port}</tomcat.http.port>

+          </systemPropertyVariables>

+        </configuration>

+        <executions>

+          <execution>

+            <id>failsafe-integration-tests</id>

+            <phase>integration-test</phase>

+            <goals>

+              <goal>integration-test</goal>

+            </goals>

+          </execution>

+          <execution>

+            <id>failsafe-verify</id>

+            <phase>verify</phase>

+            <goals>

+              <goal>verify</goal>

+            </goals>

+          </execution>

+        </executions>

+      </plugin>

+    </plugins>

+  </build>

+

+</project>

diff --git a/oak-exercise/pom.xml b/oak-exercise/pom.xml
index c9ca930..84d15c9 100644
--- a/oak-exercise/pom.xml
+++ b/oak-exercise/pom.xml
@@ -1,264 +1,264 @@
-<?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-SNAPSHOT</version>
-    <relativePath>../oak-parent/pom.xml</relativePath>
-  </parent>
-
-  <artifactId>oak-exercise</artifactId>
-  <name>Oak Exercises</name>
-  <packaging>bundle</packaging>
-
-  <properties>
-    <skip.deployment>false</skip.deployment>
-  </properties>
-
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <configuration>
-          <skip>true</skip>
-        </configuration>
-      </plugin>
-      <plugin>
-        <artifactId>maven-failsafe-plugin</artifactId>
-        <configuration>
-          <systemPropertyVariables>
-            <java.util.logging.config.file>
-              src/test/resources/logging.properties
-            </java.util.logging.config.file>
-          </systemPropertyVariables>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.felix</groupId>
-        <artifactId>maven-bundle-plugin</artifactId>
-        <configuration>
-          <instructions>
-            <Embed-Dependency>
-            </Embed-Dependency>
-            <Embed-Transitive>true</Embed-Transitive>
-            <Import-Package>
-              *;resolution:=optional
-            </Import-Package>
-            <Export-Package>
-            </Export-Package>
-            <DynamicImport-Package>
-              org.apache.felix.jaas.boot
-            </DynamicImport-Package>
-          </instructions>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.felix</groupId>
-        <artifactId>maven-scr-plugin</artifactId>
-      </plugin>
-    </plugins>
-  </build>
-
-  <dependencies>
-    <dependency>
-      <groupId>javax.jcr</groupId>
-      <artifactId>jcr</artifactId>
-      <version>2.0</version>
-    </dependency>
-
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-jcr</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-core</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-commons</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-auth-external</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>jackrabbit-api</artifactId>
-      <version>${jackrabbit.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>jackrabbit-jcr-commons</artifactId>
-      <version>${jackrabbit.version}</version>
-    </dependency>
-
-    <!-- Findbugs annotations -->
-    <dependency>
-      <groupId>com.google.code.findbugs</groupId>
-      <artifactId>jsr305</artifactId>
-    </dependency>
-
-    <!-- OSGi -->
-    <dependency>
-      <!-- somehow the 1.6.0_65 compiler crashes on osx without this. -->
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.scr.annotations</artifactId>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.jaas</artifactId>
-      <version>0.0.2</version>
-      <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>com.google.guava</groupId>
-      <artifactId>guava</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.slf4j</groupId>
-      <artifactId>slf4j-api</artifactId>
-    </dependency>
-
-    <!-- Test dependencies -->
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.mongodb</groupId>
-      <artifactId>mongo-java-driver</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>ch.qos.logback</groupId>
-      <artifactId>logback-classic</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.slf4j</groupId>
-      <artifactId>jul-to-slf4j</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>com.h2database</groupId>
-      <artifactId>h2</artifactId>
-      <version>${h2.version}</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>jackrabbit-jcr-tests</artifactId>
-      <version>${jackrabbit.version}</version>
-      <optional>true</optional>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-commons</artifactId>
-      <version>${project.version}</version>
-      <type>test-jar</type>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-jcr</artifactId>
-      <version>${project.version}</version>
-      <type>test-jar</type>
-      <scope>test</scope>
-    </dependency>
-    <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>jackrabbit-core</artifactId>-->
-    <!--<version>${jackrabbit.version}</version>-->
-    <!--<classifier>tests</classifier>-->
-    <!--<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.jackrabbit</groupId>-->
-    <!--<artifactId>jackrabbit-data</artifactId>-->
-    <!--<version>${jackrabbit.version}</version>-->
-    <!--<classifier>tests</classifier>-->
-    <!--<scope>test</scope>-->
-    <!--</dependency>-->
-    <!--<dependency>-->
-    <!--<groupId>org.apache.jackrabbit</groupId>-->
-    <!--<artifactId>jackrabbit-jcr-server</artifactId>-->
-    <!--<version>${jackrabbit.version}</version>-->
-    <!--<scope>test</scope>-->
-    <!--</dependency>-->
-    <dependency>
-      <groupId>org.apache.geronimo.specs</groupId>
-      <artifactId>geronimo-jta_1.0.1B_spec</artifactId>
-      <version>1.0.1</version>
-      <scope>test</scope>
-    </dependency>
-    <!--<dependency>-->
-    <!--<groupId>org.apache.commons</groupId>-->
-    <!--<artifactId>commons-math3</artifactId>-->
-    <!--<version>3.2</version>-->
-    <!--<scope>test</scope>-->
-    <!--</dependency>-->
-    <!--<dependency>-->
-    <!--<groupId>com.googlecode.json-simple</groupId>-->
-    <!--<artifactId>json-simple</artifactId>-->
-    <!--<version>1.1.1</version>-->
-    <!--<scope>test</scope>-->
-    <!--</dependency>-->
-    <!--<dependency>-->
-    <!--<groupId>org.apache.sling</groupId>-->
-    <!--<artifactId>org.apache.sling.testing.osgi-mock</artifactId>-->
-    <!--</dependency>-->
-  </dependencies>
-</project>
+<?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-exercise</artifactId>

+  <name>Oak Exercises</name>

+  <packaging>bundle</packaging>

+

+  <properties>

+    <skip.deployment>false</skip.deployment>

+  </properties>

+

+  <build>

+    <plugins>

+      <plugin>

+        <groupId>org.apache.maven.plugins</groupId>

+        <artifactId>maven-surefire-plugin</artifactId>

+        <configuration>

+          <skip>true</skip>

+        </configuration>

+      </plugin>

+      <plugin>

+        <artifactId>maven-failsafe-plugin</artifactId>

+        <configuration>

+          <systemPropertyVariables>

+            <java.util.logging.config.file>

+              src/test/resources/logging.properties

+            </java.util.logging.config.file>

+          </systemPropertyVariables>

+        </configuration>

+      </plugin>

+      <plugin>

+        <groupId>org.apache.felix</groupId>

+        <artifactId>maven-bundle-plugin</artifactId>

+        <configuration>

+          <instructions>

+            <Embed-Dependency>

+            </Embed-Dependency>

+            <Embed-Transitive>true</Embed-Transitive>

+            <Import-Package>

+              *;resolution:=optional

+            </Import-Package>

+            <Export-Package>

+            </Export-Package>

+            <DynamicImport-Package>

+              org.apache.felix.jaas.boot

+            </DynamicImport-Package>

+          </instructions>

+        </configuration>

+      </plugin>

+      <plugin>

+        <groupId>org.apache.felix</groupId>

+        <artifactId>maven-scr-plugin</artifactId>

+      </plugin>

+    </plugins>

+  </build>

+

+  <dependencies>

+    <dependency>

+      <groupId>javax.jcr</groupId>

+      <artifactId>jcr</artifactId>

+      <version>2.0</version>

+    </dependency>

+

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-jcr</artifactId>

+      <version>${project.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-core</artifactId>

+      <version>${project.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-commons</artifactId>

+      <version>${project.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-auth-external</artifactId>

+      <version>${project.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>jackrabbit-api</artifactId>

+      <version>${jackrabbit.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>jackrabbit-jcr-commons</artifactId>

+      <version>${jackrabbit.version}</version>

+    </dependency>

+

+    <!-- Findbugs annotations -->

+    <dependency>

+      <groupId>com.google.code.findbugs</groupId>

+      <artifactId>jsr305</artifactId>

+    </dependency>

+

+    <!-- OSGi -->

+    <dependency>

+      <!-- somehow the 1.6.0_65 compiler crashes on osx without this. -->

+      <groupId>org.apache.felix</groupId>

+      <artifactId>org.apache.felix.scr.annotations</artifactId>

+      <scope>provided</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.felix</groupId>

+      <artifactId>org.apache.felix.jaas</artifactId>

+      <version>0.0.2</version>

+      <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>com.google.guava</groupId>

+      <artifactId>guava</artifactId>

+    </dependency>

+    <dependency>

+      <groupId>org.slf4j</groupId>

+      <artifactId>slf4j-api</artifactId>

+    </dependency>

+

+    <!-- Test dependencies -->

+    <dependency>

+      <groupId>junit</groupId>

+      <artifactId>junit</artifactId>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.mongodb</groupId>

+      <artifactId>mongo-java-driver</artifactId>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>ch.qos.logback</groupId>

+      <artifactId>logback-classic</artifactId>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.slf4j</groupId>

+      <artifactId>jul-to-slf4j</artifactId>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>com.h2database</groupId>

+      <artifactId>h2</artifactId>

+      <version>${h2.version}</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>jackrabbit-jcr-tests</artifactId>

+      <version>${jackrabbit.version}</version>

+      <optional>true</optional>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-commons</artifactId>

+      <version>${project.version}</version>

+      <type>test-jar</type>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-jcr</artifactId>

+      <version>${project.version}</version>

+      <type>test-jar</type>

+      <scope>test</scope>

+    </dependency>

+    <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>jackrabbit-core</artifactId>-->

+    <!--<version>${jackrabbit.version}</version>-->

+    <!--<classifier>tests</classifier>-->

+    <!--<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.jackrabbit</groupId>-->

+    <!--<artifactId>jackrabbit-data</artifactId>-->

+    <!--<version>${jackrabbit.version}</version>-->

+    <!--<classifier>tests</classifier>-->

+    <!--<scope>test</scope>-->

+    <!--</dependency>-->

+    <!--<dependency>-->

+    <!--<groupId>org.apache.jackrabbit</groupId>-->

+    <!--<artifactId>jackrabbit-jcr-server</artifactId>-->

+    <!--<version>${jackrabbit.version}</version>-->

+    <!--<scope>test</scope>-->

+    <!--</dependency>-->

+    <dependency>

+      <groupId>org.apache.geronimo.specs</groupId>

+      <artifactId>geronimo-jta_1.0.1B_spec</artifactId>

+      <version>1.0.1</version>

+      <scope>test</scope>

+    </dependency>

+    <!--<dependency>-->

+    <!--<groupId>org.apache.commons</groupId>-->

+    <!--<artifactId>commons-math3</artifactId>-->

+    <!--<version>3.2</version>-->

+    <!--<scope>test</scope>-->

+    <!--</dependency>-->

+    <!--<dependency>-->

+    <!--<groupId>com.googlecode.json-simple</groupId>-->

+    <!--<artifactId>json-simple</artifactId>-->

+    <!--<version>1.1.1</version>-->

+    <!--<scope>test</scope>-->

+    <!--</dependency>-->

+    <!--<dependency>-->

+    <!--<groupId>org.apache.sling</groupId>-->

+    <!--<artifactId>org.apache.sling.testing.osgi-mock</artifactId>-->

+    <!--</dependency>-->

+  </dependencies>

+</project>

diff --git a/oak-http/pom.xml b/oak-http/pom.xml
index 0589904..032b756 100644
--- a/oak-http/pom.xml
+++ b/oak-http/pom.xml
@@ -1,110 +1,110 @@
-<?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-SNAPSHOT</version>
-    <relativePath>../oak-parent/pom.xml</relativePath>
-  </parent>
-
-  <artifactId>oak-http</artifactId>
-  <name>Oak HTTP Binding</name>
-  <packaging>bundle</packaging>
-
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.felix</groupId>
-        <artifactId>maven-bundle-plugin</artifactId>
-        <configuration>
-          <instructions>
-            <Export-Package>
-              !
-            </Export-Package>
-          </instructions>
-        </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>org.apache.jackrabbit</groupId>
-      <artifactId>oak-core</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-segment</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.tika</groupId>
-      <artifactId>tika-core</artifactId>
-      <version>1.1</version>
-    </dependency>
-    <dependency>
-      <groupId>com.fasterxml.jackson.core</groupId>
-      <artifactId>jackson-core</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>com.fasterxml.jackson.core</groupId>
-      <artifactId>jackson-databind</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>com.fasterxml.jackson.dataformat</groupId>
-      <artifactId>jackson-dataformat-smile</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>javax.servlet</groupId>
-      <artifactId>servlet-api</artifactId>
-      <version>2.5</version>
-      <scope>provided</scope>
-    </dependency>
-
-    <!-- Findbugs annotations -->
-    <dependency>
-      <groupId>com.google.code.findbugs</groupId>
-      <artifactId>jsr305</artifactId>
-    </dependency>
-
-    <!-- Test dependencies -->
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-</project>
+<?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-http</artifactId>

+  <name>Oak HTTP Binding</name>

+  <packaging>bundle</packaging>

+

+  <build>

+    <plugins>

+      <plugin>

+        <groupId>org.apache.felix</groupId>

+        <artifactId>maven-bundle-plugin</artifactId>

+        <configuration>

+          <instructions>

+            <Export-Package>

+              !

+            </Export-Package>

+          </instructions>

+        </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>org.apache.jackrabbit</groupId>

+      <artifactId>oak-core</artifactId>

+      <version>${project.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-segment</artifactId>

+      <version>${project.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.tika</groupId>

+      <artifactId>tika-core</artifactId>

+      <version>1.1</version>

+    </dependency>

+    <dependency>

+      <groupId>com.fasterxml.jackson.core</groupId>

+      <artifactId>jackson-core</artifactId>

+    </dependency>

+    <dependency>

+      <groupId>com.fasterxml.jackson.core</groupId>

+      <artifactId>jackson-databind</artifactId>

+    </dependency>

+    <dependency>

+      <groupId>com.fasterxml.jackson.dataformat</groupId>

+      <artifactId>jackson-dataformat-smile</artifactId>

+    </dependency>

+    <dependency>

+      <groupId>javax.servlet</groupId>

+      <artifactId>servlet-api</artifactId>

+      <version>2.5</version>

+      <scope>provided</scope>

+    </dependency>

+

+    <!-- Findbugs annotations -->

+    <dependency>

+      <groupId>com.google.code.findbugs</groupId>

+      <artifactId>jsr305</artifactId>

+    </dependency>

+

+    <!-- Test dependencies -->

+    <dependency>

+      <groupId>junit</groupId>

+      <artifactId>junit</artifactId>

+      <scope>test</scope>

+    </dependency>

+  </dependencies>

+</project>

diff --git a/oak-it-osgi/pom.xml b/oak-it-osgi/pom.xml
index 9534b04..10e9191 100644
--- a/oak-it-osgi/pom.xml
+++ b/oak-it-osgi/pom.xml
@@ -1,208 +1,208 @@
-<?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-SNAPSHOT</version>
-    <relativePath>../oak-parent/pom.xml</relativePath>
-  </parent>
-
-  <artifactId>oak-it-osgi</artifactId>
-  <name>Oak Integration Tests for OSGi deployments</name>
-
-  <properties>
-    <skip.deployment>true</skip.deployment>
-    <pax.exam.version>3.4.0</pax.exam.version>
-  </properties>
-
-  <build>
-    <plugins>
-      <plugin>
-        <artifactId>maven-assembly-plugin</artifactId>
-        <executions>
-          <execution>
-            <phase>pre-integration-test</phase>
-            <goals>
-              <goal>single</goal>
-            </goals>
-            <configuration>
-              <descriptors>
-                <descriptor>test-bundles.xml</descriptor>
-              </descriptors>
-              <finalName>test</finalName>
-              <attach>false</attach>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <artifactId>maven-failsafe-plugin</artifactId>
-        <configuration>
-          <systemPropertyVariables>
-            <org.ops4j.pax.logging.DefaultServiceLog.level>
-              WARN
-            </org.ops4j.pax.logging.DefaultServiceLog.level>
-          </systemPropertyVariables>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-
-  <dependencies>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-commons</artifactId>
-      <version>${project.version}</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-core</artifactId>
-      <version>${project.version}</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-segment</artifactId>
-      <version>${project.version}</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-jcr</artifactId>
-      <version>${project.version}</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-lucene</artifactId>
-      <version>${project.version}</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-solr-osgi</artifactId>
-      <version>${project.version}</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>commons-collections</groupId>
-      <artifactId>commons-collections</artifactId>
-      <version>3.2.2</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.commons</groupId>
-      <artifactId>commons-collections4</artifactId>
-      <version>4.4</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.commons</groupId>
-      <artifactId>commons-lang3</artifactId>
-      <version>3.9</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>commons-fileupload</groupId>
-      <artifactId>commons-fileupload</artifactId>
-      <version>1.4</version>
-    </dependency>
-    <dependency>
-      <groupId>javax.servlet</groupId>
-      <artifactId>javax.servlet-api</artifactId>
-      <version>3.1.0</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>commons-logging</groupId>
-      <artifactId>commons-logging</artifactId>
-      <version>1.2</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.slf4j</groupId>
-      <artifactId>slf4j-api</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>ch.qos.logback</groupId>
-      <artifactId>logback-core</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>ch.qos.logback</groupId>
-      <artifactId>logback-classic</artifactId>
-      <scope>test</scope>
-    </dependency>
-
-    <dependency>
-      <groupId>org.ops4j.pax.exam</groupId>
-      <artifactId>pax-exam-junit4</artifactId>
-      <version>${pax.exam.version}</version>
-      <scope>test</scope>
-      <exclusions>
-        <exclusion>
-          <groupId>org.osgi</groupId>
-          <artifactId>org.osgi.core</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.geronimo.specs</groupId>
-      <artifactId>geronimo-atinject_1.0_spec</artifactId>
-      <version>1.0</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.ops4j.pax.exam</groupId>
-      <artifactId>pax-exam-container-native</artifactId>
-      <version>${pax.exam.version}</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.framework</artifactId>
-      <version>4.2.1</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.ops4j.pax.exam</groupId>
-      <artifactId>pax-exam-link-mvn</artifactId>
-      <version>${pax.exam.version}</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.ops4j.pax.url</groupId>
-      <artifactId>pax-url-aether</artifactId>
-      <version>2.6.1</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>ch.qos.logback</groupId>
-      <artifactId>logback-classic</artifactId>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-
-</project>
+<?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-it-osgi</artifactId>

+  <name>Oak Integration Tests for OSGi deployments</name>

+

+  <properties>

+    <skip.deployment>true</skip.deployment>

+    <pax.exam.version>3.4.0</pax.exam.version>

+  </properties>

+

+  <build>

+    <plugins>

+      <plugin>

+        <artifactId>maven-assembly-plugin</artifactId>

+        <executions>

+          <execution>

+            <phase>pre-integration-test</phase>

+            <goals>

+              <goal>single</goal>

+            </goals>

+            <configuration>

+              <descriptors>

+                <descriptor>test-bundles.xml</descriptor>

+              </descriptors>

+              <finalName>test</finalName>

+              <attach>false</attach>

+            </configuration>

+          </execution>

+        </executions>

+      </plugin>

+      <plugin>

+        <artifactId>maven-failsafe-plugin</artifactId>

+        <configuration>

+          <systemPropertyVariables>

+            <org.ops4j.pax.logging.DefaultServiceLog.level>

+              WARN

+            </org.ops4j.pax.logging.DefaultServiceLog.level>

+          </systemPropertyVariables>

+        </configuration>

+      </plugin>

+    </plugins>

+  </build>

+

+  <dependencies>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-commons</artifactId>

+      <version>${project.version}</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-core</artifactId>

+      <version>${project.version}</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-segment</artifactId>

+      <version>${project.version}</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-jcr</artifactId>

+      <version>${project.version}</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-lucene</artifactId>

+      <version>${project.version}</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-solr-osgi</artifactId>

+      <version>${project.version}</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>commons-collections</groupId>

+      <artifactId>commons-collections</artifactId>

+      <version>3.2.2</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.commons</groupId>

+      <artifactId>commons-collections4</artifactId>

+      <version>4.4</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.commons</groupId>

+      <artifactId>commons-lang3</artifactId>

+      <version>3.9</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>commons-fileupload</groupId>

+      <artifactId>commons-fileupload</artifactId>

+      <version>1.4</version>

+    </dependency>

+    <dependency>

+      <groupId>javax.servlet</groupId>

+      <artifactId>javax.servlet-api</artifactId>

+      <version>3.1.0</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>commons-logging</groupId>

+      <artifactId>commons-logging</artifactId>

+      <version>1.2</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.slf4j</groupId>

+      <artifactId>slf4j-api</artifactId>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>ch.qos.logback</groupId>

+      <artifactId>logback-core</artifactId>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>ch.qos.logback</groupId>

+      <artifactId>logback-classic</artifactId>

+      <scope>test</scope>

+    </dependency>

+

+    <dependency>

+      <groupId>org.ops4j.pax.exam</groupId>

+      <artifactId>pax-exam-junit4</artifactId>

+      <version>${pax.exam.version}</version>

+      <scope>test</scope>

+      <exclusions>

+        <exclusion>

+          <groupId>org.osgi</groupId>

+          <artifactId>org.osgi.core</artifactId>

+        </exclusion>

+      </exclusions>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.geronimo.specs</groupId>

+      <artifactId>geronimo-atinject_1.0_spec</artifactId>

+      <version>1.0</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.ops4j.pax.exam</groupId>

+      <artifactId>pax-exam-container-native</artifactId>

+      <version>${pax.exam.version}</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.felix</groupId>

+      <artifactId>org.apache.felix.framework</artifactId>

+      <version>4.2.1</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.ops4j.pax.exam</groupId>

+      <artifactId>pax-exam-link-mvn</artifactId>

+      <version>${pax.exam.version}</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.ops4j.pax.url</groupId>

+      <artifactId>pax-url-aether</artifactId>

+      <version>2.6.1</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>ch.qos.logback</groupId>

+      <artifactId>logback-classic</artifactId>

+      <scope>test</scope>

+    </dependency>

+  </dependencies>

+

+</project>

diff --git a/oak-it/pom.xml b/oak-it/pom.xml
index e1e7564..b9359dd 100644
--- a/oak-it/pom.xml
+++ b/oak-it/pom.xml
@@ -1,172 +1,172 @@
-<?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-SNAPSHOT</version>
-        <relativePath>../oak-parent/pom.xml</relativePath>
-    </parent>
-
-    <artifactId>oak-it</artifactId>
-    <name>Oak Integration Tests</name>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>oak-core</artifactId>
-            <version>${project.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>oak-segment</artifactId>
-            <version>${project.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>oak-segment-tar</artifactId>
-            <version>${project.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>oak-blob-cloud</artifactId>
-            <version>${project.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>oak-blob-cloud-azure</artifactId>
-            <version>${project.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <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-segment</artifactId>
-            <version>${project.version}</version>
-            <type>test-jar</type>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>oak-segment-tar</artifactId>
-            <version>${project.version}</version>
-            <type>test-jar</type>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>oak-blob-cloud</artifactId>
-            <version>${project.version}</version>
-            <type>test-jar</type>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>oak-blob-cloud-azure</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>
-            <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>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>com.google.code.findbugs</groupId>
-            <artifactId>jsr305</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.mongodb</groupId>
-            <artifactId>mongo-java-driver</artifactId>
-            <optional>true</optional>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>commons-lang</groupId>
-            <artifactId>commons-lang</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>com.h2database</groupId>
-            <artifactId>h2</artifactId>
-            <version>${h2.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.tomcat</groupId>
-            <artifactId>tomcat-jdbc</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>ch.qos.logback</groupId>
-            <artifactId>logback-classic</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.commons</groupId>
-            <artifactId>commons-math3</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.sling</groupId>
-            <artifactId>org.apache.sling.testing.osgi-mock</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.mockito</groupId>
-            <artifactId>mockito-core</artifactId>
-            <version>1.10.19</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>com.googlecode.json-simple</groupId>
-            <artifactId>json-simple</artifactId>
-            <version>1.1.1</version>
-            <scope>test</scope>
-        </dependency>
-    </dependencies>
-</project>
+<?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-it</artifactId>

+    <name>Oak Integration Tests</name>

+

+    <dependencies>

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>oak-core</artifactId>

+            <version>${project.version}</version>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>oak-segment</artifactId>

+            <version>${project.version}</version>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>oak-segment-tar</artifactId>

+            <version>${project.version}</version>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>oak-blob-cloud</artifactId>

+            <version>${project.version}</version>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>oak-blob-cloud-azure</artifactId>

+            <version>${project.version}</version>

+            <scope>test</scope>

+        </dependency>

+        <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-segment</artifactId>

+            <version>${project.version}</version>

+            <type>test-jar</type>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>oak-segment-tar</artifactId>

+            <version>${project.version}</version>

+            <type>test-jar</type>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>oak-blob-cloud</artifactId>

+            <version>${project.version}</version>

+            <type>test-jar</type>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>oak-blob-cloud-azure</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>

+            <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>

+        <dependency>

+            <groupId>junit</groupId>

+            <artifactId>junit</artifactId>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>com.google.code.findbugs</groupId>

+            <artifactId>jsr305</artifactId>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.mongodb</groupId>

+            <artifactId>mongo-java-driver</artifactId>

+            <optional>true</optional>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>commons-lang</groupId>

+            <artifactId>commons-lang</artifactId>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>com.h2database</groupId>

+            <artifactId>h2</artifactId>

+            <version>${h2.version}</version>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.tomcat</groupId>

+            <artifactId>tomcat-jdbc</artifactId>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>ch.qos.logback</groupId>

+            <artifactId>logback-classic</artifactId>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.commons</groupId>

+            <artifactId>commons-math3</artifactId>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.sling</groupId>

+            <artifactId>org.apache.sling.testing.osgi-mock</artifactId>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.mockito</groupId>

+            <artifactId>mockito-core</artifactId>

+            <version>1.10.19</version>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>com.googlecode.json-simple</groupId>

+            <artifactId>json-simple</artifactId>

+            <version>1.1.1</version>

+            <scope>test</scope>

+        </dependency>

+    </dependencies>

+</project>

diff --git a/oak-jcr/pom.xml b/oak-jcr/pom.xml
index fbd62bf..515735f 100644
--- a/oak-jcr/pom.xml
+++ b/oak-jcr/pom.xml
@@ -1,409 +1,409 @@
-<?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-SNAPSHOT</version>
-    <relativePath>../oak-parent/pom.xml</relativePath>
-  </parent>
-
-  <artifactId>oak-jcr</artifactId>
-  <name>Oak JCR Binding</name>
-  <packaging>bundle</packaging>
-
-  <properties>
-    <known.issues>
-      org.apache.jackrabbit.test.api.AddNodeTest#testSameNameSiblings                                  <!-- OAK-203 -->
-      org.apache.jackrabbit.test.api.SessionTest#testMoveConstraintViolationExceptionSrc               <!-- OAK-132 -->
-      org.apache.jackrabbit.test.api.SessionTest#testMoveConstraintViolationExceptionDest              <!-- OAK-132 -->
-      org.apache.jackrabbit.test.api.SessionTest#testMoveLockException
-      org.apache.jackrabbit.test.api.NodeTest#testRemoveNodeParentLocked
-      org.apache.jackrabbit.test.api.NodeSetPrimaryTypeTest#testLocked
-      org.apache.jackrabbit.test.api.WorkspaceCopyVersionableTest#testCopyNodesVersionableAndCheckedIn <!-- OAK-118 -->
-      org.apache.jackrabbit.test.api.WorkspaceMoveVersionableTest#testMoveNodesVersionableAndCheckedIn <!-- OAK-118 -->
-      org.apache.jackrabbit.test.api.SessionRemoveItemTest#testRemoveLockedChildItem
-      org.apache.jackrabbit.test.api.NodeAddMixinTest#testLocked
-      org.apache.jackrabbit.test.api.NodeCanAddMixinTest#testLocked
-      org.apache.jackrabbit.test.api.NodeRemoveMixinTest#testLocked
-      org.apache.jackrabbit.test.api.WorkspaceCopySameNameSibsTest#testCopyNodesNodeExistsAtDestPath2  <!-- OAK-118 -->
-      org.apache.jackrabbit.test.api.WorkspaceCopyTest#testCopyNodesLocked                             <!-- OAK-118 -->
-      org.apache.jackrabbit.test.api.WorkspaceMoveSameNameSibsTest#testMoveNodesOrderingSupportedByParent <!-- OAK-118 -->
-      org.apache.jackrabbit.test.api.WorkspaceMoveTest#testMoveNodesLocked                             <!-- OAK-118 -->
-
-      <!-- Locking : not fully implemented -->
-      org.apache.jackrabbit.test.api.lock.LockTest#testNodeLocked <!-- OAK-3482 -->
-      org.apache.jackrabbit.test.api.lock.LockTest#testAddRemoveLockToken <!-- OAK-2149 -->
-
-      org.apache.jackrabbit.test.api.lock.SetValueLockExceptionTest#testSetValueLockException  <!-- OAK-2149 -->
-
-      org.apache.jackrabbit.test.api.lock.DeepLockTest#testRemoveLockedChild <!-- OAK-2149 -->
-
-      org.apache.jackrabbit.test.api.lock.LockManagerTest#testRemoveLockToken3 <!-- OAK-2149 -->
-
-      org.apache.jackrabbit.test.api.lock.SessionScopedLockTest#testImplicitUnlock
-      org.apache.jackrabbit.test.api.lock.SessionScopedLockTest#testImplicitUnlock2
-
-      <!-- Observation -->
-      org.apache.jackrabbit.test.api.observation.NodeRemovedTest#testMultiNodesRemoved  <!-- OAK-1459 -->
-      org.apache.jackrabbit.test.api.observation.NodeMovedTest#testMoveWithRemove       <!-- OAK-1459 -->
-      org.apache.jackrabbit.test.api.observation.GetInfoTest#testPropertyAdded          <!--OAK-2262-->
-      org.apache.jackrabbit.test.api.observation.GetInfoTest#testPropertyChanged        <!--OAK-2262-->
-      org.apache.jackrabbit.test.api.observation.GetInfoTest#testPropertyRemoved        <!--OAK-2262-->
-      org.apache.jackrabbit.test.api.observation.GetIdentifierTest#testNodeMoved  <!-- Move in 2nd session not reflected in nodes of 1st session -->
-      org.apache.jackrabbit.test.api.observation.NodeReorderTest#testNodeReorderAddRemove          <!-- Uses SNS -->
-      org.apache.jackrabbit.test.api.observation.NodeReorderTest#testNodeReorderSameName           <!-- Uses SNS -->
-      org.apache.jackrabbit.test.api.observation.NodeReorderTest#testNodeReorderSameNameWithRemove <!-- Uses SNS -->
-      org.apache.jackrabbit.core.observation.ReorderTest                                           <!-- Uses SNS -->
-      org.apache.jackrabbit.core.observation.ShareableNodesTest#testAddShare                       <!-- OAK-118 workspace support needed -->
-      org.apache.jackrabbit.core.observation.ShareableNodesTest#testRemoveShare                    <!-- OAK-118 workspace support needed -->
-
-      <!-- Versioning -->
-      org.apache.jackrabbit.test.api.version.VersionTest#testMerge
-      org.apache.jackrabbit.test.api.version.VersionHistoryTest#testMerge
-      org.apache.jackrabbit.test.api.version.RestoreTest#testRestoreLabel
-      org.apache.jackrabbit.test.api.version.RestoreTest#testRestoreLabelJcr2
-      org.apache.jackrabbit.test.api.version.RestoreTest#testRestoreRemovesMixin <!-- OAK-9459 -->
-      org.apache.jackrabbit.test.api.version.WorkspaceRestoreTest
-      org.apache.jackrabbit.test.api.version.MergeCancelMergeTest
-      org.apache.jackrabbit.test.api.version.MergeCheckedoutSubNodeTest
-      org.apache.jackrabbit.test.api.version.MergeDoneMergeTest
-      org.apache.jackrabbit.test.api.version.MergeNodeIteratorTest
-      org.apache.jackrabbit.test.api.version.MergeNodeTest
-      org.apache.jackrabbit.test.api.version.MergeShallowTest
-      org.apache.jackrabbit.test.api.version.MergeNonVersionableSubNodeTest
-      org.apache.jackrabbit.test.api.version.MergeSubNodeTest
-
-      <!-- Permission Evaluation -->
-      org.apache.jackrabbit.oak.jcr.security.authorization.MultipleMoveTest#testMoveSubTreeBack4     <!-- Known Limitation of OAK-710 -->
-      org.apache.jackrabbit.oak.jcr.security.authorization.MultipleMoveTest#testMoveDestParent2      <!-- Known Limitation of OAK-710 -->
-      org.apache.jackrabbit.oak.jcr.security.authorization.MultipleMoveTest#testMoveDestParent4      <!-- Known Limitation of OAK-710 -->
-
-      <!-- Query -->
-      org.apache.jackrabbit.test.api.query.ElementTest#testElementTestNameTestSomeNTWithSNS          <!-- OAK-203 -->
-      org.apache.jackrabbit.test.api.query.SaveTest#testItemExistsException                          <!-- OAK-203 -->
-      org.apache.jackrabbit.test.api.query.SaveTest#testLockException
-      org.apache.jackrabbit.test.api.query.SQLJoinTest#testJoin                                      <!-- OAK-474 -->
-      org.apache.jackrabbit.test.api.query.SQLJoinTest#testJoinNtBase                                <!-- OAK-474 -->
-      org.apache.jackrabbit.test.api.query.SQLJoinTest#testJoinFilterPrimaryType                     <!-- OAK-474 -->
-      org.apache.jackrabbit.test.api.query.SQLJoinTest#testJoinSNS                                   <!-- OAK-474 -->
-
-      org.apache.jackrabbit.core.query.ExcerptTest#testMoreTextDotsAtEnd                             <!-- OAK-318 -->
-      org.apache.jackrabbit.core.query.ExcerptTest#testMoreTextDotsAtStart                           <!-- OAK-318 -->
-      org.apache.jackrabbit.core.query.ExcerptTest#testMoreTextDotsAtStartAndEnd                     <!-- OAK-318 -->
-      org.apache.jackrabbit.core.query.ExcerptTest#testPunctuationStartsFragment                     <!-- OAK-318 -->
-      org.apache.jackrabbit.core.query.ExcerptTest#testPunctuationStartsFragmentEndsWithDots         <!-- OAK-318 -->
-      org.apache.jackrabbit.core.query.ExcerptTest#testPreferPhrase                                  <!-- OAK-318 -->
-
-      org.apache.jackrabbit.core.query.QueryResultTest#testSkip                                      <!-- OAK-484 -->
-      org.apache.jackrabbit.core.query.SimilarQueryTest#testSimilar                                  <!-- OAK-319 -->
-      org.apache.jackrabbit.core.query.DerefTest#testDeref                                           <!-- OAK-321 -->
-      org.apache.jackrabbit.core.query.DerefTest#testDerefInPredicate                                <!-- OAK-321 -->
-      org.apache.jackrabbit.core.query.DerefTest#testRewrite                                         <!-- OAK-321 -->
-      org.apache.jackrabbit.core.query.DerefTest#testDerefToVersionNode                              <!-- OAK-321 -->
-      org.apache.jackrabbit.core.query.DerefTest#testMultipleDeref                                   <!-- OAK-321 -->
-      org.apache.jackrabbit.core.query.FulltextQueryTest#testMultipleOrExpressions                   <!-- OAK-2249 -->
-      org.apache.jackrabbit.core.query.FulltextQueryTest#testContainsPropScopeSQL                    <!-- OAK-902 -->
-      org.apache.jackrabbit.core.query.FulltextQueryTest#testContainsPropScopeXPath                  <!-- OAK-902 -->
-      org.apache.jackrabbit.core.query.XPathAxisTest#testIndex0Descendant                            <!-- OAK-322 -->
-      org.apache.jackrabbit.core.query.XPathAxisTest#testIndex1Descendant                            <!-- OAK-322 -->
-      org.apache.jackrabbit.core.query.XPathAxisTest#testIndex2Descendant                            <!-- OAK-322 -->
-      org.apache.jackrabbit.core.query.XPathAxisTest#testIndex3Descendant                            <!-- OAK-322 -->
-      org.apache.jackrabbit.core.query.SimpleQueryTest#testGeneralComparison                         <!-- OAK-327 -->
-      org.apache.jackrabbit.core.query.FnNameQueryTest#testLikeWithPrefix                            <!-- OAK-328 -->
-      org.apache.jackrabbit.core.query.UpperLowerCaseQueryTest#testInvalidQuery                      <!-- OAK-329 -->
-      org.apache.jackrabbit.core.query.SQL2PathEscapingTest#testGetChildrenNoEscaping                <!-- OAK-481 -->
-      org.apache.jackrabbit.core.query.SQL2PathEscapingTest#testGetChildrenEscapedFull               <!-- OAK-481 -->
-      org.apache.jackrabbit.core.query.SQL2PathEscapingTest#testGetChildrenEscapedNode               <!-- OAK-481 -->
-      org.apache.jackrabbit.core.query.ChildAxisQueryTest#testRelationQuery                          <!-- OAK-203 -->
-      org.apache.jackrabbit.core.query.ChildAxisQueryTest#testRelationQueryDeep                      <!-- OAK-203 -->
-      org.apache.jackrabbit.core.query.ChildAxisQueryTest#testMultiRelation                          <!-- OAK-203 -->
-      org.apache.jackrabbit.core.query.ChildAxisQueryTest#testLike                                   <!-- OAK-203 -->
-      org.apache.jackrabbit.core.query.ChildAxisQueryTest#testContains                               <!-- OAK-203 -->
-      org.apache.jackrabbit.core.query.ChildAxisQueryTest#testStarNameTest                           <!-- OAK-203 -->
-      org.apache.jackrabbit.core.query.SelectClauseTest#testSameNameSiblingSQL                       <!-- OAK-203 -->
-      org.apache.jackrabbit.core.query.ShareableNodeTest#testName                                    <!-- OAK-118 -->
-      org.apache.jackrabbit.core.query.ShareableNodeTest#testPathConstraint                          <!-- OAK-118 -->
-      org.apache.jackrabbit.oak.jcr.query.QueryTest#fnNameEncoding                                   <!-- OAK-1000 -->
-    </known.issues>
-  </properties>
-
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.felix</groupId>
-        <artifactId>maven-scr-plugin</artifactId>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.felix</groupId>
-        <artifactId>maven-bundle-plugin</artifactId>
-        <configuration>
-          <instructions>
-            <Export-Package>
-              org.apache.jackrabbit.oak.jcr,
-              org.apache.jackrabbit.oak.jcr.observation.filter
-            </Export-Package>
-          </instructions>
-        </configuration>
-      </plugin>
-      <plugin>
-        <artifactId>maven-failsafe-plugin</artifactId>
-        <configuration>
-          <systemPropertyVariables>
-            <java.util.logging.config.file>
-              src/test/resources/logging.properties
-            </java.util.logging.config.file>
-          </systemPropertyVariables>
-        </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>
-          <!-- somehow the 1.6.0_65 compiler crashes on osx without this. -->
-          <groupId>org.apache.felix</groupId>
-          <artifactId>org.apache.felix.scr.annotations</artifactId>
-          <scope>provided</scope>
-      </dependency>
-
-    <dependency>
-      <groupId>javax.jcr</groupId>
-      <artifactId>jcr</artifactId>
-      <version>2.0</version>
-    </dependency>
-
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-core</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-segment</artifactId>
-      <version>${project.version}</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-segment-tar</artifactId>
-      <version>${project.version}</version>
-      <scope>test</scope>
-    </dependency>
-    <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>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-commons</artifactId>
-      <version>${project.version}</version>
-      <type>test-jar</type>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-segment</artifactId>
-      <version>${project.version}</version>
-      <type>test-jar</type>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-segment-tar</artifactId>
-      <version>${project.version}</version>
-      <type>test-jar</type>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-it</artifactId>
-      <version>${project.version}</version>
-      <type>test-jar</type>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>jackrabbit-api</artifactId>
-      <version>${jackrabbit.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>jackrabbit-jcr-commons</artifactId>
-      <version>${jackrabbit.version}</version>
-    </dependency>
-
-    <dependency>
-      <groupId>com.google.guava</groupId>
-      <artifactId>guava</artifactId>
-    </dependency>
-    <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>junit</groupId>
-      <artifactId>junit</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.mongodb</groupId>
-      <artifactId>mongo-java-driver</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>ch.qos.logback</groupId>
-      <artifactId>logback-classic</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.slf4j</groupId>
-      <artifactId>jul-to-slf4j</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>com.h2database</groupId>
-      <artifactId>h2</artifactId>
-      <version>${h2.version}</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>jackrabbit-jcr-tests</artifactId>
-      <version>${jackrabbit.version}</version>
-      <optional>true</optional>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>jackrabbit-core</artifactId>
-      <version>${jackrabbit.version}</version>
-      <classifier>tests</classifier>
-      <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.jackrabbit</groupId>
-      <artifactId>jackrabbit-data</artifactId>
-      <version>${jackrabbit.version}</version>
-      <classifier>tests</classifier>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>jackrabbit-jcr-server</artifactId>
-      <version>${jackrabbit.version}</version>
-       <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.geronimo.specs</groupId>
-      <artifactId>geronimo-jta_1.0.1B_spec</artifactId>
-      <version>1.0.1</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.commons</groupId>
-      <artifactId>commons-math3</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>com.googlecode.json-simple</groupId>
-      <artifactId>json-simple</artifactId>
-      <version>1.1.1</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.tomcat</groupId>
-      <artifactId>tomcat-jdbc</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.sling</groupId>
-      <artifactId>org.apache.sling.testing.osgi-mock</artifactId>
-      <version>2.0.2</version>
-    </dependency>
-    <dependency>
-      <groupId>commons-lang</groupId>
-      <artifactId>commons-lang</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>net.lingala.zip4j</groupId>
-      <artifactId>zip4j</artifactId>
-      <version>1.3.2</version>
-      <scope>test</scope>
-    </dependency>
-    
-    <dependency>
-      <groupId>junit-addons</groupId>
-      <artifactId>junit-addons</artifactId>
-      <version>1.4</version>
-      <scope>test</scope>
-      <exclusions>
-        <exclusion>
-          <groupId>xerces</groupId>
-          <artifactId>xercesImpl</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>xerces</groupId>
-          <artifactId>xmlParserAPIs</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-  </dependencies>
-</project>
+<?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-jcr</artifactId>

+  <name>Oak JCR Binding</name>

+  <packaging>bundle</packaging>

+

+  <properties>

+    <known.issues>

+      org.apache.jackrabbit.test.api.AddNodeTest#testSameNameSiblings                                  <!-- OAK-203 -->

+      org.apache.jackrabbit.test.api.SessionTest#testMoveConstraintViolationExceptionSrc               <!-- OAK-132 -->

+      org.apache.jackrabbit.test.api.SessionTest#testMoveConstraintViolationExceptionDest              <!-- OAK-132 -->

+      org.apache.jackrabbit.test.api.SessionTest#testMoveLockException

+      org.apache.jackrabbit.test.api.NodeTest#testRemoveNodeParentLocked

+      org.apache.jackrabbit.test.api.NodeSetPrimaryTypeTest#testLocked

+      org.apache.jackrabbit.test.api.WorkspaceCopyVersionableTest#testCopyNodesVersionableAndCheckedIn <!-- OAK-118 -->

+      org.apache.jackrabbit.test.api.WorkspaceMoveVersionableTest#testMoveNodesVersionableAndCheckedIn <!-- OAK-118 -->

+      org.apache.jackrabbit.test.api.SessionRemoveItemTest#testRemoveLockedChildItem

+      org.apache.jackrabbit.test.api.NodeAddMixinTest#testLocked

+      org.apache.jackrabbit.test.api.NodeCanAddMixinTest#testLocked

+      org.apache.jackrabbit.test.api.NodeRemoveMixinTest#testLocked

+      org.apache.jackrabbit.test.api.WorkspaceCopySameNameSibsTest#testCopyNodesNodeExistsAtDestPath2  <!-- OAK-118 -->

+      org.apache.jackrabbit.test.api.WorkspaceCopyTest#testCopyNodesLocked                             <!-- OAK-118 -->

+      org.apache.jackrabbit.test.api.WorkspaceMoveSameNameSibsTest#testMoveNodesOrderingSupportedByParent <!-- OAK-118 -->

+      org.apache.jackrabbit.test.api.WorkspaceMoveTest#testMoveNodesLocked                             <!-- OAK-118 -->

+

+      <!-- Locking : not fully implemented -->

+      org.apache.jackrabbit.test.api.lock.LockTest#testNodeLocked <!-- OAK-3482 -->

+      org.apache.jackrabbit.test.api.lock.LockTest#testAddRemoveLockToken <!-- OAK-2149 -->

+

+      org.apache.jackrabbit.test.api.lock.SetValueLockExceptionTest#testSetValueLockException  <!-- OAK-2149 -->

+

+      org.apache.jackrabbit.test.api.lock.DeepLockTest#testRemoveLockedChild <!-- OAK-2149 -->

+

+      org.apache.jackrabbit.test.api.lock.LockManagerTest#testRemoveLockToken3 <!-- OAK-2149 -->

+

+      org.apache.jackrabbit.test.api.lock.SessionScopedLockTest#testImplicitUnlock

+      org.apache.jackrabbit.test.api.lock.SessionScopedLockTest#testImplicitUnlock2

+

+      <!-- Observation -->

+      org.apache.jackrabbit.test.api.observation.NodeRemovedTest#testMultiNodesRemoved  <!-- OAK-1459 -->

+      org.apache.jackrabbit.test.api.observation.NodeMovedTest#testMoveWithRemove       <!-- OAK-1459 -->

+      org.apache.jackrabbit.test.api.observation.GetInfoTest#testPropertyAdded          <!--OAK-2262-->

+      org.apache.jackrabbit.test.api.observation.GetInfoTest#testPropertyChanged        <!--OAK-2262-->

+      org.apache.jackrabbit.test.api.observation.GetInfoTest#testPropertyRemoved        <!--OAK-2262-->

+      org.apache.jackrabbit.test.api.observation.GetIdentifierTest#testNodeMoved  <!-- Move in 2nd session not reflected in nodes of 1st session -->

+      org.apache.jackrabbit.test.api.observation.NodeReorderTest#testNodeReorderAddRemove          <!-- Uses SNS -->

+      org.apache.jackrabbit.test.api.observation.NodeReorderTest#testNodeReorderSameName           <!-- Uses SNS -->

+      org.apache.jackrabbit.test.api.observation.NodeReorderTest#testNodeReorderSameNameWithRemove <!-- Uses SNS -->

+      org.apache.jackrabbit.core.observation.ReorderTest                                           <!-- Uses SNS -->

+      org.apache.jackrabbit.core.observation.ShareableNodesTest#testAddShare                       <!-- OAK-118 workspace support needed -->

+      org.apache.jackrabbit.core.observation.ShareableNodesTest#testRemoveShare                    <!-- OAK-118 workspace support needed -->

+

+      <!-- Versioning -->

+      org.apache.jackrabbit.test.api.version.VersionTest#testMerge

+      org.apache.jackrabbit.test.api.version.VersionHistoryTest#testMerge

+      org.apache.jackrabbit.test.api.version.RestoreTest#testRestoreLabel

+      org.apache.jackrabbit.test.api.version.RestoreTest#testRestoreLabelJcr2

+      org.apache.jackrabbit.test.api.version.RestoreTest#testRestoreRemovesMixin <!-- OAK-9459 -->

+      org.apache.jackrabbit.test.api.version.WorkspaceRestoreTest

+      org.apache.jackrabbit.test.api.version.MergeCancelMergeTest

+      org.apache.jackrabbit.test.api.version.MergeCheckedoutSubNodeTest

+      org.apache.jackrabbit.test.api.version.MergeDoneMergeTest

+      org.apache.jackrabbit.test.api.version.MergeNodeIteratorTest

+      org.apache.jackrabbit.test.api.version.MergeNodeTest

+      org.apache.jackrabbit.test.api.version.MergeShallowTest

+      org.apache.jackrabbit.test.api.version.MergeNonVersionableSubNodeTest

+      org.apache.jackrabbit.test.api.version.MergeSubNodeTest

+

+      <!-- Permission Evaluation -->

+      org.apache.jackrabbit.oak.jcr.security.authorization.MultipleMoveTest#testMoveSubTreeBack4     <!-- Known Limitation of OAK-710 -->

+      org.apache.jackrabbit.oak.jcr.security.authorization.MultipleMoveTest#testMoveDestParent2      <!-- Known Limitation of OAK-710 -->

+      org.apache.jackrabbit.oak.jcr.security.authorization.MultipleMoveTest#testMoveDestParent4      <!-- Known Limitation of OAK-710 -->

+

+      <!-- Query -->

+      org.apache.jackrabbit.test.api.query.ElementTest#testElementTestNameTestSomeNTWithSNS          <!-- OAK-203 -->

+      org.apache.jackrabbit.test.api.query.SaveTest#testItemExistsException                          <!-- OAK-203 -->

+      org.apache.jackrabbit.test.api.query.SaveTest#testLockException

+      org.apache.jackrabbit.test.api.query.SQLJoinTest#testJoin                                      <!-- OAK-474 -->

+      org.apache.jackrabbit.test.api.query.SQLJoinTest#testJoinNtBase                                <!-- OAK-474 -->

+      org.apache.jackrabbit.test.api.query.SQLJoinTest#testJoinFilterPrimaryType                     <!-- OAK-474 -->

+      org.apache.jackrabbit.test.api.query.SQLJoinTest#testJoinSNS                                   <!-- OAK-474 -->

+

+      org.apache.jackrabbit.core.query.ExcerptTest#testMoreTextDotsAtEnd                             <!-- OAK-318 -->

+      org.apache.jackrabbit.core.query.ExcerptTest#testMoreTextDotsAtStart                           <!-- OAK-318 -->

+      org.apache.jackrabbit.core.query.ExcerptTest#testMoreTextDotsAtStartAndEnd                     <!-- OAK-318 -->

+      org.apache.jackrabbit.core.query.ExcerptTest#testPunctuationStartsFragment                     <!-- OAK-318 -->

+      org.apache.jackrabbit.core.query.ExcerptTest#testPunctuationStartsFragmentEndsWithDots         <!-- OAK-318 -->

+      org.apache.jackrabbit.core.query.ExcerptTest#testPreferPhrase                                  <!-- OAK-318 -->

+

+      org.apache.jackrabbit.core.query.QueryResultTest#testSkip                                      <!-- OAK-484 -->

+      org.apache.jackrabbit.core.query.SimilarQueryTest#testSimilar                                  <!-- OAK-319 -->

+      org.apache.jackrabbit.core.query.DerefTest#testDeref                                           <!-- OAK-321 -->

+      org.apache.jackrabbit.core.query.DerefTest#testDerefInPredicate                                <!-- OAK-321 -->

+      org.apache.jackrabbit.core.query.DerefTest#testRewrite                                         <!-- OAK-321 -->

+      org.apache.jackrabbit.core.query.DerefTest#testDerefToVersionNode                              <!-- OAK-321 -->

+      org.apache.jackrabbit.core.query.DerefTest#testMultipleDeref                                   <!-- OAK-321 -->

+      org.apache.jackrabbit.core.query.FulltextQueryTest#testMultipleOrExpressions                   <!-- OAK-2249 -->

+      org.apache.jackrabbit.core.query.FulltextQueryTest#testContainsPropScopeSQL                    <!-- OAK-902 -->

+      org.apache.jackrabbit.core.query.FulltextQueryTest#testContainsPropScopeXPath                  <!-- OAK-902 -->

+      org.apache.jackrabbit.core.query.XPathAxisTest#testIndex0Descendant                            <!-- OAK-322 -->

+      org.apache.jackrabbit.core.query.XPathAxisTest#testIndex1Descendant                            <!-- OAK-322 -->

+      org.apache.jackrabbit.core.query.XPathAxisTest#testIndex2Descendant                            <!-- OAK-322 -->

+      org.apache.jackrabbit.core.query.XPathAxisTest#testIndex3Descendant                            <!-- OAK-322 -->

+      org.apache.jackrabbit.core.query.SimpleQueryTest#testGeneralComparison                         <!-- OAK-327 -->

+      org.apache.jackrabbit.core.query.FnNameQueryTest#testLikeWithPrefix                            <!-- OAK-328 -->

+      org.apache.jackrabbit.core.query.UpperLowerCaseQueryTest#testInvalidQuery                      <!-- OAK-329 -->

+      org.apache.jackrabbit.core.query.SQL2PathEscapingTest#testGetChildrenNoEscaping                <!-- OAK-481 -->

+      org.apache.jackrabbit.core.query.SQL2PathEscapingTest#testGetChildrenEscapedFull               <!-- OAK-481 -->

+      org.apache.jackrabbit.core.query.SQL2PathEscapingTest#testGetChildrenEscapedNode               <!-- OAK-481 -->

+      org.apache.jackrabbit.core.query.ChildAxisQueryTest#testRelationQuery                          <!-- OAK-203 -->

+      org.apache.jackrabbit.core.query.ChildAxisQueryTest#testRelationQueryDeep                      <!-- OAK-203 -->

+      org.apache.jackrabbit.core.query.ChildAxisQueryTest#testMultiRelation                          <!-- OAK-203 -->

+      org.apache.jackrabbit.core.query.ChildAxisQueryTest#testLike                                   <!-- OAK-203 -->

+      org.apache.jackrabbit.core.query.ChildAxisQueryTest#testContains                               <!-- OAK-203 -->

+      org.apache.jackrabbit.core.query.ChildAxisQueryTest#testStarNameTest                           <!-- OAK-203 -->

+      org.apache.jackrabbit.core.query.SelectClauseTest#testSameNameSiblingSQL                       <!-- OAK-203 -->

+      org.apache.jackrabbit.core.query.ShareableNodeTest#testName                                    <!-- OAK-118 -->

+      org.apache.jackrabbit.core.query.ShareableNodeTest#testPathConstraint                          <!-- OAK-118 -->

+      org.apache.jackrabbit.oak.jcr.query.QueryTest#fnNameEncoding                                   <!-- OAK-1000 -->

+    </known.issues>

+  </properties>

+

+  <build>

+    <plugins>

+      <plugin>

+        <groupId>org.apache.felix</groupId>

+        <artifactId>maven-scr-plugin</artifactId>

+      </plugin>

+      <plugin>

+        <groupId>org.apache.felix</groupId>

+        <artifactId>maven-bundle-plugin</artifactId>

+        <configuration>

+          <instructions>

+            <Export-Package>

+              org.apache.jackrabbit.oak.jcr,

+              org.apache.jackrabbit.oak.jcr.observation.filter

+            </Export-Package>

+          </instructions>

+        </configuration>

+      </plugin>

+      <plugin>

+        <artifactId>maven-failsafe-plugin</artifactId>

+        <configuration>

+          <systemPropertyVariables>

+            <java.util.logging.config.file>

+              src/test/resources/logging.properties

+            </java.util.logging.config.file>

+          </systemPropertyVariables>

+        </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>

+          <!-- somehow the 1.6.0_65 compiler crashes on osx without this. -->

+          <groupId>org.apache.felix</groupId>

+          <artifactId>org.apache.felix.scr.annotations</artifactId>

+          <scope>provided</scope>

+      </dependency>

+

+    <dependency>

+      <groupId>javax.jcr</groupId>

+      <artifactId>jcr</artifactId>

+      <version>2.0</version>

+    </dependency>

+

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-core</artifactId>

+      <version>${project.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-segment</artifactId>

+      <version>${project.version}</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-segment-tar</artifactId>

+      <version>${project.version}</version>

+      <scope>test</scope>

+    </dependency>

+    <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>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-commons</artifactId>

+      <version>${project.version}</version>

+      <type>test-jar</type>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-segment</artifactId>

+      <version>${project.version}</version>

+      <type>test-jar</type>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-segment-tar</artifactId>

+      <version>${project.version}</version>

+      <type>test-jar</type>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-it</artifactId>

+      <version>${project.version}</version>

+      <type>test-jar</type>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>jackrabbit-api</artifactId>

+      <version>${jackrabbit.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>jackrabbit-jcr-commons</artifactId>

+      <version>${jackrabbit.version}</version>

+    </dependency>

+

+    <dependency>

+      <groupId>com.google.guava</groupId>

+      <artifactId>guava</artifactId>

+    </dependency>

+    <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>junit</groupId>

+      <artifactId>junit</artifactId>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.mongodb</groupId>

+      <artifactId>mongo-java-driver</artifactId>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>ch.qos.logback</groupId>

+      <artifactId>logback-classic</artifactId>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.slf4j</groupId>

+      <artifactId>jul-to-slf4j</artifactId>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>com.h2database</groupId>

+      <artifactId>h2</artifactId>

+      <version>${h2.version}</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>jackrabbit-jcr-tests</artifactId>

+      <version>${jackrabbit.version}</version>

+      <optional>true</optional>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>jackrabbit-core</artifactId>

+      <version>${jackrabbit.version}</version>

+      <classifier>tests</classifier>

+      <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.jackrabbit</groupId>

+      <artifactId>jackrabbit-data</artifactId>

+      <version>${jackrabbit.version}</version>

+      <classifier>tests</classifier>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>jackrabbit-jcr-server</artifactId>

+      <version>${jackrabbit.version}</version>

+       <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.geronimo.specs</groupId>

+      <artifactId>geronimo-jta_1.0.1B_spec</artifactId>

+      <version>1.0.1</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.commons</groupId>

+      <artifactId>commons-math3</artifactId>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>com.googlecode.json-simple</groupId>

+      <artifactId>json-simple</artifactId>

+      <version>1.1.1</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.tomcat</groupId>

+      <artifactId>tomcat-jdbc</artifactId>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.sling</groupId>

+      <artifactId>org.apache.sling.testing.osgi-mock</artifactId>

+      <version>2.0.2</version>

+    </dependency>

+    <dependency>

+      <groupId>commons-lang</groupId>

+      <artifactId>commons-lang</artifactId>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>net.lingala.zip4j</groupId>

+      <artifactId>zip4j</artifactId>

+      <version>1.3.2</version>

+      <scope>test</scope>

+    </dependency>

+    

+    <dependency>

+      <groupId>junit-addons</groupId>

+      <artifactId>junit-addons</artifactId>

+      <version>1.4</version>

+      <scope>test</scope>

+      <exclusions>

+        <exclusion>

+          <groupId>xerces</groupId>

+          <artifactId>xercesImpl</artifactId>

+        </exclusion>

+        <exclusion>

+          <groupId>xerces</groupId>

+          <artifactId>xmlParserAPIs</artifactId>

+        </exclusion>

+      </exclusions>

+    </dependency>

+  </dependencies>

+</project>

diff --git a/oak-lucene/pom.xml b/oak-lucene/pom.xml
index 75f9e44..78f2a81 100644
--- a/oak-lucene/pom.xml
+++ b/oak-lucene/pom.xml
@@ -1,352 +1,352 @@
-<?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-SNAPSHOT</version>
-    <relativePath>../oak-parent/pom.xml</relativePath>
-  </parent>
-
-  <artifactId>oak-lucene</artifactId>
-  <name>Oak Lucene</name>
-  <packaging>bundle</packaging>
-  <description>Oak Lucene integration subproject</description>
-
-  <properties>
-    <known.issues>
-      <!-- Jackrabbit query tests -->
-      org.apache.jackrabbit.core.query.ExcerptTest#testMoreTextDotsAtEnd                             <!-- OAK-318 -->
-      org.apache.jackrabbit.core.query.ExcerptTest#testMoreTextDotsAtStart                           <!-- OAK-318 -->
-      org.apache.jackrabbit.core.query.ExcerptTest#testMoreTextDotsAtStartAndEnd                     <!-- OAK-318 -->
-      org.apache.jackrabbit.core.query.ExcerptTest#testPunctuationStartsFragment                     <!-- OAK-318 -->
-      org.apache.jackrabbit.core.query.ExcerptTest#testPunctuationStartsFragmentEndsWithDots         <!-- OAK-318 -->
-      org.apache.jackrabbit.core.query.ExcerptTest#testPreferPhrase                                  <!-- OAK-318 -->
-      org.apache.jackrabbit.core.query.ExcerptTest#testQuotedPhrase                                  <!-- OAK-3580 -->
-      org.apache.jackrabbit.core.query.ExcerptTest#testHighlightJa                                   <!-- OAK-3580 -->
-      org.apache.jackrabbit.core.query.ExcerptTest#testEncodeIllegalCharsHighlights                  <!-- OAK-3580 -->
-      org.apache.jackrabbit.core.query.QueryResultTest#testSkip                                      <!-- OAK-484 -->
-      org.apache.jackrabbit.core.query.DerefTest#testDeref                                           <!-- OAK-321 -->
-      org.apache.jackrabbit.core.query.DerefTest#testDerefInPredicate                                <!-- OAK-321 -->
-      org.apache.jackrabbit.core.query.DerefTest#testRewrite                                         <!-- OAK-321 -->
-      org.apache.jackrabbit.core.query.DerefTest#testDerefToVersionNode                              <!-- OAK-321 -->
-      org.apache.jackrabbit.core.query.DerefTest#testMultipleDeref                                   <!-- OAK-321 -->
-      org.apache.jackrabbit.core.query.XPathAxisTest#testIndex0Descendant                            <!-- OAK-322 -->
-      org.apache.jackrabbit.core.query.XPathAxisTest#testIndex1Descendant                            <!-- OAK-322 -->
-      org.apache.jackrabbit.core.query.XPathAxisTest#testIndex2Descendant                            <!-- OAK-322 -->
-      org.apache.jackrabbit.core.query.XPathAxisTest#testIndex3Descendant                            <!-- OAK-322 -->
-      org.apache.jackrabbit.core.query.SimpleQueryTest#testGeneralComparison                         <!-- OAK-327 -->
-      org.apache.jackrabbit.core.query.FnNameQueryTest#testLikeWithPrefix                            <!-- OAK-328 -->
-      org.apache.jackrabbit.core.query.UpperLowerCaseQueryTest#testInvalidQuery                      <!-- OAK-329 -->
-      org.apache.jackrabbit.core.query.SQL2PathEscapingTest#testGetChildrenNoEscaping                <!-- OAK-481 -->
-      org.apache.jackrabbit.core.query.SQL2PathEscapingTest#testGetChildrenEscapedFull               <!-- OAK-481 -->
-      org.apache.jackrabbit.core.query.SQL2PathEscapingTest#testGetChildrenEscapedNode               <!-- OAK-481 -->
-      org.apache.jackrabbit.core.query.ChildAxisQueryTest#testRelationQuery                          <!-- OAK-203 -->
-      org.apache.jackrabbit.core.query.ChildAxisQueryTest#testRelationQueryDeep                      <!-- OAK-203 -->
-      org.apache.jackrabbit.core.query.ChildAxisQueryTest#testMultiRelation                          <!-- OAK-203 -->
-      org.apache.jackrabbit.core.query.ChildAxisQueryTest#testLike                                   <!-- OAK-203 -->
-      org.apache.jackrabbit.core.query.ChildAxisQueryTest#testContains                               <!-- OAK-203 -->
-      org.apache.jackrabbit.core.query.ChildAxisQueryTest#testStarNameTest                           <!-- OAK-203 -->
-      org.apache.jackrabbit.core.query.SelectClauseTest#testSameNameSiblingSQL                       <!-- OAK-203 -->
-      org.apache.jackrabbit.core.query.ShareableNodeTest#testName                                    <!-- OAK-118 -->
-      org.apache.jackrabbit.core.query.ShareableNodeTest#testPathConstraint                          <!-- OAK-118 -->
-      org.apache.jackrabbit.core.query.JoinTest#testJoinWithOR4                                      <!-- OAK-955 -->
-      org.apache.jackrabbit.core.query.JoinTest#testJoinWithOR5                                      <!-- OAK-955 -->
-      org.apache.jackrabbit.core.query.SQL2NodeLocalNameTest#testLowerLocalNameOrContains            <!-- OAK-957 -->
-      org.apache.jackrabbit.core.query.SQL2NodeLocalNameTest#testUpperLocalNameOrContains            <!-- OAK-957 -->
-      org.apache.jackrabbit.core.query.SimpleQueryTest#testBigDecimalField                           <!-- OAK-327 -->
-      org.apache.jackrabbit.core.query.SimpleQueryTest#testLikePatternEscaped                        <!-- OAK-327 -->
-      org.apache.jackrabbit.core.query.FulltextQueryTest#testMultipleOrExpressions                   <!-- TODO -->
-
-      org.apache.jackrabbit.core.query.SQL2QueryResultTest#testSQL2SelectColums                      <!-- OAK-2340 -->
-
-      org.apache.jackrabbit.core.query.JoinTest#testMultiValuedReferenceJoin                         <!-- OAK-2338 -->
-      org.apache.jackrabbit.core.query.JoinTest#testJoinWithOR                                       <!-- OAK-2338 -->
-      org.apache.jackrabbit.core.query.JoinTest#testJoinWithOR2                                      <!-- OAK-2338 -->
-      org.apache.jackrabbit.core.query.JoinTest#testJoinWithOR3                                      <!-- OAK-2338 -->
-      org.apache.jackrabbit.core.query.SQL2OuterJoinTest#testOuterJoin                               <!-- OAK-2338 -->
-      org.apache.jackrabbit.core.query.SQL2OuterJoinTest#testOuterJoinMissingNode                    <!-- OAK-2338 -->
-      org.apache.jackrabbit.core.query.SQL2OuterJoinTest#testOuterJoinExtraNode                      <!-- OAK-2338 -->
-      org.apache.jackrabbit.core.query.SimpleQueryTest#testLogicalExpression                         <!-- OAK-2338 -->
-
-      org.apache.jackrabbit.core.query.OrderByTest#testOrderByScore                                  <!-- OAK-2339 -->
-      org.apache.jackrabbit.core.query.OrderByTest#testOrderByMVP                                    <!-- OAK-2339 -->
-      org.apache.jackrabbit.core.query.SimpleQueryTest#testSimpleQuerySQL4                           <!-- OAK-2339 -->
-      org.apache.jackrabbit.core.query.SimpleQueryTest#testIsNull                                    <!-- OAK-2339 -->
-      org.apache.jackrabbit.core.query.FulltextQueryTest#testMultiByte                               <!-- OAK-2424 -->
-    </known.issues>
-  </properties>
-
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.felix</groupId>
-        <artifactId>maven-bundle-plugin</artifactId>
-        <configuration>
-          <instructions>
-            <!-- TODO: Should only provide services, not export packages  -->
-            <_exportcontents>
-              org.apache.lucene.*;version=${lucene.version}
-            </_exportcontents>
-            <Export-Package>
-                org.apache.jackrabbit.oak.plugins.index.lucene,
-                org.apache.jackrabbit.oak.plugins.index.lucene.util,
-                org.apache.jackrabbit.oak.plugins.index.lucene.score,
-                org.apache.jackrabbit.oak.plugins.index.lucene.spi,
-            </Export-Package>
-            <_exportcontents>
-                org.apache.lucene.*;version=${lucene.version}
-            </_exportcontents>
-            <Import-Package>
-                org.apache.lucene.sandbox.*;resolution:=optional,
-                !org.apache.lucene.*,
-                !org.apache.jackrabbit.oak.cache,
-                *
-            </Import-Package>
-            <Embed-Dependency>
-                lucene-*;inline=true,
-              <!-- TODO FIXME OAK-3598 -->
-              oak-core;inline="org/apache/jackrabbit/oak/cache/CacheStats*"
-              <!-- TODO FIXME OAK-3598 -->
-            </Embed-Dependency>
-          </instructions>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.felix</groupId>
-        <artifactId>maven-scr-plugin</artifactId>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.rat</groupId>
-        <artifactId>apache-rat-plugin</artifactId>
-        <configuration>
-          <excludes>
-            <exclude>**/test.rtf</exclude>
-            <exclude>**/test.txt</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>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.tika</groupId>
-      <artifactId>tika-core</artifactId>
-      <version>${tika.version}</version>
-    </dependency>
-
-    <!-- Lucene dependencies -->
-    <dependency>
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-core</artifactId>
-      <version>${lucene.version}</version>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-analyzers-common</artifactId>
-      <version>${lucene.version}</version>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-queryparser</artifactId>
-      <version>${lucene.version}</version>
-      <scope>provided</scope>
-    </dependency>    
-    <dependency>
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-queries</artifactId>
-      <version>${lucene.version}</version>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-suggest</artifactId>
-      <version>${lucene.version}</version>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-highlighter</artifactId>
-      <version>${lucene.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-memory</artifactId>
-      <version>${lucene.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-misc</artifactId>
-      <version>${lucene.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-facet</artifactId>
-      <version>${lucene.version}</version>
-    </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>ch.qos.logback</groupId>
-      <artifactId>logback-classic</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.mongodb</groupId>
-      <artifactId>mongo-java-driver</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-core</artifactId>
-      <version>${project.version}</version>
-      <classifier>tests</classifier>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-segment</artifactId>
-      <version>${project.version}</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-segment-tar</artifactId>
-      <version>${project.version}</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-jcr</artifactId>
-      <version>${project.version}</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-jcr</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>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>jackrabbit-jcr-tests</artifactId>
-      <version>${jackrabbit.version}</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>jackrabbit-core</artifactId>
-      <version>${jackrabbit.version}</version>
-      <classifier>tests</classifier>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.tika</groupId>
-      <artifactId>tika-parsers</artifactId>
-      <version>${tika.version}</version>
-      <scope>test</scope>
-      <exclusions>
-        <exclusion>
-          <groupId>commons-logging</groupId>
-          <artifactId>commons-logging</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.sling</groupId>
-      <artifactId>org.apache.sling.testing.osgi-mock</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.hamcrest</groupId>
-      <artifactId>hamcrest-all</artifactId>
-      <version>1.3</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.mockito</groupId>
-      <artifactId>mockito-core</artifactId>
-      <version>1.10.19</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.commons</groupId>
-      <artifactId>commons-exec</artifactId>
-      <version>1.3</version>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-</project>
+<?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-lucene</artifactId>

+  <name>Oak Lucene</name>

+  <packaging>bundle</packaging>

+  <description>Oak Lucene integration subproject</description>

+

+  <properties>

+    <known.issues>

+      <!-- Jackrabbit query tests -->

+      org.apache.jackrabbit.core.query.ExcerptTest#testMoreTextDotsAtEnd                             <!-- OAK-318 -->

+      org.apache.jackrabbit.core.query.ExcerptTest#testMoreTextDotsAtStart                           <!-- OAK-318 -->

+      org.apache.jackrabbit.core.query.ExcerptTest#testMoreTextDotsAtStartAndEnd                     <!-- OAK-318 -->

+      org.apache.jackrabbit.core.query.ExcerptTest#testPunctuationStartsFragment                     <!-- OAK-318 -->

+      org.apache.jackrabbit.core.query.ExcerptTest#testPunctuationStartsFragmentEndsWithDots         <!-- OAK-318 -->

+      org.apache.jackrabbit.core.query.ExcerptTest#testPreferPhrase                                  <!-- OAK-318 -->

+      org.apache.jackrabbit.core.query.ExcerptTest#testQuotedPhrase                                  <!-- OAK-3580 -->

+      org.apache.jackrabbit.core.query.ExcerptTest#testHighlightJa                                   <!-- OAK-3580 -->

+      org.apache.jackrabbit.core.query.ExcerptTest#testEncodeIllegalCharsHighlights                  <!-- OAK-3580 -->

+      org.apache.jackrabbit.core.query.QueryResultTest#testSkip                                      <!-- OAK-484 -->

+      org.apache.jackrabbit.core.query.DerefTest#testDeref                                           <!-- OAK-321 -->

+      org.apache.jackrabbit.core.query.DerefTest#testDerefInPredicate                                <!-- OAK-321 -->

+      org.apache.jackrabbit.core.query.DerefTest#testRewrite                                         <!-- OAK-321 -->

+      org.apache.jackrabbit.core.query.DerefTest#testDerefToVersionNode                              <!-- OAK-321 -->

+      org.apache.jackrabbit.core.query.DerefTest#testMultipleDeref                                   <!-- OAK-321 -->

+      org.apache.jackrabbit.core.query.XPathAxisTest#testIndex0Descendant                            <!-- OAK-322 -->

+      org.apache.jackrabbit.core.query.XPathAxisTest#testIndex1Descendant                            <!-- OAK-322 -->

+      org.apache.jackrabbit.core.query.XPathAxisTest#testIndex2Descendant                            <!-- OAK-322 -->

+      org.apache.jackrabbit.core.query.XPathAxisTest#testIndex3Descendant                            <!-- OAK-322 -->

+      org.apache.jackrabbit.core.query.SimpleQueryTest#testGeneralComparison                         <!-- OAK-327 -->

+      org.apache.jackrabbit.core.query.FnNameQueryTest#testLikeWithPrefix                            <!-- OAK-328 -->

+      org.apache.jackrabbit.core.query.UpperLowerCaseQueryTest#testInvalidQuery                      <!-- OAK-329 -->

+      org.apache.jackrabbit.core.query.SQL2PathEscapingTest#testGetChildrenNoEscaping                <!-- OAK-481 -->

+      org.apache.jackrabbit.core.query.SQL2PathEscapingTest#testGetChildrenEscapedFull               <!-- OAK-481 -->

+      org.apache.jackrabbit.core.query.SQL2PathEscapingTest#testGetChildrenEscapedNode               <!-- OAK-481 -->

+      org.apache.jackrabbit.core.query.ChildAxisQueryTest#testRelationQuery                          <!-- OAK-203 -->

+      org.apache.jackrabbit.core.query.ChildAxisQueryTest#testRelationQueryDeep                      <!-- OAK-203 -->

+      org.apache.jackrabbit.core.query.ChildAxisQueryTest#testMultiRelation                          <!-- OAK-203 -->

+      org.apache.jackrabbit.core.query.ChildAxisQueryTest#testLike                                   <!-- OAK-203 -->

+      org.apache.jackrabbit.core.query.ChildAxisQueryTest#testContains                               <!-- OAK-203 -->

+      org.apache.jackrabbit.core.query.ChildAxisQueryTest#testStarNameTest                           <!-- OAK-203 -->

+      org.apache.jackrabbit.core.query.SelectClauseTest#testSameNameSiblingSQL                       <!-- OAK-203 -->

+      org.apache.jackrabbit.core.query.ShareableNodeTest#testName                                    <!-- OAK-118 -->

+      org.apache.jackrabbit.core.query.ShareableNodeTest#testPathConstraint                          <!-- OAK-118 -->

+      org.apache.jackrabbit.core.query.JoinTest#testJoinWithOR4                                      <!-- OAK-955 -->

+      org.apache.jackrabbit.core.query.JoinTest#testJoinWithOR5                                      <!-- OAK-955 -->

+      org.apache.jackrabbit.core.query.SQL2NodeLocalNameTest#testLowerLocalNameOrContains            <!-- OAK-957 -->

+      org.apache.jackrabbit.core.query.SQL2NodeLocalNameTest#testUpperLocalNameOrContains            <!-- OAK-957 -->

+      org.apache.jackrabbit.core.query.SimpleQueryTest#testBigDecimalField                           <!-- OAK-327 -->

+      org.apache.jackrabbit.core.query.SimpleQueryTest#testLikePatternEscaped                        <!-- OAK-327 -->

+      org.apache.jackrabbit.core.query.FulltextQueryTest#testMultipleOrExpressions                   <!-- TODO -->

+

+      org.apache.jackrabbit.core.query.SQL2QueryResultTest#testSQL2SelectColums                      <!-- OAK-2340 -->

+

+      org.apache.jackrabbit.core.query.JoinTest#testMultiValuedReferenceJoin                         <!-- OAK-2338 -->

+      org.apache.jackrabbit.core.query.JoinTest#testJoinWithOR                                       <!-- OAK-2338 -->

+      org.apache.jackrabbit.core.query.JoinTest#testJoinWithOR2                                      <!-- OAK-2338 -->

+      org.apache.jackrabbit.core.query.JoinTest#testJoinWithOR3                                      <!-- OAK-2338 -->

+      org.apache.jackrabbit.core.query.SQL2OuterJoinTest#testOuterJoin                               <!-- OAK-2338 -->

+      org.apache.jackrabbit.core.query.SQL2OuterJoinTest#testOuterJoinMissingNode                    <!-- OAK-2338 -->

+      org.apache.jackrabbit.core.query.SQL2OuterJoinTest#testOuterJoinExtraNode                      <!-- OAK-2338 -->

+      org.apache.jackrabbit.core.query.SimpleQueryTest#testLogicalExpression                         <!-- OAK-2338 -->

+

+      org.apache.jackrabbit.core.query.OrderByTest#testOrderByScore                                  <!-- OAK-2339 -->

+      org.apache.jackrabbit.core.query.OrderByTest#testOrderByMVP                                    <!-- OAK-2339 -->

+      org.apache.jackrabbit.core.query.SimpleQueryTest#testSimpleQuerySQL4                           <!-- OAK-2339 -->

+      org.apache.jackrabbit.core.query.SimpleQueryTest#testIsNull                                    <!-- OAK-2339 -->

+      org.apache.jackrabbit.core.query.FulltextQueryTest#testMultiByte                               <!-- OAK-2424 -->

+    </known.issues>

+  </properties>

+

+  <build>

+    <plugins>

+      <plugin>

+        <groupId>org.apache.felix</groupId>

+        <artifactId>maven-bundle-plugin</artifactId>

+        <configuration>

+          <instructions>

+            <!-- TODO: Should only provide services, not export packages  -->

+            <_exportcontents>

+              org.apache.lucene.*;version=${lucene.version}

+            </_exportcontents>

+            <Export-Package>

+                org.apache.jackrabbit.oak.plugins.index.lucene,

+                org.apache.jackrabbit.oak.plugins.index.lucene.util,

+                org.apache.jackrabbit.oak.plugins.index.lucene.score,

+                org.apache.jackrabbit.oak.plugins.index.lucene.spi,

+            </Export-Package>

+            <_exportcontents>

+                org.apache.lucene.*;version=${lucene.version}

+            </_exportcontents>

+            <Import-Package>

+                org.apache.lucene.sandbox.*;resolution:=optional,

+                !org.apache.lucene.*,

+                !org.apache.jackrabbit.oak.cache,

+                *

+            </Import-Package>

+            <Embed-Dependency>

+                lucene-*;inline=true,

+              <!-- TODO FIXME OAK-3598 -->

+              oak-core;inline="org/apache/jackrabbit/oak/cache/CacheStats*"

+              <!-- TODO FIXME OAK-3598 -->

+            </Embed-Dependency>

+          </instructions>

+        </configuration>

+      </plugin>

+      <plugin>

+        <groupId>org.apache.felix</groupId>

+        <artifactId>maven-scr-plugin</artifactId>

+      </plugin>

+      <plugin>

+        <groupId>org.apache.rat</groupId>

+        <artifactId>apache-rat-plugin</artifactId>

+        <configuration>

+          <excludes>

+            <exclude>**/test.rtf</exclude>

+            <exclude>**/test.txt</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>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.tika</groupId>

+      <artifactId>tika-core</artifactId>

+      <version>${tika.version}</version>

+    </dependency>

+

+    <!-- Lucene dependencies -->

+    <dependency>

+      <groupId>org.apache.lucene</groupId>

+      <artifactId>lucene-core</artifactId>

+      <version>${lucene.version}</version>

+      <scope>provided</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.lucene</groupId>

+      <artifactId>lucene-analyzers-common</artifactId>

+      <version>${lucene.version}</version>

+      <scope>provided</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.lucene</groupId>

+      <artifactId>lucene-queryparser</artifactId>

+      <version>${lucene.version}</version>

+      <scope>provided</scope>

+    </dependency>    

+    <dependency>

+      <groupId>org.apache.lucene</groupId>

+      <artifactId>lucene-queries</artifactId>

+      <version>${lucene.version}</version>

+      <scope>provided</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.lucene</groupId>

+      <artifactId>lucene-suggest</artifactId>

+      <version>${lucene.version}</version>

+      <scope>provided</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.lucene</groupId>

+      <artifactId>lucene-highlighter</artifactId>

+      <version>${lucene.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.lucene</groupId>

+      <artifactId>lucene-memory</artifactId>

+      <version>${lucene.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.lucene</groupId>

+      <artifactId>lucene-misc</artifactId>

+      <version>${lucene.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.lucene</groupId>

+      <artifactId>lucene-facet</artifactId>

+      <version>${lucene.version}</version>

+    </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>ch.qos.logback</groupId>

+      <artifactId>logback-classic</artifactId>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>junit</groupId>

+      <artifactId>junit</artifactId>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.mongodb</groupId>

+      <artifactId>mongo-java-driver</artifactId>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-core</artifactId>

+      <version>${project.version}</version>

+      <classifier>tests</classifier>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-segment</artifactId>

+      <version>${project.version}</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-segment-tar</artifactId>

+      <version>${project.version}</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-jcr</artifactId>

+      <version>${project.version}</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-jcr</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>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>jackrabbit-jcr-tests</artifactId>

+      <version>${jackrabbit.version}</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>jackrabbit-core</artifactId>

+      <version>${jackrabbit.version}</version>

+      <classifier>tests</classifier>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.tika</groupId>

+      <artifactId>tika-parsers</artifactId>

+      <version>${tika.version}</version>

+      <scope>test</scope>

+      <exclusions>

+        <exclusion>

+          <groupId>commons-logging</groupId>

+          <artifactId>commons-logging</artifactId>

+        </exclusion>

+      </exclusions>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.sling</groupId>

+      <artifactId>org.apache.sling.testing.osgi-mock</artifactId>

+    </dependency>

+    <dependency>

+      <groupId>org.hamcrest</groupId>

+      <artifactId>hamcrest-all</artifactId>

+      <version>1.3</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.mockito</groupId>

+      <artifactId>mockito-core</artifactId>

+      <version>1.10.19</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.commons</groupId>

+      <artifactId>commons-exec</artifactId>

+      <version>1.3</version>

+      <scope>test</scope>

+    </dependency>

+  </dependencies>

+</project>

diff --git a/oak-parent/pom.xml b/oak-parent/pom.xml
index f5de27d..62c48a9 100644
--- a/oak-parent/pom.xml
+++ b/oak-parent/pom.xml
@@ -1,1128 +1,1129 @@
-<?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</groupId>
-    <artifactId>apache</artifactId>
-    <version>18</version>
-    <relativePath />
-  </parent>
-
-  <groupId>org.apache.jackrabbit</groupId>
-  <artifactId>oak-parent</artifactId>
-  <name>Oak Parent POM</name>
-  <version>1.6.22-SNAPSHOT</version>
-  <packaging>pom</packaging>
-
-  <properties>
-    <test.opts.memory>-Xmx512m -XX:MaxPermSize=64m</test.opts.memory>
-    <test.opts>${test.opts.coverage} ${test.opts.memory} -XX:+HeapDumpOnOutOfMemoryError -Dupdate.limit=100 -Djava.awt.headless=true</test.opts>
-    <skip.deployment>false</skip.deployment>
-    <skip.coverage>true</skip.coverage>
-    <known.issues />
-    <project.reporting.outputEncoding>
-      ${project.build.sourceEncoding}
-    </project.reporting.outputEncoding>
-    <jackrabbit.version>2.14.10</jackrabbit.version>
-    <mongo.host>127.0.0.1</mongo.host>
-    <mongo.port>27017</mongo.port>
-    <mongo.db>MongoMKDB</mongo.db>
-    <mongo.db2>MongoMKDB2</mongo.db2>
-    <segment.db>SegmentMK</segment.db>
-    <lucene.version>4.7.1</lucene.version>
-    <solr.version>8.6.3</solr.version>
-    <mongo.driver.version>3.6.4</mongo.driver.version>
-    <slf4j.api.version>1.7.26</slf4j.api.version>
-    <slf4j.version>1.7.26</slf4j.version> <!-- sync with logback version -->
-    <logback.version>1.2.3</logback.version>
-    <h2.version>1.4.194</h2.version>
-    <tika.version>1.18</tika.version>
-    <findbugs.version>3.0.5</findbugs.version>
-    <derby.version>10.12.1.1</derby.version>
-    <jackson.version>2.9.10</jackson.version>
-    <java.version>1.8</java.version>
-    <java.version.signature>java18</java.version.signature>
-    
-   <!-- specifies on which fixture to run the integration testing tests. 
-      override in profiles or provide from command line to change behaviour. Provide 
-      more fixtures space separated. See org.apache.jackrabbit.oak.jcr.FixturesHelper#AVAILABLE_FIXTURES 
-      for the possible values: SEGMENT_MK SEGMENT_TAR DOCUMENT_NS DOCUMENT_RDB -->
-    <fixtures>SEGMENT_TAR</fixtures>
-
-   <!-- whether skip the surefire unit testing during the integration testing. 
-      Override with -Dsurefire.skip.ut=true when needed -->
-    <surefire.skip.ut>false</surefire.skip.ut>
-  </properties>
-
-  <prerequisites>
-    <maven>3.2.1</maven>
-  </prerequisites>
-
-  <issueManagement>
-    <system>Jira</system>
-    <url>http://issues.apache.org/jira/browse/OAK</url>
-  </issueManagement>
-
-  <url>http://jackrabbit.apache.org/</url>
-  <inceptionYear>2012</inceptionYear>
-  <description>
-    The goal of the Oak effort within the Apache Jackrabbit™ project is
-    to implement a scalable and performant hierarchical content repository
-    for use as the foundation of modern world-class web sites and other
-    demanding content applications.
-  </description>
-
-  <build>
-    <pluginManagement>
-      <plugins>
-        <plugin>
-          <artifactId>maven-compiler-plugin</artifactId>
-          <version>3.8.0</version>
-          <configuration>
-            <target>${java.version}</target>
-            <source>${java.version}</source>
-          </configuration>
-        </plugin>
-        <plugin>
-          <groupId>org.codehaus.mojo</groupId>
-          <artifactId>animal-sniffer-maven-plugin</artifactId>
-          <version>1.16</version>
-          <configuration>
-            <signature>
-              <groupId>org.codehaus.mojo.signature</groupId>
-              <artifactId>${java.version.signature}</artifactId>
-              <version>1.0</version>
-            </signature>
-          </configuration>
-        </plugin>
-        <plugin>
-          <artifactId>maven-javadoc-plugin</artifactId>
-          <version>3.1.1</version>
-          <configuration>
-            <source>${java.version}</source>
-            <aggregate>true</aggregate>
-            <links>
-              <link>http://docs.oracle.com/javase/7/docs/api/</link>
-              <link>https://docs.adobe.com/docs/en/spec/javax.jcr/javadocs/jcr-2.0/</link>
-              <link>https://jackrabbit.apache.org/api/2.14/</link>
-            </links>
-          </configuration>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.felix</groupId>
-          <artifactId>maven-bundle-plugin</artifactId>
-          <version>3.5.1</version>
-          <extensions>true</extensions>
-          <inherited>true</inherited>
-          <configuration>
-            <obrRepository>NONE</obrRepository>
-            <instructions>
-              <Bundle-Category>oak</Bundle-Category>
-              <Bundle-DocURL>
-                http://jackrabbit.apache.org/oak/
-              </Bundle-DocURL>
-              <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
-              <!-- Don't default to bundle version for packages without explicit export version.
-                   See FELIX-5172 -->
-              <_nodefaultversion>true</_nodefaultversion>
-            </instructions>
-          </configuration>
-          <!-- OAK-3041: use updated Bnd -->
-          <dependencies>
-            <dependency>
-              <groupId>biz.aQute.bnd</groupId>
-              <artifactId>bndlib</artifactId>
-              <version>2.4.0</version>
-            </dependency>
-          </dependencies>
-          <executions>
-            <execution>
-              <id>baseline</id>
-              <goals>
-                <goal>baseline</goal>
-              </goals>
-              <phase>pre-integration-test</phase>
-              <configuration>
-                <logResults>false</logResults>
-                <failOnWarning>false</failOnWarning>
-                <failOnError>true</failOnError>
-                <filters>
-                  <!-- Disable baseline for explicitly NOT managed packages. See OAK-3842 -->
-                  <filter>!org.apache.jackrabbit.oak.cache</filter>
-                  <filter>!org.apache.jackrabbit.oak.commons</filter>
-                  <filter>!org.apache.jackrabbit.oak.commons.benchmark</filter>
-                  <filter>!org.apache.jackrabbit.oak.commons.cache</filter>
-                  <filter>!org.apache.jackrabbit.oak.commons.concurrent</filter>
-                  <filter>!org.apache.jackrabbit.oak.commons.io</filter>
-                  <filter>!org.apache.jackrabbit.oak.commons.jmx</filter>
-                  <filter>!org.apache.jackrabbit.oak.commons.json</filter>
-                  <filter>!org.apache.jackrabbit.oak.commons.sort</filter>
-                  <filter>!org.apache.jackrabbit.oak.spi.blob</filter>
-                  <filter>!org.apache.jackrabbit.oak.spi.blob.split</filter>
-                  <filter>!org.apache.jackrabbit.oak.spi.blob.stats</filter>
-                  <filter>!org.apache.jackrabbit.oak.blob.cloud.aws.s3</filter>
-                  <filter>!org.apache.jackrabbit.oak.blob.cloud.azure.blobstorage</filter>
-                  <filter>!org.apache.jackrabbit.oak</filter>
-                  <filter>!org.apache.jackrabbit.oak.json</filter>
-                  <filter>!org.apache.jackrabbit.oak.management</filter>
-                  <filter>!org.apache.jackrabbit.oak.namepath</filter>
-                  <filter>!org.apache.jackrabbit.oak.osgi</filter>
-                  <filter>!org.apache.jackrabbit.oak.plugins.atomic</filter>
-                  <filter>!org.apache.jackrabbit.oak.plugins.blob</filter>
-                  <filter>!org.apache.jackrabbit.oak.plugins.blob.datastore</filter>
-                  <filter>!org.apache.jackrabbit.oak.plugins.commit</filter>
-                  <filter>!org.apache.jackrabbit.oak.plugins.identifier</filter>
-                  <filter>!org.apache.jackrabbit.oak.plugins.index</filter>
-                  <filter>!org.apache.jackrabbit.oak.plugins.index.aggregate</filter>
-                  <filter>!org.apache.jackrabbit.oak.plugins.index.counter</filter>
-                  <filter>!org.apache.jackrabbit.oak.plugins.index.fulltext</filter>
-                  <filter>!org.apache.jackrabbit.oak.plugins.index.nodetype</filter>
-                  <filter>!org.apache.jackrabbit.oak.plugins.index.property</filter>
-                  <filter>!org.apache.jackrabbit.oak.plugins.index.property.jmx</filter>
-                  <filter>!org.apache.jackrabbit.oak.plugins.index.reference</filter>
-                  <filter>!org.apache.jackrabbit.oak.plugins.itemsave</filter>
-                  <filter>!org.apache.jackrabbit.oak.plugins.lock</filter>
-                  <filter>!org.apache.jackrabbit.oak.plugins.memory</filter>
-                  <filter>!org.apache.jackrabbit.oak.plugins.name</filter>
-                  <filter>!org.apache.jackrabbit.oak.plugins.nodetype</filter>
-                  <filter>!org.apache.jackrabbit.oak.plugins.nodetype.write</filter>
-                  <filter>!org.apache.jackrabbit.oak.plugins.observation</filter>
-                  <filter>!org.apache.jackrabbit.oak.plugins.observation.filter</filter>
-                  <filter>!org.apache.jackrabbit.oak.plugins.value</filter>
-                  <filter>!org.apache.jackrabbit.oak.plugins.version</filter>
-                  <filter>!org.apache.jackrabbit.oak.query</filter>
-                  <filter>!org.apache.jackrabbit.oak.query.fulltext</filter>
-                  <filter>!org.apache.jackrabbit.oak.security</filter>
-                  <filter>!org.apache.jackrabbit.oak.spi.commit</filter>
-                  <filter>!org.apache.jackrabbit.oak.spi.gc</filter>
-                  <filter>!org.apache.jackrabbit.oak.spi.lifecycle</filter>
-                  <filter>!org.apache.jackrabbit.oak.spi.query</filter>
-                  <filter>!org.apache.jackrabbit.oak.spi.state</filter>
-                  <filter>!org.apache.jackrabbit.oak.spi.whiteboard</filter>
-                  <filter>!org.apache.jackrabbit.oak.spi.xml</filter>
-                  <filter>!org.apache.jackrabbit.oak.stats</filter>
-                  <filter>!org.apache.jackrabbit.oak.util</filter>
-                  <filter>!org.apache.jackrabbit.oak.jcr</filter>
-                  <filter>!org.apache.jackrabbit.oak.plugins.index.lucene</filter>
-                  <filter>!org.apache.jackrabbit.oak.plugins.index.lucene.util</filter>
-                  <filter>!org.apache.jackrabbit.oak.security.authentication.ldap</filter>
-                  <filter>!org.apache.jackrabbit.oak.plugins.backup</filter>
-                  <filter>!org.apache.jackrabbit.oak.plugins.segment</filter>
-                  <filter>!org.apache.jackrabbit.oak.plugins.segment.file</filter>
-                  <filter>!org.apache.jackrabbit.oak.plugins.segment.http</filter>
-                  <filter>!org.apache.jackrabbit.oak.plugins.index.solr</filter>
-                  <filter>!org.apache.jackrabbit.oak.plugins.index.solr.configuration</filter>
-                  <filter>!org.apache.jackrabbit.oak.plugins.index.solr.index</filter>
-                  <filter>!org.apache.jackrabbit.oak.plugins.index.solr.query</filter>
-                  <filter>!org.apache.jackrabbit.oak.plugins.index.solr.server</filter>
-                  <filter>!org.apache.jackrabbit.oak.plugins.index.solr.util</filter>
-                  <filter>*</filter>
-                </filters>
-              </configuration>
-            </execution>
-          </executions>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.felix</groupId>
-          <artifactId>maven-scr-plugin</artifactId>
-          <version>1.21.0</version>
-          <executions>
-            <execution>
-              <id>generate-scr-scrdescriptor</id>
-              <goals>
-                <goal>scr</goal>
-              </goals>
-              <configuration>
-                <properties>
-                  <service.vendor>The Apache Software Foundation</service.vendor>
-                </properties>
-              </configuration>
-            </execution>
-          </executions>
-        </plugin>
-        <plugin>
-          <artifactId>maven-deploy-plugin</artifactId>
-          <version>2.8.2</version>
-          <configuration>
-            <skip>${skip.deployment}</skip>
-          </configuration>
-        </plugin>
-        <plugin>
-          <artifactId>maven-release-plugin</artifactId>
-          <version>2.5.3</version>
-          <configuration>
-            <autoVersionSubmodules>true</autoVersionSubmodules>
-          </configuration>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-assembly-plugin</artifactId>
-          <version>3.0.0</version>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.rat</groupId>
-          <artifactId>apache-rat-plugin</artifactId>
-          <version>0.12</version>
-        </plugin>
-        <plugin>
-          <artifactId>maven-surefire-plugin</artifactId>
-          <version>2.22.2</version>
-          <configuration>
-            <argLine>${test.opts}</argLine>
-            <systemPropertyVariables>
-              <known.issues>${known.issues}</known.issues>
-              <mongo.host>${mongo.host}</mongo.host>
-              <mongo.port>${mongo.port}</mongo.port>
-              <mongo.db>${mongo.db}</mongo.db>
-              <mongo.db2>${mongo.db2}</mongo.db2>
-              <segment.db>${segment.db}</segment.db>
-              <nsfixtures>${fixtures}</nsfixtures>
-              <derby.stream.error.file>${project.build.directory}/derby.log</derby.stream.error.file>
-            </systemPropertyVariables>
-            <redirectTestOutputToFile>true</redirectTestOutputToFile>
-          </configuration>
-        </plugin>
-        <plugin>
-          <artifactId>maven-failsafe-plugin</artifactId>
-          <version>2.22.2</version>
-          <configuration>
-            <argLine>${test.opts}</argLine>
-            <systemPropertyVariables>
-              <known.issues>${known.issues}</known.issues>
-              <mongo.host>${mongo.host}</mongo.host>
-              <mongo.port>${mongo.port}</mongo.port>
-              <mongo.db>${mongo.db}</mongo.db>
-              <mongo.db2>${mongo.db2}</mongo.db2>
-              <nsfixtures>${fixtures}</nsfixtures>
-              <derby.stream.error.file>${project.build.directory}/derby.log</derby.stream.error.file>
-            </systemPropertyVariables>
-          </configuration>
-        </plugin>
-          <plugin>
-            <artifactId>maven-checkstyle-plugin</artifactId>
-            <version>3.0.0</version>
-          </plugin>
-          <plugin>
-            <groupId>org.codehaus.mojo</groupId>
-            <artifactId>findbugs-maven-plugin</artifactId>
-            <version>${findbugs.version}</version>
-          </plugin>
-        <!-- This plugin's configuration is used to store Eclipse m2e      -->
-        <!-- settings only. It has no influence on the Maven build itself. -->
-        <plugin>
-          <groupId>org.eclipse.m2e</groupId>
-          <artifactId>lifecycle-mapping</artifactId>
-          <version>1.0.0</version>
-          <configuration>
-            <lifecycleMappingMetadata>
-              <pluginExecutions>
-                <pluginExecution>
-                  <pluginExecutionFilter>
-                    <groupId>org.apache.felix</groupId>
-                    <artifactId>maven-scr-plugin</artifactId>
-                    <versionRange>[1.7.4,)</versionRange>
-                    <goals>
-                      <goal>scr</goal>
-                    </goals>
-                  </pluginExecutionFilter>
-                  <action>
-                    <execute />
-                  </action>
-                </pluginExecution>
-                <pluginExecution>
-                  <pluginExecutionFilter>
-                    <groupId>org.codehaus.mojo</groupId>
-                    <artifactId>build-helper-maven-plugin</artifactId>
-                    <versionRange>[1.7,)</versionRange>
-                    <goals>
-                      <goal>reserve-network-port</goal>
-                    </goals>
-                  </pluginExecutionFilter>
-                  <action>
-                    <execute />
-                  </action>
-                </pluginExecution>
-                <pluginExecution>
-                  <pluginExecutionFilter>
-                    <groupId>org.jacoco</groupId>
-                    <artifactId>jacoco-maven-plugin</artifactId>
-                    <versionRange>[0.7.1.201405082137,)</versionRange>
-                    <goals>
-                      <goal>prepare-agent</goal>
-                    </goals>
-                  </pluginExecutionFilter>
-                  <action>
-                    <ignore />
-                  </action>
-                </pluginExecution>
-              </pluginExecutions>
-            </lifecycleMappingMetadata>
-          </configuration>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-site-plugin</artifactId>
-          <version>3.7.1</version>
-          <configuration>
-            <generateReports>false</generateReports>
-            <skip>true</skip>
-            <skipDeploy>true</skipDeploy>
-          </configuration>
-          <dependencies>
-            <dependency>
-              <groupId>org.apache.maven.doxia</groupId>
-              <artifactId>doxia-module-markdown</artifactId>
-              <version>1.7</version>
-            </dependency>
-          </dependencies>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-scm-publish-plugin</artifactId>
-          <version>3.0.0</version>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-project-info-reports-plugin</artifactId>
-          <version>3.0.0</version>
-        </plugin>
-        <plugin>
-          <groupId>org.jacoco</groupId>
-          <artifactId>jacoco-maven-plugin</artifactId>
-          <version>0.8.3</version>
-        </plugin>
-      </plugins>
-    </pluginManagement>
-    <plugins>
-      <plugin>
-        <groupId>org.jacoco</groupId>
-        <artifactId>jacoco-maven-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>pre-unit-test</id>
-            <goals>
-              <goal>prepare-agent</goal>
-            </goals>
-            <configuration>
-              <skip>${skip.coverage}</skip>
-              <destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile>
-              <propertyName>test.opts.coverage</propertyName>
-            </configuration>
-          </execution>
-          <execution>
-            <id>post-unit-test</id>
-            <phase>test</phase>
-            <goals>
-              <goal>report</goal>
-            </goals>
-            <configuration>
-              <skip>${skip.coverage}</skip>
-              <dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile>
-              <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-jar-plugin</artifactId>
-        <version>3.1.2</version>
-        <executions>
-          <execution>
-            <goals>
-              <goal>test-jar</goal>
-            </goals>
-            <configuration>
-              <excludes>
-                <exclude>logback-test.xml</exclude>
-              </excludes>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>animal-sniffer-maven-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>animal-sniffer</id>
-            <phase>compile</phase>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-
-  <reporting>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-project-info-reports-plugin</artifactId>
-        <!--avoid child modules from inheriting anything from the apache parent pom -->
-        <inherited>false</inherited>
-      </plugin>
-    </plugins>
-  </reporting>
-
-  <dependencyManagement>
-    <dependencies>
-      <dependency>
-        <groupId>org.osgi</groupId>
-        <artifactId>org.osgi.core</artifactId>
-        <version>4.2.0</version>
-      </dependency>
-      <dependency>
-        <groupId>org.osgi</groupId>
-        <artifactId>org.osgi.compendium</artifactId>
-        <version>4.2.0</version>
-      </dependency>
-      <dependency>
-        <groupId>biz.aQute.bnd</groupId>
-        <artifactId>bndlib</artifactId>
-        <version>2.2.0</version>
-      </dependency>
-      <dependency>
-        <groupId>org.apache.felix</groupId>
-        <artifactId>org.apache.felix.scr.annotations</artifactId>
-        <version>1.9.6</version>
-      </dependency>
-      <dependency>
-        <groupId>com.google.code.findbugs</groupId>
-        <artifactId>jsr305</artifactId>
-        <version>2.0.0</version>
-        <scope>provided</scope>
-      </dependency>
-      <dependency>
-        <groupId>junit</groupId>
-        <artifactId>junit</artifactId>
-        <version>4.12</version>
-      </dependency>
-      <dependency>
-        <groupId>org.mongodb</groupId>
-        <artifactId>mongo-java-driver</artifactId>
-        <version>${mongo.driver.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>com.google.guava</groupId>
-        <artifactId>guava</artifactId>
-        <version>15.0</version>
-      </dependency>
-      <dependency>
-        <groupId>org.easymock</groupId>
-        <artifactId>easymock</artifactId>
-        <version>3.6</version>
-      </dependency>
-      <dependency>
-        <groupId>org.slf4j</groupId>
-        <artifactId>slf4j-api</artifactId>
-        <version>${slf4j.api.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.slf4j</groupId>
-        <artifactId>slf4j-simple</artifactId>
-        <version>${slf4j.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.slf4j</groupId>
-        <artifactId>log4j-over-slf4j</artifactId>
-        <version>${slf4j.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.slf4j</groupId>
-        <artifactId>jcl-over-slf4j</artifactId>
-        <version>${slf4j.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.slf4j</groupId>
-        <artifactId>jul-to-slf4j</artifactId>
-        <version>${slf4j.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>ch.qos.logback</groupId>
-        <artifactId>logback-classic</artifactId>
-        <version>${logback.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>ch.qos.logback</groupId>
-        <artifactId>logback-core</artifactId>
-        <version>${logback.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.apache.jclouds.provider</groupId>
-        <artifactId>aws-s3</artifactId>
-        <version>1.7.0</version>
-      </dependency>
-      <dependency>
-        <groupId>org.apache.sling</groupId>
-        <artifactId>org.apache.sling.testing.osgi-mock</artifactId>
-        <version>1.3.0</version>
-        <scope>test</scope>
-      </dependency>
-      <dependency>
-        <groupId>commons-lang</groupId>
-        <artifactId>commons-lang</artifactId>
-        <version>2.6</version>
-      </dependency>
-      <dependency>
-        <groupId>commons-io</groupId>
-        <artifactId>commons-io</artifactId>
-        <version>2.6</version>
-      </dependency>
-      <dependency>
-        <groupId>commons-codec</groupId>
-        <artifactId>commons-codec</artifactId>
-        <version>1.13</version>
-      </dependency>
-      <dependency>
-        <groupId>org.apache.commons</groupId>
-        <artifactId>commons-math3</artifactId>
-        <version>3.6.1</version>
-      </dependency>
-      <dependency>
-        <groupId>org.apache.tomcat</groupId>
-        <artifactId>tomcat-jdbc</artifactId>
-        <version>8.5.43</version>
-      </dependency>
-      <dependency>
-        <groupId>org.apache.tomcat</groupId>
-        <artifactId>tomcat-juli</artifactId>
-        <version>8.5.43</version>
-      </dependency>
-      <dependency>
-        <groupId>com.fasterxml.jackson.core</groupId>
-        <artifactId>jackson-annotations</artifactId>
-        <version>${jackson.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>com.fasterxml.jackson.core</groupId>
-        <artifactId>jackson-core</artifactId>
-        <version>${jackson.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>com.fasterxml.jackson.core</groupId>
-        <artifactId>jackson-databind</artifactId>
-        <version>${jackson.version}.1<!--OAK-8709--></version>
-      </dependency>
-      <dependency>
-        <groupId>com.fasterxml.jackson.dataformat</groupId>
-        <artifactId>jackson-dataformat-smile</artifactId>
-        <version>${jackson.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.apache.httpcomponents</groupId>
-        <artifactId>httpclient</artifactId>
-        <version>4.5.10</version>
-      </dependency>
-      <dependency>
-        <groupId>org.apache.httpcomponents</groupId>
-        <artifactId>httpclient-osgi</artifactId>
-        <version>4.5.10</version>
-      </dependency>
-      <dependency>
-        <groupId>org.apache.httpcomponents</groupId>
-        <artifactId>httpcore</artifactId>
-        <version>4.4.12</version>
-      </dependency>
-      <dependency>
-        <groupId>org.apache.httpcomponents</groupId>
-        <artifactId>httpcore-osgi</artifactId>
-        <version>4.4.12</version>
-     </dependency>
-      <dependency>
-        <groupId>org.apache.httpcomponents</groupId>
-        <artifactId>httpmime</artifactId>
-        <version>4.5.10</version>
-      </dependency>
-    </dependencies>
-  </dependencyManagement>
-
-  <profiles>
-    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  Unit testing profiles -->
-    <profile>
-         <id>unittesting</id>
-         <properties>
-            <!-- emptying $fixtures means run on all -->
-            <fixtures />
-         </properties>
-         <build>
-            <plugins>
-              <plugin>
-                <artifactId>maven-surefire-plugin</artifactId>
-              </plugin>
-            </plugins>
-         </build>
-    </profile>
-    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Integration testing profiles -->
-    <profile>
-      <!-- runs all the IT agains the default fixture. See <properties> section -->
-      <id>integrationTesting</id>
-      <activation>
-        <property>
-          <name>env.OAK_INTEGRATION_TESTING</name>
-        </property>
-      </activation>
-      <build>
-        <plugins>
-           <plugin>
-             <artifactId>maven-surefire-plugin</artifactId>
-             <configuration>
-               <skipTests>${surefire.skip.ut}</skipTests>
-             </configuration>
-           </plugin>
-          <plugin>
-            <artifactId>maven-failsafe-plugin</artifactId>
-            <executions>
-              <execution>
-                <goals>
-                  <goal>integration-test</goal>
-                  <goal>verify</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-
-   <!--  - - - - - - - - - - - - - - - - - - - will run all the required tests before a release -->
-   <profile>
-      <id>release</id>
-      <properties>
-         <nsfixtures />
-         <rdb.jdbc-url>jdbc:derby:./target/derby-release-test;create=true</rdb.jdbc-url>
-         <derby.stream.error.file>${project.build.directory}/derby.log</derby.stream.error.file>
-      </properties>
-      <build>
-         <plugins>
-            <plugin>
-               <artifactId>maven-surefire-plugin</artifactId>
-               <configuration>
-                    <systemProperties>
-                        <derby.stream.error.file>${project.build.directory}/derby.log</derby.stream.error.file>
-                    </systemProperties>
-               </configuration>
-            </plugin>
-             <plugin>
-               <artifactId>maven-failsafe-plugin</artifactId>
-               <executions>
-                  <execution>
-                     <goals>
-                        <goal>integration-test</goal>
-                        <goal>verify</goal>
-                     </goals>
-                     <configuration>
-                        <systemProperties>
-                            <derby.stream.error.file>${project.build.directory}/derby.log</derby.stream.error.file>
-                        </systemProperties>
-                     </configuration>
-                  </execution>
-               </executions>
-            </plugin>
-            <plugin>
-               <groupId>org.apache.rat</groupId>
-               <artifactId>apache-rat-plugin</artifactId>
-               <executions>
-                  <execution>
-                     <phase>verify</phase>
-                     <goals>
-                        <goal>check</goal>
-                     </goals>
-                  </execution>
-               </executions>
-            </plugin>
-            <plugin>
-               <artifactId>maven-checkstyle-plugin</artifactId>
-               <configuration>
-                  <failOnViolation>false</failOnViolation>
-               </configuration>
-               <executions>
-                  <execution>
-                     <goals>
-                        <goal>check</goal>
-                     </goals>
-                  </execution>
-               </executions>
-            </plugin>
-            <plugin>
-               <groupId>org.codehaus.mojo</groupId>
-               <artifactId>findbugs-maven-plugin</artifactId>
-               <version>${findbugs.version}</version>
-               <configuration>
-                  <failOnError>false</failOnError>
-               </configuration>
-               <executions>
-                  <execution>
-                     <goals>
-                        <goal>check</goal>
-                     </goals>
-                  </execution>
-               </executions>
-            </plugin>
-         </plugins>
-      </build>
-      <dependencies>
-         <dependency>
-            <groupId>org.apache.derby</groupId>
-            <artifactId>derby</artifactId>
-            <version>${derby.version}</version>
-         </dependency>
-      </dependencies>
-   </profile>
-   
-    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - other profiles -->
-
-   <profile>
-      <id>longevity</id>
-      <build>
-         <plugins>
-            <plugin>
-               <artifactId>maven-surefire-plugin</artifactId>
-               <configuration>
-                  <skipTests>true</skipTests>
-               </configuration>
-            </plugin>
-            <plugin>
-               <artifactId>maven-failsafe-plugin</artifactId>
-               <executions>
-                  <execution>
-                     <goals>
-                        <goal>integration-test</goal>
-                        <goal>verify</goal>
-                     </goals>
-                  </execution>
-               </executions>
-               <configuration>
-               <includes>
-                <include>**/*LT.java</include>
-               </includes>
-               </configuration>
-            </plugin>
-         </plugins>
-      </build>
-   </profile>
-    
-    <profile>
-      <id>rat</id>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.rat</groupId>
-            <artifactId>apache-rat-plugin</artifactId>
-            <executions>
-              <execution>
-                <phase>verify</phase>
-                <goals>
-                  <goal>check</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-           <plugin>
-             <artifactId>maven-surefire-plugin</artifactId>
-             <configuration>
-               <!-- run a test to prevent Jenkins from failing because no test ran -->
-               <test>PathUtilsTest</test>
-               <failIfNoSpecifiedTests>false</failIfNoSpecifiedTests>
-             </configuration>
-           </plugin>
-        </plugins>
-      </build>
-    </profile>
-    <profile>
-      <id>pedantic</id>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.rat</groupId>
-            <artifactId>apache-rat-plugin</artifactId>
-            <executions>
-              <execution>
-                <phase>verify</phase>
-                <goals>
-                  <goal>check</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-          <plugin>
-            <artifactId>maven-checkstyle-plugin</artifactId>
-            <configuration>
-              <failOnViolation>false</failOnViolation>
-            </configuration>
-            <executions>
-              <execution>
-                <goals>
-                  <goal>check</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-          <plugin>
-            <groupId>org.codehaus.mojo</groupId>
-            <artifactId>findbugs-maven-plugin</artifactId>
-            <version>${findbugs.version}</version>
-            <configuration>
-              <failOnError>false</failOnError>
-            </configuration>
-            <executions>
-              <execution>
-                <goals>
-                  <goal>check</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-           <plugin>
-             <artifactId>maven-surefire-plugin</artifactId>
-             <configuration>
-               <skipTests>${surefire.skip.ut}</skipTests>
-             </configuration>
-           </plugin>
-        </plugins>
-      </build>
-    </profile>
-    <profile>
-      <id>rdb-derby</id>
-      <dependencies>
-        <dependency>
-          <groupId>org.apache.derby</groupId>
-          <artifactId>derby</artifactId>
-          <version>${derby.version}</version>
-        </dependency>
-      </dependencies>
-    </profile>
-    <profile>
-      <id>rdb-mysql</id>
-      <dependencies>
-        <dependency>
-          <groupId>mysql</groupId>
-          <artifactId>mysql-connector-java</artifactId>
-          <version>5.1.46</version>
-        </dependency>
-      </dependencies>
-    </profile>
-    <profile>
-      <id>rdb-postgres</id>
-      <dependencies>
-        <dependency>
-          <groupId>org.postgresql</groupId>
-          <artifactId>postgresql</artifactId>
-          <version>42.2.5.jre7</version>
-        </dependency>
-      </dependencies>
-    </profile>
-    <profile>
-      <id>rdb-h2</id>
-      <dependencies>
-        <dependency>
-          <groupId>com.h2database</groupId>
-          <artifactId>h2</artifactId>
-          <version>${h2.version}</version>
-        </dependency>
-      </dependencies>
-    </profile>
-    <profile>
-      <id>rdb-mssql</id>
-      <dependencies>
-        <dependency>
-          <groupId>com.microsoft.sqlserver</groupId>
-          <artifactId>mssql-jdbc</artifactId>
-          <version>6.4.0.jre7</version>
-        </dependency>
-      </dependencies>
-    </profile>
-    <profile>
-      <!-- requires local copy of Oracle JDBC driver deployed to Maven repo -->
-      <!-- for instance:
-        mvn install:install-file -Dfile=ojdbc8.jar -Dpackaging=jar\
-          -DgroupId=com.oracle.jdbc -DartifactId=ojdbc8 -Dversion=12.2.0.1
-      -->
-      <!-- or see https://blogs.oracle.com/dev2dev/get-oracle-jdbc-drivers-and-ucp-from-oracle-maven-repository-without-ides -->
-      <id>rdb-oracle</id>
-      <dependencies>
-        <dependency>
-          <groupId>com.oracle.jdbc</groupId>
-          <artifactId>ojdbc8</artifactId>
-          <version>12.2.0.1</version>
-        </dependency>
-      </dependencies>
-    </profile>
-    <profile>
-      <!-- requires local copy of IBM DB2 JDBC drivers deployed to Maven repo-->
-      <!-- for instance:
-        mvn install:install-file -Dfile=db2jcc4.jar -Dpackaging=jar\
-          -DgroupId=com.ibm.db2 -DartifactId=db2 -Dversion=4.19.77
-       -->
-      <id>rdb-db2</id>
-      <dependencies>
-        <dependency>
-          <groupId>com.ibm.db2</groupId>
-          <artifactId>db2</artifactId>
-          <version>4.19.77</version>
-        </dependency>
-      </dependencies>
-    </profile>
-    <profile>
-      <id>java8</id>
-      <activation>
-        <jdk>[1.8,)</jdk>
-      </activation>
-      <properties>
-        <test.opts.memory>-Xmx512m</test.opts.memory>
-      </properties>
-    </profile>
-    <profile>
-      <id>coverage</id>
-      <properties>
-        <skip.coverage>false</skip.coverage>
-      </properties>
-    </profile>
-
-    <profile>
-      <id>fast</id>
-      <build>
-        <pluginManagement>
-          <plugins>
-            <plugin>
-              <groupId>org.apache.maven.plugins</groupId>
-              <artifactId>maven-compiler-plugin</artifactId>
-              <executions>
-                <execution>
-                  <id>default</id>
-                  <goals>
-                    <goal>testCompile</goal>
-                  </goals>
-                  <configuration>
-                    <skip>true</skip>
-                  </configuration>
-                </execution>
-              </executions>
-            </plugin>
-            <plugin>
-              <groupId>org.apache.maven.plugins</groupId>
-              <artifactId>maven-resources-plugin</artifactId>
-              <version>3.1.0</version>
-              <executions>
-                <execution>
-                  <id>default</id>
-                  <goals>
-                    <goal>testResources</goal>
-                  </goals>
-                  <configuration>
-                    <skip>true</skip>
-                  </configuration>
-                </execution>
-              </executions>
-            </plugin>
-            <plugin>
-              <groupId>org.apache.maven.plugins</groupId>
-              <artifactId>maven-jar-plugin</artifactId>
-              <executions>
-                <execution>
-                  <id>default</id>
-                  <goals>
-                    <goal>test-jar</goal>
-                  </goals>
-                  <configuration>
-                    <skip>true</skip>
-                  </configuration>
-                </execution>
-              </executions>
-            </plugin>
-            <plugin>
-              <groupId>org.apache.maven.plugins</groupId>
-              <artifactId>maven-surefire-plugin</artifactId>
-              <configuration>
-                <skip>true</skip>
-              </configuration>
-            </plugin>
-            <plugin>
-              <groupId>org.apache.maven.plugins</groupId>
-              <artifactId>maven-failsafe-plugin</artifactId>
-              <configuration>
-                <skip>true</skip>
-              </configuration>
-            </plugin>
-            <plugin>
-              <groupId>org.apache.felix</groupId>
-              <artifactId>maven-bundle-plugin</artifactId>
-              <executions>
-                <execution>
-                  <id>baseline</id>
-                  <goals>
-                    <goal>baseline</goal>
-                  </goals>
-                  <configuration>
-                    <skip>true</skip>
-                  </configuration>
-                </execution>
-              </executions>
-            </plugin>
-            <plugin>
-              <groupId>org.jacoco</groupId>
-              <artifactId>jacoco-maven-plugin</artifactId>
-              <executions>
-                <execution>
-                  <id>pre-unit-test</id>
-                  <goals>
-                    <goal>prepare-agent</goal>
-                  </goals>
-                  <configuration>
-                    <skip>true</skip>
-                  </configuration>
-                </execution>
-                <execution>
-                  <id>post-unit-test</id>
-                  <goals>
-                    <goal>report</goal>
-                  </goals>
-                  <configuration>
-                    <skip>true</skip>
-                  </configuration>
-                </execution>
-              </executions>
-            </plugin>
-            <plugin>
-              <groupId>org.codehaus.mojo</groupId>
-              <artifactId>animal-sniffer-maven-plugin</artifactId>
-              <executions>
-                <execution>
-                  <id>animal-sniffer</id>
-                  <phase />
-                </execution>
-              </executions>
-            </plugin>
-          </plugins>
-        </pluginManagement>
-      </build>
-    </profile>
-  </profiles>
-
-  <scm>
-    <connection>scm:svn:https://svn.apache.org/repos/asf/jackrabbit/oak/branches/1.6/oak-parent</connection>
-    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/jackrabbit/oak/branches/1.6/oak-parent</developerConnection>
-    <url>https://svn.apache.org/repos/asf/jackrabbit/oak/branches/1.6/oak-parent</url>
-  </scm>
-</project>
+<?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</groupId>

+    <artifactId>apache</artifactId>

+    <version>18</version>

+    <relativePath />

+  </parent>

+

+  <groupId>org.apache.jackrabbit</groupId>

+  <artifactId>oak-parent</artifactId>

+  <name>Oak Parent POM</name>

+  <version>1.6.22</version>

+  <packaging>pom</packaging>

+

+  <properties>

+    <test.opts.memory>-Xmx512m -XX:MaxPermSize=64m</test.opts.memory>

+    <test.opts>${test.opts.coverage} ${test.opts.memory} -XX:+HeapDumpOnOutOfMemoryError -Dupdate.limit=100 -Djava.awt.headless=true</test.opts>

+    <skip.deployment>false</skip.deployment>

+    <skip.coverage>true</skip.coverage>

+    <known.issues />

+    <project.reporting.outputEncoding>

+      ${project.build.sourceEncoding}

+    </project.reporting.outputEncoding>

+    <jackrabbit.version>2.14.10</jackrabbit.version>

+    <mongo.host>127.0.0.1</mongo.host>

+    <mongo.port>27017</mongo.port>

+    <mongo.db>MongoMKDB</mongo.db>

+    <mongo.db2>MongoMKDB2</mongo.db2>

+    <segment.db>SegmentMK</segment.db>

+    <lucene.version>4.7.1</lucene.version>

+    <solr.version>8.6.3</solr.version>

+    <mongo.driver.version>3.6.4</mongo.driver.version>

+    <slf4j.api.version>1.7.26</slf4j.api.version>

+    <slf4j.version>1.7.26</slf4j.version> <!-- sync with logback version -->

+    <logback.version>1.2.3</logback.version>

+    <h2.version>1.4.194</h2.version>

+    <tika.version>1.18</tika.version>

+    <findbugs.version>3.0.5</findbugs.version>

+    <derby.version>10.12.1.1</derby.version>

+    <jackson.version>2.9.10</jackson.version>

+    <java.version>1.8</java.version>

+    <java.version.signature>java18</java.version.signature>

+    

+   <!-- specifies on which fixture to run the integration testing tests. 

+      override in profiles or provide from command line to change behaviour. Provide 

+      more fixtures space separated. See org.apache.jackrabbit.oak.jcr.FixturesHelper#AVAILABLE_FIXTURES 

+      for the possible values: SEGMENT_MK SEGMENT_TAR DOCUMENT_NS DOCUMENT_RDB -->

+    <fixtures>SEGMENT_TAR</fixtures>

+

+   <!-- whether skip the surefire unit testing during the integration testing. 

+      Override with -Dsurefire.skip.ut=true when needed -->

+    <surefire.skip.ut>false</surefire.skip.ut>

+  </properties>

+

+  <prerequisites>

+    <maven>3.2.1</maven>

+  </prerequisites>

+

+  <issueManagement>

+    <system>Jira</system>

+    <url>http://issues.apache.org/jira/browse/OAK</url>

+  </issueManagement>

+

+  <url>http://jackrabbit.apache.org/</url>

+  <inceptionYear>2012</inceptionYear>

+  <description>

+    The goal of the Oak effort within the Apache Jackrabbit™ project is

+    to implement a scalable and performant hierarchical content repository

+    for use as the foundation of modern world-class web sites and other

+    demanding content applications.

+  </description>

+

+  <build>

+    <pluginManagement>

+      <plugins>

+        <plugin>

+          <artifactId>maven-compiler-plugin</artifactId>

+          <version>3.8.0</version>

+          <configuration>

+            <target>${java.version}</target>

+            <source>${java.version}</source>

+          </configuration>

+        </plugin>

+        <plugin>

+          <groupId>org.codehaus.mojo</groupId>

+          <artifactId>animal-sniffer-maven-plugin</artifactId>

+          <version>1.16</version>

+          <configuration>

+            <signature>

+              <groupId>org.codehaus.mojo.signature</groupId>

+              <artifactId>${java.version.signature}</artifactId>

+              <version>1.0</version>

+            </signature>

+          </configuration>

+        </plugin>

+        <plugin>

+          <artifactId>maven-javadoc-plugin</artifactId>

+          <version>3.1.1</version>

+          <configuration>

+            <source>${java.version}</source>

+            <aggregate>true</aggregate>

+            <links>

+              <link>http://docs.oracle.com/javase/7/docs/api/</link>

+              <link>https://docs.adobe.com/docs/en/spec/javax.jcr/javadocs/jcr-2.0/</link>

+              <link>https://jackrabbit.apache.org/api/2.14/</link>

+            </links>

+          </configuration>

+        </plugin>

+        <plugin>

+          <groupId>org.apache.felix</groupId>

+          <artifactId>maven-bundle-plugin</artifactId>

+          <version>3.5.1</version>

+          <extensions>true</extensions>

+          <inherited>true</inherited>

+          <configuration>

+            <obrRepository>NONE</obrRepository>

+            <instructions>

+              <Bundle-Category>oak</Bundle-Category>

+              <Bundle-DocURL>

+                http://jackrabbit.apache.org/oak/

+              </Bundle-DocURL>

+              <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>

+              <!-- Don't default to bundle version for packages without explicit export version.

+                   See FELIX-5172 -->

+              <_nodefaultversion>true</_nodefaultversion>

+            </instructions>

+          </configuration>

+          <!-- OAK-3041: use updated Bnd -->

+          <dependencies>

+            <dependency>

+              <groupId>biz.aQute.bnd</groupId>

+              <artifactId>bndlib</artifactId>

+              <version>2.4.0</version>

+            </dependency>

+          </dependencies>

+          <executions>

+            <execution>

+              <id>baseline</id>

+              <goals>

+                <goal>baseline</goal>

+              </goals>

+              <phase>pre-integration-test</phase>

+              <configuration>

+                <logResults>false</logResults>

+                <failOnWarning>false</failOnWarning>

+                <failOnError>true</failOnError>

+                <filters>

+                  <!-- Disable baseline for explicitly NOT managed packages. See OAK-3842 -->

+                  <filter>!org.apache.jackrabbit.oak.cache</filter>

+                  <filter>!org.apache.jackrabbit.oak.commons</filter>

+                  <filter>!org.apache.jackrabbit.oak.commons.benchmark</filter>

+                  <filter>!org.apache.jackrabbit.oak.commons.cache</filter>

+                  <filter>!org.apache.jackrabbit.oak.commons.concurrent</filter>

+                  <filter>!org.apache.jackrabbit.oak.commons.io</filter>

+                  <filter>!org.apache.jackrabbit.oak.commons.jmx</filter>

+                  <filter>!org.apache.jackrabbit.oak.commons.json</filter>

+                  <filter>!org.apache.jackrabbit.oak.commons.sort</filter>

+                  <filter>!org.apache.jackrabbit.oak.spi.blob</filter>

+                  <filter>!org.apache.jackrabbit.oak.spi.blob.split</filter>

+                  <filter>!org.apache.jackrabbit.oak.spi.blob.stats</filter>

+                  <filter>!org.apache.jackrabbit.oak.blob.cloud.aws.s3</filter>

+                  <filter>!org.apache.jackrabbit.oak.blob.cloud.azure.blobstorage</filter>

+                  <filter>!org.apache.jackrabbit.oak</filter>

+                  <filter>!org.apache.jackrabbit.oak.json</filter>

+                  <filter>!org.apache.jackrabbit.oak.management</filter>

+                  <filter>!org.apache.jackrabbit.oak.namepath</filter>

+                  <filter>!org.apache.jackrabbit.oak.osgi</filter>

+                  <filter>!org.apache.jackrabbit.oak.plugins.atomic</filter>

+                  <filter>!org.apache.jackrabbit.oak.plugins.blob</filter>

+                  <filter>!org.apache.jackrabbit.oak.plugins.blob.datastore</filter>

+                  <filter>!org.apache.jackrabbit.oak.plugins.commit</filter>

+                  <filter>!org.apache.jackrabbit.oak.plugins.identifier</filter>

+                  <filter>!org.apache.jackrabbit.oak.plugins.index</filter>

+                  <filter>!org.apache.jackrabbit.oak.plugins.index.aggregate</filter>

+                  <filter>!org.apache.jackrabbit.oak.plugins.index.counter</filter>

+                  <filter>!org.apache.jackrabbit.oak.plugins.index.fulltext</filter>

+                  <filter>!org.apache.jackrabbit.oak.plugins.index.nodetype</filter>

+                  <filter>!org.apache.jackrabbit.oak.plugins.index.property</filter>

+                  <filter>!org.apache.jackrabbit.oak.plugins.index.property.jmx</filter>

+                  <filter>!org.apache.jackrabbit.oak.plugins.index.reference</filter>

+                  <filter>!org.apache.jackrabbit.oak.plugins.itemsave</filter>

+                  <filter>!org.apache.jackrabbit.oak.plugins.lock</filter>

+                  <filter>!org.apache.jackrabbit.oak.plugins.memory</filter>

+                  <filter>!org.apache.jackrabbit.oak.plugins.name</filter>

+                  <filter>!org.apache.jackrabbit.oak.plugins.nodetype</filter>

+                  <filter>!org.apache.jackrabbit.oak.plugins.nodetype.write</filter>

+                  <filter>!org.apache.jackrabbit.oak.plugins.observation</filter>

+                  <filter>!org.apache.jackrabbit.oak.plugins.observation.filter</filter>

+                  <filter>!org.apache.jackrabbit.oak.plugins.value</filter>

+                  <filter>!org.apache.jackrabbit.oak.plugins.version</filter>

+                  <filter>!org.apache.jackrabbit.oak.query</filter>

+                  <filter>!org.apache.jackrabbit.oak.query.fulltext</filter>

+                  <filter>!org.apache.jackrabbit.oak.security</filter>

+                  <filter>!org.apache.jackrabbit.oak.spi.commit</filter>

+                  <filter>!org.apache.jackrabbit.oak.spi.gc</filter>

+                  <filter>!org.apache.jackrabbit.oak.spi.lifecycle</filter>

+                  <filter>!org.apache.jackrabbit.oak.spi.query</filter>

+                  <filter>!org.apache.jackrabbit.oak.spi.state</filter>

+                  <filter>!org.apache.jackrabbit.oak.spi.whiteboard</filter>

+                  <filter>!org.apache.jackrabbit.oak.spi.xml</filter>

+                  <filter>!org.apache.jackrabbit.oak.stats</filter>

+                  <filter>!org.apache.jackrabbit.oak.util</filter>

+                  <filter>!org.apache.jackrabbit.oak.jcr</filter>

+                  <filter>!org.apache.jackrabbit.oak.plugins.index.lucene</filter>

+                  <filter>!org.apache.jackrabbit.oak.plugins.index.lucene.util</filter>

+                  <filter>!org.apache.jackrabbit.oak.security.authentication.ldap</filter>

+                  <filter>!org.apache.jackrabbit.oak.plugins.backup</filter>

+                  <filter>!org.apache.jackrabbit.oak.plugins.segment</filter>

+                  <filter>!org.apache.jackrabbit.oak.plugins.segment.file</filter>

+                  <filter>!org.apache.jackrabbit.oak.plugins.segment.http</filter>

+                  <filter>!org.apache.jackrabbit.oak.plugins.index.solr</filter>

+                  <filter>!org.apache.jackrabbit.oak.plugins.index.solr.configuration</filter>

+                  <filter>!org.apache.jackrabbit.oak.plugins.index.solr.index</filter>

+                  <filter>!org.apache.jackrabbit.oak.plugins.index.solr.query</filter>

+                  <filter>!org.apache.jackrabbit.oak.plugins.index.solr.server</filter>

+                  <filter>!org.apache.jackrabbit.oak.plugins.index.solr.util</filter>

+                  <filter>*</filter>

+                </filters>

+              </configuration>

+            </execution>

+          </executions>

+        </plugin>

+        <plugin>

+          <groupId>org.apache.felix</groupId>

+          <artifactId>maven-scr-plugin</artifactId>

+          <version>1.21.0</version>

+          <executions>

+            <execution>

+              <id>generate-scr-scrdescriptor</id>

+              <goals>

+                <goal>scr</goal>

+              </goals>

+              <configuration>

+                <properties>

+                  <service.vendor>The Apache Software Foundation</service.vendor>

+                </properties>

+              </configuration>

+            </execution>

+          </executions>

+        </plugin>

+        <plugin>

+          <artifactId>maven-deploy-plugin</artifactId>

+          <version>2.8.2</version>

+          <configuration>

+            <skip>${skip.deployment}</skip>

+          </configuration>

+        </plugin>

+        <plugin>

+          <artifactId>maven-release-plugin</artifactId>

+          <version>2.5.3</version>

+          <configuration>

+            <autoVersionSubmodules>true</autoVersionSubmodules>

+          </configuration>

+        </plugin>

+        <plugin>

+          <groupId>org.apache.maven.plugins</groupId>

+          <artifactId>maven-assembly-plugin</artifactId>

+          <version>3.0.0</version>

+        </plugin>

+        <plugin>

+          <groupId>org.apache.rat</groupId>

+          <artifactId>apache-rat-plugin</artifactId>

+          <version>0.12</version>

+        </plugin>

+        <plugin>

+          <artifactId>maven-surefire-plugin</artifactId>

+          <version>2.22.2</version>

+          <configuration>

+            <argLine>${test.opts}</argLine>

+            <systemPropertyVariables>

+              <known.issues>${known.issues}</known.issues>

+              <mongo.host>${mongo.host}</mongo.host>

+              <mongo.port>${mongo.port}</mongo.port>

+              <mongo.db>${mongo.db}</mongo.db>

+              <mongo.db2>${mongo.db2}</mongo.db2>

+              <segment.db>${segment.db}</segment.db>

+              <nsfixtures>${fixtures}</nsfixtures>

+              <derby.stream.error.file>${project.build.directory}/derby.log</derby.stream.error.file>

+            </systemPropertyVariables>

+            <redirectTestOutputToFile>true</redirectTestOutputToFile>

+          </configuration>

+        </plugin>

+        <plugin>

+          <artifactId>maven-failsafe-plugin</artifactId>

+          <version>2.22.2</version>

+          <configuration>

+            <argLine>${test.opts}</argLine>

+            <systemPropertyVariables>

+              <known.issues>${known.issues}</known.issues>

+              <mongo.host>${mongo.host}</mongo.host>

+              <mongo.port>${mongo.port}</mongo.port>

+              <mongo.db>${mongo.db}</mongo.db>

+              <mongo.db2>${mongo.db2}</mongo.db2>

+              <nsfixtures>${fixtures}</nsfixtures>

+              <derby.stream.error.file>${project.build.directory}/derby.log</derby.stream.error.file>

+            </systemPropertyVariables>

+          </configuration>

+        </plugin>

+          <plugin>

+            <artifactId>maven-checkstyle-plugin</artifactId>

+            <version>3.0.0</version>

+          </plugin>

+          <plugin>

+            <groupId>org.codehaus.mojo</groupId>

+            <artifactId>findbugs-maven-plugin</artifactId>

+            <version>${findbugs.version}</version>

+          </plugin>

+        <!-- This plugin's configuration is used to store Eclipse m2e      -->

+        <!-- settings only. It has no influence on the Maven build itself. -->

+        <plugin>

+          <groupId>org.eclipse.m2e</groupId>

+          <artifactId>lifecycle-mapping</artifactId>

+          <version>1.0.0</version>

+          <configuration>

+            <lifecycleMappingMetadata>

+              <pluginExecutions>

+                <pluginExecution>

+                  <pluginExecutionFilter>

+                    <groupId>org.apache.felix</groupId>

+                    <artifactId>maven-scr-plugin</artifactId>

+                    <versionRange>[1.7.4,)</versionRange>

+                    <goals>

+                      <goal>scr</goal>

+                    </goals>

+                  </pluginExecutionFilter>

+                  <action>

+                    <execute />

+                  </action>

+                </pluginExecution>

+                <pluginExecution>

+                  <pluginExecutionFilter>

+                    <groupId>org.codehaus.mojo</groupId>

+                    <artifactId>build-helper-maven-plugin</artifactId>

+                    <versionRange>[1.7,)</versionRange>

+                    <goals>

+                      <goal>reserve-network-port</goal>

+                    </goals>

+                  </pluginExecutionFilter>

+                  <action>

+                    <execute />

+                  </action>

+                </pluginExecution>

+                <pluginExecution>

+                  <pluginExecutionFilter>

+                    <groupId>org.jacoco</groupId>

+                    <artifactId>jacoco-maven-plugin</artifactId>

+                    <versionRange>[0.7.1.201405082137,)</versionRange>

+                    <goals>

+                      <goal>prepare-agent</goal>

+                    </goals>

+                  </pluginExecutionFilter>

+                  <action>

+                    <ignore />

+                  </action>

+                </pluginExecution>

+              </pluginExecutions>

+            </lifecycleMappingMetadata>

+          </configuration>

+        </plugin>

+        <plugin>

+          <groupId>org.apache.maven.plugins</groupId>

+          <artifactId>maven-site-plugin</artifactId>

+          <version>3.7.1</version>

+          <configuration>

+            <generateReports>false</generateReports>

+            <skip>true</skip>

+            <skipDeploy>true</skipDeploy>

+          </configuration>

+          <dependencies>

+            <dependency>

+              <groupId>org.apache.maven.doxia</groupId>

+              <artifactId>doxia-module-markdown</artifactId>

+              <version>1.7</version>

+            </dependency>

+          </dependencies>

+        </plugin>

+        <plugin>

+          <groupId>org.apache.maven.plugins</groupId>

+          <artifactId>maven-scm-publish-plugin</artifactId>

+          <version>3.0.0</version>

+        </plugin>

+        <plugin>

+          <groupId>org.apache.maven.plugins</groupId>

+          <artifactId>maven-project-info-reports-plugin</artifactId>

+          <version>3.0.0</version>

+        </plugin>

+        <plugin>

+          <groupId>org.jacoco</groupId>

+          <artifactId>jacoco-maven-plugin</artifactId>

+          <version>0.8.3</version>

+        </plugin>

+      </plugins>

+    </pluginManagement>

+    <plugins>

+      <plugin>

+        <groupId>org.jacoco</groupId>

+        <artifactId>jacoco-maven-plugin</artifactId>

+        <executions>

+          <execution>

+            <id>pre-unit-test</id>

+            <goals>

+              <goal>prepare-agent</goal>

+            </goals>

+            <configuration>

+              <skip>${skip.coverage}</skip>

+              <destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile>

+              <propertyName>test.opts.coverage</propertyName>

+            </configuration>

+          </execution>

+          <execution>

+            <id>post-unit-test</id>

+            <phase>test</phase>

+            <goals>

+              <goal>report</goal>

+            </goals>

+            <configuration>

+              <skip>${skip.coverage}</skip>

+              <dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile>

+              <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>

+            </configuration>

+          </execution>

+        </executions>

+      </plugin>

+      <plugin>

+        <groupId>org.apache.maven.plugins</groupId>

+        <artifactId>maven-jar-plugin</artifactId>

+        <version>3.1.2</version>

+        <executions>

+          <execution>

+            <goals>

+              <goal>test-jar</goal>

+            </goals>

+            <configuration>

+              <excludes>

+                <exclude>logback-test.xml</exclude>

+              </excludes>

+            </configuration>

+          </execution>

+        </executions>

+      </plugin>

+      <plugin>

+        <groupId>org.codehaus.mojo</groupId>

+        <artifactId>animal-sniffer-maven-plugin</artifactId>

+        <executions>

+          <execution>

+            <id>animal-sniffer</id>

+            <phase>compile</phase>

+            <goals>

+              <goal>check</goal>

+            </goals>

+          </execution>

+        </executions>

+      </plugin>

+    </plugins>

+  </build>

+

+  <reporting>

+    <plugins>

+      <plugin>

+        <groupId>org.apache.maven.plugins</groupId>

+        <artifactId>maven-project-info-reports-plugin</artifactId>

+        <!--avoid child modules from inheriting anything from the apache parent pom -->

+        <inherited>false</inherited>

+      </plugin>

+    </plugins>

+  </reporting>

+

+  <dependencyManagement>

+    <dependencies>

+      <dependency>

+        <groupId>org.osgi</groupId>

+        <artifactId>org.osgi.core</artifactId>

+        <version>4.2.0</version>

+      </dependency>

+      <dependency>

+        <groupId>org.osgi</groupId>

+        <artifactId>org.osgi.compendium</artifactId>

+        <version>4.2.0</version>

+      </dependency>

+      <dependency>

+        <groupId>biz.aQute.bnd</groupId>

+        <artifactId>bndlib</artifactId>

+        <version>2.2.0</version>

+      </dependency>

+      <dependency>

+        <groupId>org.apache.felix</groupId>

+        <artifactId>org.apache.felix.scr.annotations</artifactId>

+        <version>1.9.6</version>

+      </dependency>

+      <dependency>

+        <groupId>com.google.code.findbugs</groupId>

+        <artifactId>jsr305</artifactId>

+        <version>2.0.0</version>

+        <scope>provided</scope>

+      </dependency>

+      <dependency>

+        <groupId>junit</groupId>

+        <artifactId>junit</artifactId>

+        <version>4.12</version>

+      </dependency>

+      <dependency>

+        <groupId>org.mongodb</groupId>

+        <artifactId>mongo-java-driver</artifactId>

+        <version>${mongo.driver.version}</version>

+      </dependency>

+      <dependency>

+        <groupId>com.google.guava</groupId>

+        <artifactId>guava</artifactId>

+        <version>15.0</version>

+      </dependency>

+      <dependency>

+        <groupId>org.easymock</groupId>

+        <artifactId>easymock</artifactId>

+        <version>3.6</version>

+      </dependency>

+      <dependency>

+        <groupId>org.slf4j</groupId>

+        <artifactId>slf4j-api</artifactId>

+        <version>${slf4j.api.version}</version>

+      </dependency>

+      <dependency>

+        <groupId>org.slf4j</groupId>

+        <artifactId>slf4j-simple</artifactId>

+        <version>${slf4j.version}</version>

+      </dependency>

+      <dependency>

+        <groupId>org.slf4j</groupId>

+        <artifactId>log4j-over-slf4j</artifactId>

+        <version>${slf4j.version}</version>

+      </dependency>

+      <dependency>

+        <groupId>org.slf4j</groupId>

+        <artifactId>jcl-over-slf4j</artifactId>

+        <version>${slf4j.version}</version>

+      </dependency>

+      <dependency>

+        <groupId>org.slf4j</groupId>

+        <artifactId>jul-to-slf4j</artifactId>

+        <version>${slf4j.version}</version>

+      </dependency>

+      <dependency>

+        <groupId>ch.qos.logback</groupId>

+        <artifactId>logback-classic</artifactId>

+        <version>${logback.version}</version>

+      </dependency>

+      <dependency>

+        <groupId>ch.qos.logback</groupId>

+        <artifactId>logback-core</artifactId>

+        <version>${logback.version}</version>

+      </dependency>

+      <dependency>

+        <groupId>org.apache.jclouds.provider</groupId>

+        <artifactId>aws-s3</artifactId>

+        <version>1.7.0</version>

+      </dependency>

+      <dependency>

+        <groupId>org.apache.sling</groupId>

+        <artifactId>org.apache.sling.testing.osgi-mock</artifactId>

+        <version>1.3.0</version>

+        <scope>test</scope>

+      </dependency>

+      <dependency>

+        <groupId>commons-lang</groupId>

+        <artifactId>commons-lang</artifactId>

+        <version>2.6</version>

+      </dependency>

+      <dependency>

+        <groupId>commons-io</groupId>

+        <artifactId>commons-io</artifactId>

+        <version>2.6</version>

+      </dependency>

+      <dependency>

+        <groupId>commons-codec</groupId>

+        <artifactId>commons-codec</artifactId>

+        <version>1.13</version>

+      </dependency>

+      <dependency>

+        <groupId>org.apache.commons</groupId>

+        <artifactId>commons-math3</artifactId>

+        <version>3.6.1</version>

+      </dependency>

+      <dependency>

+        <groupId>org.apache.tomcat</groupId>

+        <artifactId>tomcat-jdbc</artifactId>

+        <version>8.5.43</version>

+      </dependency>

+      <dependency>

+        <groupId>org.apache.tomcat</groupId>

+        <artifactId>tomcat-juli</artifactId>

+        <version>8.5.43</version>

+      </dependency>

+      <dependency>

+        <groupId>com.fasterxml.jackson.core</groupId>

+        <artifactId>jackson-annotations</artifactId>

+        <version>${jackson.version}</version>

+      </dependency>

+      <dependency>

+        <groupId>com.fasterxml.jackson.core</groupId>

+        <artifactId>jackson-core</artifactId>

+        <version>${jackson.version}</version>

+      </dependency>

+      <dependency>

+        <groupId>com.fasterxml.jackson.core</groupId>

+        <artifactId>jackson-databind</artifactId>

+        <version>${jackson.version}.1<!--OAK-8709--></version>

+      </dependency>

+      <dependency>

+        <groupId>com.fasterxml.jackson.dataformat</groupId>

+        <artifactId>jackson-dataformat-smile</artifactId>

+        <version>${jackson.version}</version>

+      </dependency>

+      <dependency>

+        <groupId>org.apache.httpcomponents</groupId>

+        <artifactId>httpclient</artifactId>

+        <version>4.5.10</version>

+      </dependency>

+      <dependency>

+        <groupId>org.apache.httpcomponents</groupId>

+        <artifactId>httpclient-osgi</artifactId>

+        <version>4.5.10</version>

+      </dependency>

+      <dependency>

+        <groupId>org.apache.httpcomponents</groupId>

+        <artifactId>httpcore</artifactId>

+        <version>4.4.12</version>

+      </dependency>

+      <dependency>

+        <groupId>org.apache.httpcomponents</groupId>

+        <artifactId>httpcore-osgi</artifactId>

+        <version>4.4.12</version>

+     </dependency>

+      <dependency>

+        <groupId>org.apache.httpcomponents</groupId>

+        <artifactId>httpmime</artifactId>

+        <version>4.5.10</version>

+      </dependency>

+    </dependencies>

+  </dependencyManagement>

+

+  <profiles>

+    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  Unit testing profiles -->

+    <profile>

+         <id>unittesting</id>

+         <properties>

+            <!-- emptying $fixtures means run on all -->

+            <fixtures />

+         </properties>

+         <build>

+            <plugins>

+              <plugin>

+                <artifactId>maven-surefire-plugin</artifactId>

+              </plugin>

+            </plugins>

+         </build>

+    </profile>

+    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Integration testing profiles -->

+    <profile>

+      <!-- runs all the IT agains the default fixture. See <properties> section -->

+      <id>integrationTesting</id>

+      <activation>

+        <property>

+          <name>env.OAK_INTEGRATION_TESTING</name>

+        </property>

+      </activation>

+      <build>

+        <plugins>

+           <plugin>

+             <artifactId>maven-surefire-plugin</artifactId>

+             <configuration>

+               <skipTests>${surefire.skip.ut}</skipTests>

+             </configuration>

+           </plugin>

+          <plugin>

+            <artifactId>maven-failsafe-plugin</artifactId>

+            <executions>

+              <execution>

+                <goals>

+                  <goal>integration-test</goal>

+                  <goal>verify</goal>

+                </goals>

+              </execution>

+            </executions>

+          </plugin>

+        </plugins>

+      </build>

+    </profile>

+

+   <!--  - - - - - - - - - - - - - - - - - - - will run all the required tests before a release -->

+   <profile>

+      <id>release</id>

+      <properties>

+         <nsfixtures />

+         <rdb.jdbc-url>jdbc:derby:./target/derby-release-test;create=true</rdb.jdbc-url>

+         <derby.stream.error.file>${project.build.directory}/derby.log</derby.stream.error.file>

+      </properties>

+      <build>

+         <plugins>

+            <plugin>

+               <artifactId>maven-surefire-plugin</artifactId>

+               <configuration>

+                    <systemProperties>

+                        <derby.stream.error.file>${project.build.directory}/derby.log</derby.stream.error.file>

+                    </systemProperties>

+               </configuration>

+            </plugin>

+             <plugin>

+               <artifactId>maven-failsafe-plugin</artifactId>

+               <executions>

+                  <execution>

+                     <goals>

+                        <goal>integration-test</goal>

+                        <goal>verify</goal>

+                     </goals>

+                     <configuration>

+                        <systemProperties>

+                            <derby.stream.error.file>${project.build.directory}/derby.log</derby.stream.error.file>

+                        </systemProperties>

+                     </configuration>

+                  </execution>

+               </executions>

+            </plugin>

+            <plugin>

+               <groupId>org.apache.rat</groupId>

+               <artifactId>apache-rat-plugin</artifactId>

+               <executions>

+                  <execution>

+                     <phase>verify</phase>

+                     <goals>

+                        <goal>check</goal>

+                     </goals>

+                  </execution>

+               </executions>

+            </plugin>

+            <plugin>

+               <artifactId>maven-checkstyle-plugin</artifactId>

+               <configuration>

+                  <failOnViolation>false</failOnViolation>

+               </configuration>

+               <executions>

+                  <execution>

+                     <goals>

+                        <goal>check</goal>

+                     </goals>

+                  </execution>

+               </executions>

+            </plugin>

+            <plugin>

+               <groupId>org.codehaus.mojo</groupId>

+               <artifactId>findbugs-maven-plugin</artifactId>

+               <version>${findbugs.version}</version>

+               <configuration>

+                  <failOnError>false</failOnError>

+               </configuration>

+               <executions>

+                  <execution>

+                     <goals>

+                        <goal>check</goal>

+                     </goals>

+                  </execution>

+               </executions>

+            </plugin>

+         </plugins>

+      </build>

+      <dependencies>

+         <dependency>

+            <groupId>org.apache.derby</groupId>

+            <artifactId>derby</artifactId>

+            <version>${derby.version}</version>

+         </dependency>

+      </dependencies>

+   </profile>

+   

+    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - other profiles -->

+

+   <profile>

+      <id>longevity</id>

+      <build>

+         <plugins>

+            <plugin>

+               <artifactId>maven-surefire-plugin</artifactId>

+               <configuration>

+                  <skipTests>true</skipTests>

+               </configuration>

+            </plugin>

+            <plugin>

+               <artifactId>maven-failsafe-plugin</artifactId>

+               <executions>

+                  <execution>

+                     <goals>

+                        <goal>integration-test</goal>

+                        <goal>verify</goal>

+                     </goals>

+                  </execution>

+               </executions>

+               <configuration>

+               <includes>

+                <include>**/*LT.java</include>

+               </includes>

+               </configuration>

+            </plugin>

+         </plugins>

+      </build>

+   </profile>

+    

+    <profile>

+      <id>rat</id>

+      <build>

+        <plugins>

+          <plugin>

+            <groupId>org.apache.rat</groupId>

+            <artifactId>apache-rat-plugin</artifactId>

+            <executions>

+              <execution>

+                <phase>verify</phase>

+                <goals>

+                  <goal>check</goal>

+                </goals>

+              </execution>

+            </executions>

+          </plugin>

+           <plugin>

+             <artifactId>maven-surefire-plugin</artifactId>

+             <configuration>

+               <!-- run a test to prevent Jenkins from failing because no test ran -->

+               <test>PathUtilsTest</test>

+               <failIfNoSpecifiedTests>false</failIfNoSpecifiedTests>

+             </configuration>

+           </plugin>

+        </plugins>

+      </build>

+    </profile>

+    <profile>

+      <id>pedantic</id>

+      <build>

+        <plugins>

+          <plugin>

+            <groupId>org.apache.rat</groupId>

+            <artifactId>apache-rat-plugin</artifactId>

+            <executions>

+              <execution>

+                <phase>verify</phase>

+                <goals>

+                  <goal>check</goal>

+                </goals>

+              </execution>

+            </executions>

+          </plugin>

+          <plugin>

+            <artifactId>maven-checkstyle-plugin</artifactId>

+            <configuration>

+              <failOnViolation>false</failOnViolation>

+            </configuration>

+            <executions>

+              <execution>

+                <goals>

+                  <goal>check</goal>

+                </goals>

+              </execution>

+            </executions>

+          </plugin>

+          <plugin>

+            <groupId>org.codehaus.mojo</groupId>

+            <artifactId>findbugs-maven-plugin</artifactId>

+            <version>${findbugs.version}</version>

+            <configuration>

+              <failOnError>false</failOnError>

+            </configuration>

+            <executions>

+              <execution>

+                <goals>

+                  <goal>check</goal>

+                </goals>

+              </execution>

+            </executions>

+          </plugin>

+           <plugin>

+             <artifactId>maven-surefire-plugin</artifactId>

+             <configuration>

+               <skipTests>${surefire.skip.ut}</skipTests>

+             </configuration>

+           </plugin>

+        </plugins>

+      </build>

+    </profile>

+    <profile>

+      <id>rdb-derby</id>

+      <dependencies>

+        <dependency>

+          <groupId>org.apache.derby</groupId>

+          <artifactId>derby</artifactId>

+          <version>${derby.version}</version>

+        </dependency>

+      </dependencies>

+    </profile>

+    <profile>

+      <id>rdb-mysql</id>

+      <dependencies>

+        <dependency>

+          <groupId>mysql</groupId>

+          <artifactId>mysql-connector-java</artifactId>

+          <version>5.1.46</version>

+        </dependency>

+      </dependencies>

+    </profile>

+    <profile>

+      <id>rdb-postgres</id>

+      <dependencies>

+        <dependency>

+          <groupId>org.postgresql</groupId>

+          <artifactId>postgresql</artifactId>

+          <version>42.2.5.jre7</version>

+        </dependency>

+      </dependencies>

+    </profile>

+    <profile>

+      <id>rdb-h2</id>

+      <dependencies>

+        <dependency>

+          <groupId>com.h2database</groupId>

+          <artifactId>h2</artifactId>

+          <version>${h2.version}</version>

+        </dependency>

+      </dependencies>

+    </profile>

+    <profile>

+      <id>rdb-mssql</id>

+      <dependencies>

+        <dependency>

+          <groupId>com.microsoft.sqlserver</groupId>

+          <artifactId>mssql-jdbc</artifactId>

+          <version>6.4.0.jre7</version>

+        </dependency>

+      </dependencies>

+    </profile>

+    <profile>

+      <!-- requires local copy of Oracle JDBC driver deployed to Maven repo -->

+      <!-- for instance:

+        mvn install:install-file -Dfile=ojdbc8.jar -Dpackaging=jar\

+          -DgroupId=com.oracle.jdbc -DartifactId=ojdbc8 -Dversion=12.2.0.1

+      -->

+      <!-- or see https://blogs.oracle.com/dev2dev/get-oracle-jdbc-drivers-and-ucp-from-oracle-maven-repository-without-ides -->

+      <id>rdb-oracle</id>

+      <dependencies>

+        <dependency>

+          <groupId>com.oracle.jdbc</groupId>

+          <artifactId>ojdbc8</artifactId>

+          <version>12.2.0.1</version>

+        </dependency>

+      </dependencies>

+    </profile>

+    <profile>

+      <!-- requires local copy of IBM DB2 JDBC drivers deployed to Maven repo-->

+      <!-- for instance:

+        mvn install:install-file -Dfile=db2jcc4.jar -Dpackaging=jar\

+          -DgroupId=com.ibm.db2 -DartifactId=db2 -Dversion=4.19.77

+       -->

+      <id>rdb-db2</id>

+      <dependencies>

+        <dependency>

+          <groupId>com.ibm.db2</groupId>

+          <artifactId>db2</artifactId>

+          <version>4.19.77</version>

+        </dependency>

+      </dependencies>

+    </profile>

+    <profile>

+      <id>java8</id>

+      <activation>

+        <jdk>[1.8,)</jdk>

+      </activation>

+      <properties>

+        <test.opts.memory>-Xmx512m</test.opts.memory>

+      </properties>

+    </profile>

+    <profile>

+      <id>coverage</id>

+      <properties>

+        <skip.coverage>false</skip.coverage>

+      </properties>

+    </profile>

+

+    <profile>

+      <id>fast</id>

+      <build>

+        <pluginManagement>

+          <plugins>

+            <plugin>

+              <groupId>org.apache.maven.plugins</groupId>

+              <artifactId>maven-compiler-plugin</artifactId>

+              <executions>

+                <execution>

+                  <id>default</id>

+                  <goals>

+                    <goal>testCompile</goal>

+                  </goals>

+                  <configuration>

+                    <skip>true</skip>

+                  </configuration>

+                </execution>

+              </executions>

+            </plugin>

+            <plugin>

+              <groupId>org.apache.maven.plugins</groupId>

+              <artifactId>maven-resources-plugin</artifactId>

+              <version>3.1.0</version>

+              <executions>

+                <execution>

+                  <id>default</id>

+                  <goals>

+                    <goal>testResources</goal>

+                  </goals>

+                  <configuration>

+                    <skip>true</skip>

+                  </configuration>

+                </execution>

+              </executions>

+            </plugin>

+            <plugin>

+              <groupId>org.apache.maven.plugins</groupId>

+              <artifactId>maven-jar-plugin</artifactId>

+              <executions>

+                <execution>

+                  <id>default</id>

+                  <goals>

+                    <goal>test-jar</goal>

+                  </goals>

+                  <configuration>

+                    <skip>true</skip>

+                  </configuration>

+                </execution>

+              </executions>

+            </plugin>

+            <plugin>

+              <groupId>org.apache.maven.plugins</groupId>

+              <artifactId>maven-surefire-plugin</artifactId>

+              <configuration>

+                <skip>true</skip>

+              </configuration>

+            </plugin>

+            <plugin>

+              <groupId>org.apache.maven.plugins</groupId>

+              <artifactId>maven-failsafe-plugin</artifactId>

+              <configuration>

+                <skip>true</skip>

+              </configuration>

+            </plugin>

+            <plugin>

+              <groupId>org.apache.felix</groupId>

+              <artifactId>maven-bundle-plugin</artifactId>

+              <executions>

+                <execution>

+                  <id>baseline</id>

+                  <goals>

+                    <goal>baseline</goal>

+                  </goals>

+                  <configuration>

+                    <skip>true</skip>

+                  </configuration>

+                </execution>

+              </executions>

+            </plugin>

+            <plugin>

+              <groupId>org.jacoco</groupId>

+              <artifactId>jacoco-maven-plugin</artifactId>

+              <executions>

+                <execution>

+                  <id>pre-unit-test</id>

+                  <goals>

+                    <goal>prepare-agent</goal>

+                  </goals>

+                  <configuration>

+                    <skip>true</skip>

+                  </configuration>

+                </execution>

+                <execution>

+                  <id>post-unit-test</id>

+                  <goals>

+                    <goal>report</goal>

+                  </goals>

+                  <configuration>

+                    <skip>true</skip>

+                  </configuration>

+                </execution>

+              </executions>

+            </plugin>

+            <plugin>

+              <groupId>org.codehaus.mojo</groupId>

+              <artifactId>animal-sniffer-maven-plugin</artifactId>

+              <executions>

+                <execution>

+                  <id>animal-sniffer</id>

+                  <phase />

+                </execution>

+              </executions>

+            </plugin>

+          </plugins>

+        </pluginManagement>

+      </build>

+    </profile>

+  </profiles>

+

+  <scm>

+    <connection>scm:svn:https://svn.apache.org/repos/asf/jackrabbit/oak/branches/1.6/oak-parent</connection>

+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/jackrabbit/oak/branches/1.6/oak-parent</developerConnection>

+    <url>https://svn.apache.org/repos/asf/jackrabbit/oak/branches/1.6/oak-parent</url>

+    <tag>jackrabbit-oak-1.6.22</tag>

+  </scm>

+</project>

diff --git a/oak-pojosr/pom.xml b/oak-pojosr/pom.xml
index 594ae66..aff49a6 100644
--- a/oak-pojosr/pom.xml
+++ b/oak-pojosr/pom.xml
@@ -1,311 +1,311 @@
-<?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-SNAPSHOT</version>
-    <relativePath>../oak-parent/pom.xml</relativePath>
-  </parent>
-
-  <artifactId>oak-pojosr</artifactId>
-  <name>Oak PojoSR</name>
-
-  <properties>
-    <skip.deployment>true</skip.deployment>
-    <groovy.version>2.3.1</groovy.version>
-  </properties>
-
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.codehaus.gmaven</groupId>
-        <artifactId>gmaven-plugin</artifactId>
-        <version>1.5</version>
-        <!--suppress MavenModelInspection -->
-        <configuration>
-          <providerSelection>2.0</providerSelection>
-          <sourceEncoding>UTF-8</sourceEncoding>
-        </configuration>
-        <executions>
-          <execution>
-            <goals>
-              <goal>generateTestStubs</goal>
-              <goal>testCompile</goal>
-            </goals>
-          </execution>
-        </executions>
-        <dependencies>
-          <dependency>
-            <groupId>org.codehaus.groovy</groupId>
-            <artifactId>groovy-all</artifactId>
-            <version>${groovy.version}</version>
-          </dependency>
-        </dependencies>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.rat</groupId>
-        <artifactId>apache-rat-plugin</artifactId>
-        <configuration>
-          <excludes>
-            <exclude>**/org.apache.felix.jaas.Configuration.factory-GuestLoginModule.config</exclude>
-            <exclude>**/org.apache.felix.jaas.Configuration.factory-LoginModuleImpl.config</exclude>
-            <exclude>**/org.apache.felix.jaas.Configuration.factory-TokenLoginModule.config</exclude>
-            <exclude>**/org.apache.felix.jaas.ConfigurationSpi.config</exclude>
-            <exclude>**/org.apache.jackrabbit.oak.jcr.osgi.RepositoryManager.config</exclude>
-            <exclude>**/org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl.config</exclude>
-            <exclude>**/org.apache.jackrabbit.oak.security.user.UserConfigurationImpl.config</exclude>
-            <exclude>**/org.apache.jackrabbit.oak.spi.security.user.action.DefaultAuthorizableActionProvider.config</exclude>
-            <exclude>**/org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreService.config</exclude>
-            <exclude>**/org.apache.jackrabbit.oak.segment.SegmentNodeStoreService.config</exclude>
-            <exclude>**/oak-base-config.json</exclude>
-            <exclude>**/oak-tar-config.json</exclude>
-          </excludes>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-
-  <dependencies>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-segment</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-segment-tar</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-jcr</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.mongodb</groupId>
-      <artifactId>mongo-java-driver</artifactId>
-      <optional>true</optional>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>jackrabbit-data</artifactId>
-      <version>${jackrabbit.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>commons-io</groupId>
-      <artifactId>commons-io</artifactId>
-    </dependency>
-
-    <!-- Required to route OSGi LogEvents to Slf4j-->
-    <dependency>
-      <groupId>org.apache.sling</groupId>
-      <artifactId>org.apache.sling.commons.logservice</artifactId>
-      <version>1.0.4</version>
-    </dependency>
-
-    <!-- Findbugs annotations -->
-    <dependency>
-      <groupId>com.google.code.findbugs</groupId>
-      <artifactId>jsr305</artifactId>
-    </dependency>
-
-    <!-- Pojo SR -->
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.connect</artifactId>
-      <version>0.1.0</version>
-      <exclusions>
-        <exclusion>
-          <groupId>org.osgi</groupId>
-          <artifactId>org.osgi.core</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>org.osgi</groupId>
-          <artifactId>org.osgi.compendium</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.scr</artifactId>
-      <version>1.8.2</version>
-      <exclusions>
-        <exclusion>
-          <groupId>org.codehaus.mojo</groupId>
-          <artifactId>animal-sniffer-annotations</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.configadmin</artifactId>
-      <version>1.8.6</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.fileinstall</artifactId>
-      <version>3.5.0</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.metatype</artifactId>
-      <version>1.0.12</version>
-      <exclusions>
-        <exclusion>
-          <groupId>net.sf.kxml</groupId>
-          <artifactId>kxml2</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.jaas</artifactId>
-      <version>0.0.2</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.aries.jmx</groupId>
-      <artifactId>org.apache.aries.jmx.whiteboard</artifactId>
-      <version>1.0.0</version>
-    </dependency>
-    <dependency>
-      <groupId>com.googlecode.json-simple</groupId>
-      <artifactId>json-simple</artifactId>
-      <version>1.1.1</version>
-    </dependency>
-
-
-    <!--
-         oak-lucene embeds the Lucene jar. However when running in IDE
-         the IDE use the module classpath. So need to explicitly list the
-         lucene jars
-        -->
-    <dependency>
-      <groupId>org.apache.tika</groupId>
-      <artifactId>tika-core</artifactId>
-      <version>${tika.version}</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.tika</groupId>
-      <artifactId>tika-parsers</artifactId>
-      <version>${tika.version}</version>
-      <scope>test</scope>
-      <exclusions>
-        <exclusion>
-          <groupId>commons-logging</groupId>
-          <artifactId>commons-logging</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-lucene</artifactId>
-      <version>${project.version}</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-core</artifactId>
-      <version>${lucene.version}</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-analyzers-common</artifactId>
-      <version>${lucene.version}</version>
-      <optional>true</optional>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-queryparser</artifactId>
-      <version>${lucene.version}</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-queries</artifactId>
-      <version>${lucene.version}</version>
-      <scope>test</scope>
-    </dependency>
-
-
-    <!-- Test dependencies -->
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-core</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>com.h2database</groupId>
-      <artifactId>h2</artifactId>
-      <version>${h2.version}</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>com.gmongo</groupId>
-      <artifactId>gmongo</artifactId>
-      <version>1.1</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.codehaus.groovy</groupId>
-      <artifactId>groovy-all</artifactId>
-      <version>${groovy.version}</version>
-      <scope>test</scope>
-    </dependency>
-
-    <dependency>
-      <groupId>org.slf4j</groupId>
-      <artifactId>log4j-over-slf4j</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.slf4j</groupId>
-      <artifactId>jcl-over-slf4j</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>
+<?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-pojosr</artifactId>

+  <name>Oak PojoSR</name>

+

+  <properties>

+    <skip.deployment>true</skip.deployment>

+    <groovy.version>2.3.1</groovy.version>

+  </properties>

+

+  <build>

+    <plugins>

+      <plugin>

+        <groupId>org.codehaus.gmaven</groupId>

+        <artifactId>gmaven-plugin</artifactId>

+        <version>1.5</version>

+        <!--suppress MavenModelInspection -->

+        <configuration>

+          <providerSelection>2.0</providerSelection>

+          <sourceEncoding>UTF-8</sourceEncoding>

+        </configuration>

+        <executions>

+          <execution>

+            <goals>

+              <goal>generateTestStubs</goal>

+              <goal>testCompile</goal>

+            </goals>

+          </execution>

+        </executions>

+        <dependencies>

+          <dependency>

+            <groupId>org.codehaus.groovy</groupId>

+            <artifactId>groovy-all</artifactId>

+            <version>${groovy.version}</version>

+          </dependency>

+        </dependencies>

+      </plugin>

+      <plugin>

+        <groupId>org.apache.rat</groupId>

+        <artifactId>apache-rat-plugin</artifactId>

+        <configuration>

+          <excludes>

+            <exclude>**/org.apache.felix.jaas.Configuration.factory-GuestLoginModule.config</exclude>

+            <exclude>**/org.apache.felix.jaas.Configuration.factory-LoginModuleImpl.config</exclude>

+            <exclude>**/org.apache.felix.jaas.Configuration.factory-TokenLoginModule.config</exclude>

+            <exclude>**/org.apache.felix.jaas.ConfigurationSpi.config</exclude>

+            <exclude>**/org.apache.jackrabbit.oak.jcr.osgi.RepositoryManager.config</exclude>

+            <exclude>**/org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl.config</exclude>

+            <exclude>**/org.apache.jackrabbit.oak.security.user.UserConfigurationImpl.config</exclude>

+            <exclude>**/org.apache.jackrabbit.oak.spi.security.user.action.DefaultAuthorizableActionProvider.config</exclude>

+            <exclude>**/org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreService.config</exclude>

+            <exclude>**/org.apache.jackrabbit.oak.segment.SegmentNodeStoreService.config</exclude>

+            <exclude>**/oak-base-config.json</exclude>

+            <exclude>**/oak-tar-config.json</exclude>

+          </excludes>

+        </configuration>

+      </plugin>

+    </plugins>

+  </build>

+

+  <dependencies>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-segment</artifactId>

+      <version>${project.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-segment-tar</artifactId>

+      <version>${project.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-jcr</artifactId>

+      <version>${project.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.mongodb</groupId>

+      <artifactId>mongo-java-driver</artifactId>

+      <optional>true</optional>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>jackrabbit-data</artifactId>

+      <version>${jackrabbit.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>commons-io</groupId>

+      <artifactId>commons-io</artifactId>

+    </dependency>

+

+    <!-- Required to route OSGi LogEvents to Slf4j-->

+    <dependency>

+      <groupId>org.apache.sling</groupId>

+      <artifactId>org.apache.sling.commons.logservice</artifactId>

+      <version>1.0.4</version>

+    </dependency>

+

+    <!-- Findbugs annotations -->

+    <dependency>

+      <groupId>com.google.code.findbugs</groupId>

+      <artifactId>jsr305</artifactId>

+    </dependency>

+

+    <!-- Pojo SR -->

+    <dependency>

+      <groupId>org.apache.felix</groupId>

+      <artifactId>org.apache.felix.connect</artifactId>

+      <version>0.1.0</version>

+      <exclusions>

+        <exclusion>

+          <groupId>org.osgi</groupId>

+          <artifactId>org.osgi.core</artifactId>

+        </exclusion>

+        <exclusion>

+          <groupId>org.osgi</groupId>

+          <artifactId>org.osgi.compendium</artifactId>

+        </exclusion>

+      </exclusions>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.felix</groupId>

+      <artifactId>org.apache.felix.scr</artifactId>

+      <version>1.8.2</version>

+      <exclusions>

+        <exclusion>

+          <groupId>org.codehaus.mojo</groupId>

+          <artifactId>animal-sniffer-annotations</artifactId>

+        </exclusion>

+      </exclusions>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.felix</groupId>

+      <artifactId>org.apache.felix.configadmin</artifactId>

+      <version>1.8.6</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.felix</groupId>

+      <artifactId>org.apache.felix.fileinstall</artifactId>

+      <version>3.5.0</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.felix</groupId>

+      <artifactId>org.apache.felix.metatype</artifactId>

+      <version>1.0.12</version>

+      <exclusions>

+        <exclusion>

+          <groupId>net.sf.kxml</groupId>

+          <artifactId>kxml2</artifactId>

+        </exclusion>

+      </exclusions>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.felix</groupId>

+      <artifactId>org.apache.felix.jaas</artifactId>

+      <version>0.0.2</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.aries.jmx</groupId>

+      <artifactId>org.apache.aries.jmx.whiteboard</artifactId>

+      <version>1.0.0</version>

+    </dependency>

+    <dependency>

+      <groupId>com.googlecode.json-simple</groupId>

+      <artifactId>json-simple</artifactId>

+      <version>1.1.1</version>

+    </dependency>

+

+

+    <!--

+         oak-lucene embeds the Lucene jar. However when running in IDE

+         the IDE use the module classpath. So need to explicitly list the

+         lucene jars

+        -->

+    <dependency>

+      <groupId>org.apache.tika</groupId>

+      <artifactId>tika-core</artifactId>

+      <version>${tika.version}</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.tika</groupId>

+      <artifactId>tika-parsers</artifactId>

+      <version>${tika.version}</version>

+      <scope>test</scope>

+      <exclusions>

+        <exclusion>

+          <groupId>commons-logging</groupId>

+          <artifactId>commons-logging</artifactId>

+        </exclusion>

+      </exclusions>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-lucene</artifactId>

+      <version>${project.version}</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.lucene</groupId>

+      <artifactId>lucene-core</artifactId>

+      <version>${lucene.version}</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.lucene</groupId>

+      <artifactId>lucene-analyzers-common</artifactId>

+      <version>${lucene.version}</version>

+      <optional>true</optional>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.lucene</groupId>

+      <artifactId>lucene-queryparser</artifactId>

+      <version>${lucene.version}</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.lucene</groupId>

+      <artifactId>lucene-queries</artifactId>

+      <version>${lucene.version}</version>

+      <scope>test</scope>

+    </dependency>

+

+

+    <!-- Test dependencies -->

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-core</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>com.h2database</groupId>

+      <artifactId>h2</artifactId>

+      <version>${h2.version}</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>com.gmongo</groupId>

+      <artifactId>gmongo</artifactId>

+      <version>1.1</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.codehaus.groovy</groupId>

+      <artifactId>groovy-all</artifactId>

+      <version>${groovy.version}</version>

+      <scope>test</scope>

+    </dependency>

+

+    <dependency>

+      <groupId>org.slf4j</groupId>

+      <artifactId>log4j-over-slf4j</artifactId>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.slf4j</groupId>

+      <artifactId>jcl-over-slf4j</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>

diff --git a/oak-remote/pom.xml b/oak-remote/pom.xml
index 4141904..0eea38d 100644
--- a/oak-remote/pom.xml
+++ b/oak-remote/pom.xml
@@ -1,288 +1,288 @@
-<?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-SNAPSHOT</version>
-        <relativePath>../oak-parent/pom.xml</relativePath>
-    </parent>
-
-    <artifactId>oak-remote</artifactId>
-    <name>Oak Remote API</name>
-    <packaging>bundle</packaging>
-
-    <properties>
-        <fixtures>MEMORY_NS,SEGMENT_TAR</fixtures>
-    </properties>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.compendium</artifactId>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>com.google.guava</groupId>
-            <artifactId>guava</artifactId>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-api</artifactId>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>javax.jcr</groupId>
-            <artifactId>jcr</artifactId>
-            <version>2.0</version>
-            <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-jcr</artifactId>
-            <version>${project.version}</version>
-            <scope>provided</scope>
-        </dependency>
-        <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-it</artifactId>
-            <version>${project.version}</version>
-            <type>test-jar</type>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>oak-segment</artifactId>
-            <version>${project.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>oak-segment</artifactId>
-            <version>${project.version}</version>
-            <type>test-jar</type>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>oak-segment-tar</artifactId>
-            <version>${project.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>oak-segment-tar</artifactId>
-            <version>${project.version}</version>
-            <type>test-jar</type>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>jackrabbit-jcr-commons</artifactId>
-            <version>${jackrabbit.version}</version>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>com.fasterxml.jackson.core</groupId>
-            <artifactId>jackson-core</artifactId>
-            <version>${jackson.version}</version>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>com.fasterxml.jackson.core</groupId>
-            <artifactId>jackson-databind</artifactId>
-            <version>${jackson.version}</version>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>javax.servlet</groupId>
-            <artifactId>javax.servlet-api</artifactId>
-            <version>3.0.1</version>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.eclipse.jetty</groupId>
-            <artifactId>jetty-server</artifactId>
-            <version>8.1.10.v20130312</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.eclipse.jetty</groupId>
-            <artifactId>jetty-servlet</artifactId>
-            <version>8.1.10.v20130312</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <version>4.12</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.hamcrest</groupId>
-            <artifactId>hamcrest-core</artifactId>
-            <version>1.3</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.mockito</groupId>
-            <artifactId>mockito-all</artifactId>
-            <version>1.10.19</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>com.mashape.unirest</groupId>
-            <artifactId>unirest-java</artifactId>
-            <version>1.3.27</version>
-            <scope>test</scope>
-            <exclusions>
-                <exclusion>
-                    <groupId>org.json</groupId>
-                    <artifactId>json</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-        <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>
-        <dependency>
-            <groupId>org.mongodb</groupId>
-            <artifactId>mongo-java-driver</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-nop</artifactId>
-            <version>${slf4j.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.felix</groupId>
-            <artifactId>org.apache.felix.scr.annotations</artifactId>
-            <version>1.9.10</version>
-            <scope>compile</scope>
-        </dependency>
-        <dependency>
-            <groupId>commons-lang</groupId>
-            <artifactId>commons-lang</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.tomcat</groupId>
-            <artifactId>tomcat-jdbc</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>com.h2database</groupId>
-            <artifactId>h2</artifactId>
-            <version>${h2.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.commons</groupId>
-            <artifactId>commons-math3</artifactId>
-            <scope>test</scope>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <configuration>
-                    <instructions>
-                        <Export-Package />
-                        <Embed-Dependency>
-                            jackson-core,
-                            jackson-databind,
-                            jackson-annotations
-                        </Embed-Dependency>
-                        <Embed-Transitive>
-                            true
-                        </Embed-Transitive>
-                    </instructions>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-scr-plugin</artifactId>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.rat</groupId>
-                <artifactId>apache-rat-plugin</artifactId>
-                <configuration>
-                    <excludes>
-                        <exclude>**/addNodeBinaryProperty.json</exclude>
-                        <exclude>**/addNodeBooleanProperty.json</exclude>
-                        <exclude>**/addNodeDateProperty.json</exclude>
-                        <exclude>**/addNodeDecimalProperty.json</exclude>
-                        <exclude>**/addNodeDoubleProperty.json</exclude>
-                        <exclude>**/addNodeLongProperty.json</exclude>
-                        <exclude>**/addNodeMultiBinaryProperty.json</exclude>
-                        <exclude>**/addNodeMultiBooleanProperty.json</exclude>
-                        <exclude>**/addNodeMultiDateProperty.json</exclude>
-                        <exclude>**/addNodeMultiDecimalProperty.json</exclude>
-                        <exclude>**/addNodeMultiDoubleProperty.json</exclude>
-                        <exclude>**/addNodeMultiLongProperty.json</exclude>
-                        <exclude>**/addNodeMultiNameProperty.json</exclude>
-                        <exclude>**/addNodeMultiPathProperty.json</exclude>
-                        <exclude>**/addNodeMultiReferenceProperty.json</exclude>
-                        <exclude>**/addNodeMultiStringProperty.json</exclude>
-                        <exclude>**/addNodeMultiUriProperty.json</exclude>
-                        <exclude>**/addNodeMultiWeakReferenceProperty.json</exclude>
-                        <exclude>**/addNodeNameProperty.json</exclude>
-                        <exclude>**/addNodePathProperty.json</exclude>
-                        <exclude>**/addNodeReferenceProperty.json</exclude>
-                        <exclude>**/addNodeStringProperty.json</exclude>
-                        <exclude>**/addNodeUriProperty.json</exclude>
-                        <exclude>**/addNodeWeakReferenceProperty.json</exclude>
-                    </excludes>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-</project>
+<?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-remote</artifactId>

+    <name>Oak Remote API</name>

+    <packaging>bundle</packaging>

+

+    <properties>

+        <fixtures>MEMORY_NS,SEGMENT_TAR</fixtures>

+    </properties>

+

+    <dependencies>

+        <dependency>

+            <groupId>org.osgi</groupId>

+            <artifactId>org.osgi.compendium</artifactId>

+            <scope>provided</scope>

+        </dependency>

+        <dependency>

+            <groupId>com.google.guava</groupId>

+            <artifactId>guava</artifactId>

+            <scope>provided</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.slf4j</groupId>

+            <artifactId>slf4j-api</artifactId>

+            <scope>provided</scope>

+        </dependency>

+        <dependency>

+            <groupId>javax.jcr</groupId>

+            <artifactId>jcr</artifactId>

+            <version>2.0</version>

+            <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-jcr</artifactId>

+            <version>${project.version}</version>

+            <scope>provided</scope>

+        </dependency>

+        <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-it</artifactId>

+            <version>${project.version}</version>

+            <type>test-jar</type>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>oak-segment</artifactId>

+            <version>${project.version}</version>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>oak-segment</artifactId>

+            <version>${project.version}</version>

+            <type>test-jar</type>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>oak-segment-tar</artifactId>

+            <version>${project.version}</version>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>oak-segment-tar</artifactId>

+            <version>${project.version}</version>

+            <type>test-jar</type>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>jackrabbit-jcr-commons</artifactId>

+            <version>${jackrabbit.version}</version>

+            <scope>provided</scope>

+        </dependency>

+        <dependency>

+            <groupId>com.fasterxml.jackson.core</groupId>

+            <artifactId>jackson-core</artifactId>

+            <version>${jackson.version}</version>

+            <scope>provided</scope>

+        </dependency>

+        <dependency>

+            <groupId>com.fasterxml.jackson.core</groupId>

+            <artifactId>jackson-databind</artifactId>

+            <version>${jackson.version}</version>

+            <scope>provided</scope>

+        </dependency>

+        <dependency>

+            <groupId>javax.servlet</groupId>

+            <artifactId>javax.servlet-api</artifactId>

+            <version>3.0.1</version>

+            <scope>provided</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.eclipse.jetty</groupId>

+            <artifactId>jetty-server</artifactId>

+            <version>8.1.10.v20130312</version>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.eclipse.jetty</groupId>

+            <artifactId>jetty-servlet</artifactId>

+            <version>8.1.10.v20130312</version>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>junit</groupId>

+            <artifactId>junit</artifactId>

+            <version>4.12</version>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.hamcrest</groupId>

+            <artifactId>hamcrest-core</artifactId>

+            <version>1.3</version>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.mockito</groupId>

+            <artifactId>mockito-all</artifactId>

+            <version>1.10.19</version>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>com.mashape.unirest</groupId>

+            <artifactId>unirest-java</artifactId>

+            <version>1.3.27</version>

+            <scope>test</scope>

+            <exclusions>

+                <exclusion>

+                    <groupId>org.json</groupId>

+                    <artifactId>json</artifactId>

+                </exclusion>

+            </exclusions>

+        </dependency>

+        <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>

+        <dependency>

+            <groupId>org.mongodb</groupId>

+            <artifactId>mongo-java-driver</artifactId>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.slf4j</groupId>

+            <artifactId>slf4j-nop</artifactId>

+            <version>${slf4j.version}</version>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.felix</groupId>

+            <artifactId>org.apache.felix.scr.annotations</artifactId>

+            <version>1.9.10</version>

+            <scope>compile</scope>

+        </dependency>

+        <dependency>

+            <groupId>commons-lang</groupId>

+            <artifactId>commons-lang</artifactId>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.tomcat</groupId>

+            <artifactId>tomcat-jdbc</artifactId>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>com.h2database</groupId>

+            <artifactId>h2</artifactId>

+            <version>${h2.version}</version>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.commons</groupId>

+            <artifactId>commons-math3</artifactId>

+            <scope>test</scope>

+        </dependency>

+    </dependencies>

+

+    <build>

+        <plugins>

+            <plugin>

+                <groupId>org.apache.felix</groupId>

+                <artifactId>maven-bundle-plugin</artifactId>

+                <configuration>

+                    <instructions>

+                        <Export-Package />

+                        <Embed-Dependency>

+                            jackson-core,

+                            jackson-databind,

+                            jackson-annotations

+                        </Embed-Dependency>

+                        <Embed-Transitive>

+                            true

+                        </Embed-Transitive>

+                    </instructions>

+                </configuration>

+            </plugin>

+            <plugin>

+                <groupId>org.apache.felix</groupId>

+                <artifactId>maven-scr-plugin</artifactId>

+            </plugin>

+            <plugin>

+                <groupId>org.apache.rat</groupId>

+                <artifactId>apache-rat-plugin</artifactId>

+                <configuration>

+                    <excludes>

+                        <exclude>**/addNodeBinaryProperty.json</exclude>

+                        <exclude>**/addNodeBooleanProperty.json</exclude>

+                        <exclude>**/addNodeDateProperty.json</exclude>

+                        <exclude>**/addNodeDecimalProperty.json</exclude>

+                        <exclude>**/addNodeDoubleProperty.json</exclude>

+                        <exclude>**/addNodeLongProperty.json</exclude>

+                        <exclude>**/addNodeMultiBinaryProperty.json</exclude>

+                        <exclude>**/addNodeMultiBooleanProperty.json</exclude>

+                        <exclude>**/addNodeMultiDateProperty.json</exclude>

+                        <exclude>**/addNodeMultiDecimalProperty.json</exclude>

+                        <exclude>**/addNodeMultiDoubleProperty.json</exclude>

+                        <exclude>**/addNodeMultiLongProperty.json</exclude>

+                        <exclude>**/addNodeMultiNameProperty.json</exclude>

+                        <exclude>**/addNodeMultiPathProperty.json</exclude>

+                        <exclude>**/addNodeMultiReferenceProperty.json</exclude>

+                        <exclude>**/addNodeMultiStringProperty.json</exclude>

+                        <exclude>**/addNodeMultiUriProperty.json</exclude>

+                        <exclude>**/addNodeMultiWeakReferenceProperty.json</exclude>

+                        <exclude>**/addNodeNameProperty.json</exclude>

+                        <exclude>**/addNodePathProperty.json</exclude>

+                        <exclude>**/addNodeReferenceProperty.json</exclude>

+                        <exclude>**/addNodeStringProperty.json</exclude>

+                        <exclude>**/addNodeUriProperty.json</exclude>

+                        <exclude>**/addNodeWeakReferenceProperty.json</exclude>

+                    </excludes>

+                </configuration>

+            </plugin>

+        </plugins>

+    </build>

+</project>

diff --git a/oak-run/pom.xml b/oak-run/pom.xml
index 78f2950..4b60d18 100644
--- a/oak-run/pom.xml
+++ b/oak-run/pom.xml
@@ -1,541 +1,541 @@
-<?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-SNAPSHOT</version>
-    <relativePath>../oak-parent/pom.xml</relativePath>
-  </parent>
-
-  <artifactId>oak-run</artifactId>
-  <name>Oak Runnable Jar</name>
-
-  <properties>
-    <jetty.version>8.2.0.v20160908</jetty.version>
-    <groovy.version>2.4.7</groovy.version>
-  </properties>
-
-  <build>
-    <resources>
-      <resource>
-        <directory>src/main/groovy</directory>
-        <includes>
-          <include>**/*.properties</include>
-        </includes>
-      </resource>
-      <resource>
-        <directory>src/main/resources</directory>
-        <includes>
-          <include>**/*.*</include>
-        </includes>
-      </resource>
-    </resources>
-    <plugins>
-      <plugin>
-        <groupId>org.codehaus.gmavenplus</groupId>
-        <artifactId>gmavenplus-plugin</artifactId>
-        <version>1.5</version>
-        <executions>
-          <execution>
-            <goals>
-              <goal>addSources</goal>
-              <goal>addTestSources</goal>
-              <goal>generateStubs</goal>
-              <goal>compile</goal>
-              <goal>testGenerateStubs</goal>
-              <goal>testCompile</goal>
-              <goal>removeStubs</goal>
-              <goal>removeTestStubs</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-assembly-plugin</artifactId>
-        <configuration>
-          <archive>
-            <manifest>
-              <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
-              <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
-              <mainClass>org.apache.jackrabbit.oak.run.Main</mainClass>
-            </manifest>
-          </archive>
-        </configuration>
-        <executions>
-          <execution>
-            <id>create-oak</id>
-            <phase>package</phase>
-            <goals>
-              <goal>single</goal>
-            </goals>
-            <configuration>
-              <attach>false</attach>
-              <descriptors>
-                <descriptor>src/main/assembly/oak-run.xml</descriptor>
-              </descriptors>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-antrun-plugin</artifactId>
-        <version>1.8</version>
-        <executions>
-          <execution>
-            <phase>package</phase>
-            <configuration>
-              <target>
-                <!--
-                Replace the default oak-run with the one created in assembly so
-                as to ensure default artifact oak-run is the one which has all jars
-                embedded
-                -->
-                <copy file="${project.build.directory}/${project.build.finalName}-oak.jar" tofile="${project.build.directory}/${project.build.finalName}.jar" />
-                <delete file="${project.build.directory}/${project.build.finalName}-oak.jar" />
-              </target>
-            </configuration>
-            <goals>
-              <goal>run</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>build-helper-maven-plugin</artifactId>
-        <version>1.7</version>
-        <executions>
-          <execution>
-            <id>reserve-network-port</id>
-            <goals>
-                <goal>reserve-network-port</goal>
-            </goals>
-            <phase>process-resources</phase>
-            <configuration>
-              <portNames>
-                <portName>jetty.http.port</portName>
-              </portNames>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <configuration>
-          <systemPropertyVariables>
-            <jetty.http.port>${jetty.http.port}</jetty.http.port>
-          </systemPropertyVariables>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>com.phasebash.jsdoc</groupId>
-        <artifactId>jsdoc3-maven-plugin</artifactId>
-        <version>1.2.0</version>
-        <executions>
-          <execution>
-            <id>generate-jsdoc</id>
-            <phase>site</phase>
-            <goals>
-              <goal>jsdoc3</goal>
-            </goals>
-          </execution>
-        </executions>
-        <configuration>
-          <outputDirectory>../oak-doc/target/site/oak-mongo-js</outputDirectory>
-          <sourceFiles>
-            <sourceFile>src/main/js/oak-mongo.js</sourceFile>
-          </sourceFiles>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.rat</groupId>
-        <artifactId>apache-rat-plugin</artifactId>
-        <configuration>
-          <excludes>
-            <exclude>**/deepTree.xml</exclude>
-            <exclude>**/deepTree_everyone.xml</exclude>
-          </excludes>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-
-  <dependencies>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-segment</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-segment-tar</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-jcr</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-http</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-        <groupId>org.apache.jackrabbit</groupId>
-        <artifactId>oak-remote</artifactId>
-        <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-authorization-cug</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-lucene</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-solr-core</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.solr</groupId>
-      <artifactId>solr-solrj</artifactId>
-      <version>${solr.version}</version>
-      <exclusions>
-        <exclusion>
-          <groupId>org.eclipse.jetty</groupId>
-          <artifactId>jetty-alpn-java-client</artifactId>
-        </exclusion>
-      </exclusions>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-tarmk-standby</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-auth-external</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.tomcat</groupId>
-      <artifactId>tomcat-jdbc</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>com.h2database</groupId>
-      <artifactId>h2</artifactId>
-      <version>${h2.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.mongodb</groupId>
-      <artifactId>mongo-java-driver</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>jackrabbit-jcr-server</artifactId>
-      <version>${jackrabbit.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>jackrabbit-core</artifactId>
-      <version>${jackrabbit.version}</version>
-      <exclusions>
-        <exclusion>
-          <groupId>org.apache.lucene</groupId>
-          <artifactId>lucene-core</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>jackrabbit-data</artifactId>
-      <version>${jackrabbit.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.commons</groupId>
-      <artifactId>commons-math</artifactId>
-      <version>2.0</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.commons</groupId>
-      <artifactId>commons-compress</artifactId>
-      <version>1.8</version>
-    </dependency>
-    <dependency>
-      <groupId>commons-io</groupId>
-      <artifactId>commons-io</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.eclipse.jetty</groupId>
-      <artifactId>jetty-http</artifactId>
-      <version>${jetty.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.eclipse.jetty</groupId>
-      <artifactId>jetty-io</artifactId>
-      <version>${jetty.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.eclipse.jetty</groupId>
-      <artifactId>jetty-util</artifactId>
-      <version>${jetty.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.eclipse.jetty</groupId>
-      <artifactId>jetty-servlet</artifactId>
-      <version>${jetty.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>net.sf.jopt-simple</groupId>
-      <artifactId>jopt-simple</artifactId>
-      <version>4.6</version>
-    </dependency>
-    <dependency>
-      <groupId>ch.qos.logback</groupId>
-      <artifactId>logback-classic</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.codehaus.groovy</groupId>
-      <artifactId>groovy-all</artifactId>
-      <version>${groovy.version}</version>
-      <classifier>indy</classifier>
-    </dependency>
-    <dependency>
-      <groupId>jline</groupId>
-      <artifactId>jline</artifactId>
-      <version>2.14.2</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.scr.annotations</artifactId>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.mapdb</groupId>
-      <artifactId>mapdb</artifactId>
-      <version>1.0.6</version>
-      <scope>compile</scope>
-    </dependency>
-    <dependency>
-      <groupId>com.googlecode.json-simple</groupId>
-      <artifactId>json-simple</artifactId>
-      <version>1.1.1</version>
-      <exclusions>
-        <exclusion>
-          <artifactId>junit</artifactId>
-          <groupId>junit</groupId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-
-    <dependency>
-      <groupId>org.apache.tika</groupId>
-      <artifactId>tika-parsers</artifactId>
-      <version>${tika.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.tika</groupId>
-      <artifactId>tika-core</artifactId>
-      <version>${tika.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.commons</groupId>
-      <artifactId>commons-csv</artifactId>
-      <version>1.1</version>
-    </dependency>
-
-    <dependency>
-      <groupId>io.dropwizard.metrics</groupId>
-      <artifactId>metrics-core</artifactId>
-      <version>3.1.0</version>
-    </dependency>
-
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-blob-cloud</artifactId>
-      <version>${project.version}</version>
-      <optional>true</optional>
-    </dependency>
-
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>jackrabbit-aws-ext</artifactId>
-      <version>${jackrabbit.version}</version>
-      <optional>true</optional>
-    </dependency>
-
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-blob-cloud-azure</artifactId>
-      <version>${project.version}</version>
-      <optional>true</optional>
-    </dependency>
-
-    <dependency>
-      <groupId>org.apache.sling</groupId>
-      <artifactId>org.apache.sling.testing.osgi-mock</artifactId>
-      <scope>compile</scope>
-    </dependency>
-
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.configadmin</artifactId>
-      <version>1.8.8</version>
-    </dependency>
-
-    <dependency>
-      <groupId>org.apache.commons</groupId>
-      <artifactId>commons-math3</artifactId>
-    </dependency>
-
-    <!-- RDB support -->
-    <dependency>
-      <groupId>org.apache.tomcat</groupId>
-      <artifactId>tomcat-jdbc</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.tomcat</groupId>
-      <artifactId>tomcat-juli</artifactId>
-    </dependency>
-
-    <!-- Findbugs annotations -->
-    <dependency>
-      <groupId>com.google.code.findbugs</groupId>
-      <artifactId>jsr305</artifactId>
-    </dependency>
-
-    <!-- httpcore & httpclient -->
-    <dependency>
-      <groupId>org.apache.httpcomponents</groupId>
-      <artifactId>httpcore</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.httpcomponents</groupId>
-      <artifactId>httpclient</artifactId>
-    </dependency>
-
-    <!-- jackson libs -->
-    <dependency>
-      <groupId>com.fasterxml.jackson.core</groupId>
-      <artifactId>jackson-annotations</artifactId>
-      <version>${jackson.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>com.fasterxml.jackson.core</groupId>
-      <artifactId>jackson-core</artifactId>
-      <version>${jackson.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>com.fasterxml.jackson.core</groupId>
-      <artifactId>jackson-databind</artifactId>
-      <version>${jackson.version}</version>
-    </dependency>
-    <!-- Test dependencies -->
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <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-blob-cloud</artifactId>
-      <version>${project.version}</version>
-      <type>test-jar</type>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-blob-cloud-azure</artifactId>
-      <version>${project.version}</version>
-      <type>test-jar</type>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-
-  <profiles>
-    <profile>
-      <!--
-         oak-lucene embeds the Lucene jar. However when running in IDE
-         the IDE use the module classpath. So need to explicitly list the
-         lucene jars
-        -->
-      <id>ide</id>
-      <activation>
-        <activeByDefault>true</activeByDefault>
-      </activation>
-      <dependencies>
-        <dependency>
-          <groupId>org.apache.lucene</groupId>
-          <artifactId>lucene-core</artifactId>
-          <version>${lucene.version}</version>
-        </dependency>
-        <dependency>
-          <groupId>org.apache.lucene</groupId>
-          <artifactId>lucene-analyzers-common</artifactId>
-          <version>${lucene.version}</version>
-        </dependency>
-        <dependency>
-          <groupId>org.apache.lucene</groupId>
-          <artifactId>lucene-queryparser</artifactId>
-          <version>${lucene.version}</version>
-        </dependency>
-        <dependency>
-          <groupId>org.apache.lucene</groupId>
-          <artifactId>lucene-queries</artifactId>
-          <version>${lucene.version}</version>
-        </dependency>
-        <dependency>
-          <groupId>org.apache.lucene</groupId>
-          <artifactId>lucene-suggest</artifactId>
-          <version>${lucene.version}</version>
-        </dependency>
-        <dependency>
-          <groupId>org.apache.lucene</groupId>
-          <artifactId>lucene-facet</artifactId>
-          <version>${lucene.version}</version>
-        </dependency>
-        <dependency>
-          <groupId>org.apache.jackrabbit</groupId>
-          <artifactId>oak-solr-osgi</artifactId> <!-- this is declared here to avoid having it in the jr2 profile too -->
-          <version>${project.version}</version>
-        </dependency>
-
-      </dependencies>
-    </profile>
-  </profiles>
-</project>
+<?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-run</artifactId>

+  <name>Oak Runnable Jar</name>

+

+  <properties>

+    <jetty.version>8.2.0.v20160908</jetty.version>

+    <groovy.version>2.4.7</groovy.version>

+  </properties>

+

+  <build>

+    <resources>

+      <resource>

+        <directory>src/main/groovy</directory>

+        <includes>

+          <include>**/*.properties</include>

+        </includes>

+      </resource>

+      <resource>

+        <directory>src/main/resources</directory>

+        <includes>

+          <include>**/*.*</include>

+        </includes>

+      </resource>

+    </resources>

+    <plugins>

+      <plugin>

+        <groupId>org.codehaus.gmavenplus</groupId>

+        <artifactId>gmavenplus-plugin</artifactId>

+        <version>1.5</version>

+        <executions>

+          <execution>

+            <goals>

+              <goal>addSources</goal>

+              <goal>addTestSources</goal>

+              <goal>generateStubs</goal>

+              <goal>compile</goal>

+              <goal>testGenerateStubs</goal>

+              <goal>testCompile</goal>

+              <goal>removeStubs</goal>

+              <goal>removeTestStubs</goal>

+            </goals>

+          </execution>

+        </executions>

+      </plugin>

+      <plugin>

+        <groupId>org.apache.maven.plugins</groupId>

+        <artifactId>maven-assembly-plugin</artifactId>

+        <configuration>

+          <archive>

+            <manifest>

+              <addDefaultImplementationEntries>true</addDefaultImplementationEntries>

+              <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>

+              <mainClass>org.apache.jackrabbit.oak.run.Main</mainClass>

+            </manifest>

+          </archive>

+        </configuration>

+        <executions>

+          <execution>

+            <id>create-oak</id>

+            <phase>package</phase>

+            <goals>

+              <goal>single</goal>

+            </goals>

+            <configuration>

+              <attach>false</attach>

+              <descriptors>

+                <descriptor>src/main/assembly/oak-run.xml</descriptor>

+              </descriptors>

+            </configuration>

+          </execution>

+        </executions>

+      </plugin>

+      <plugin>

+        <groupId>org.apache.maven.plugins</groupId>

+        <artifactId>maven-antrun-plugin</artifactId>

+        <version>1.8</version>

+        <executions>

+          <execution>

+            <phase>package</phase>

+            <configuration>

+              <target>

+                <!--

+                Replace the default oak-run with the one created in assembly so

+                as to ensure default artifact oak-run is the one which has all jars

+                embedded

+                -->

+                <copy file="${project.build.directory}/${project.build.finalName}-oak.jar" tofile="${project.build.directory}/${project.build.finalName}.jar" />

+                <delete file="${project.build.directory}/${project.build.finalName}-oak.jar" />

+              </target>

+            </configuration>

+            <goals>

+              <goal>run</goal>

+            </goals>

+          </execution>

+        </executions>

+      </plugin>

+      <plugin>

+        <groupId>org.codehaus.mojo</groupId>

+        <artifactId>build-helper-maven-plugin</artifactId>

+        <version>1.7</version>

+        <executions>

+          <execution>

+            <id>reserve-network-port</id>

+            <goals>

+                <goal>reserve-network-port</goal>

+            </goals>

+            <phase>process-resources</phase>

+            <configuration>

+              <portNames>

+                <portName>jetty.http.port</portName>

+              </portNames>

+            </configuration>

+          </execution>

+        </executions>

+      </plugin>

+      <plugin>

+        <artifactId>maven-surefire-plugin</artifactId>

+        <configuration>

+          <systemPropertyVariables>

+            <jetty.http.port>${jetty.http.port}</jetty.http.port>

+          </systemPropertyVariables>

+        </configuration>

+      </plugin>

+      <plugin>

+        <groupId>com.phasebash.jsdoc</groupId>

+        <artifactId>jsdoc3-maven-plugin</artifactId>

+        <version>1.2.0</version>

+        <executions>

+          <execution>

+            <id>generate-jsdoc</id>

+            <phase>site</phase>

+            <goals>

+              <goal>jsdoc3</goal>

+            </goals>

+          </execution>

+        </executions>

+        <configuration>

+          <outputDirectory>../oak-doc/target/site/oak-mongo-js</outputDirectory>

+          <sourceFiles>

+            <sourceFile>src/main/js/oak-mongo.js</sourceFile>

+          </sourceFiles>

+        </configuration>

+      </plugin>

+      <plugin>

+        <groupId>org.apache.rat</groupId>

+        <artifactId>apache-rat-plugin</artifactId>

+        <configuration>

+          <excludes>

+            <exclude>**/deepTree.xml</exclude>

+            <exclude>**/deepTree_everyone.xml</exclude>

+          </excludes>

+        </configuration>

+      </plugin>

+    </plugins>

+  </build>

+

+  <dependencies>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-segment</artifactId>

+      <version>${project.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-segment-tar</artifactId>

+      <version>${project.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-jcr</artifactId>

+      <version>${project.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-http</artifactId>

+      <version>${project.version}</version>

+    </dependency>

+    <dependency>

+        <groupId>org.apache.jackrabbit</groupId>

+        <artifactId>oak-remote</artifactId>

+        <version>${project.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-authorization-cug</artifactId>

+      <version>${project.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-lucene</artifactId>

+      <version>${project.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-solr-core</artifactId>

+      <version>${project.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.solr</groupId>

+      <artifactId>solr-solrj</artifactId>

+      <version>${solr.version}</version>

+      <exclusions>

+        <exclusion>

+          <groupId>org.eclipse.jetty</groupId>

+          <artifactId>jetty-alpn-java-client</artifactId>

+        </exclusion>

+      </exclusions>

+      <scope>provided</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-tarmk-standby</artifactId>

+      <version>${project.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-auth-external</artifactId>

+      <version>${project.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.tomcat</groupId>

+      <artifactId>tomcat-jdbc</artifactId>

+    </dependency>

+    <dependency>

+      <groupId>com.h2database</groupId>

+      <artifactId>h2</artifactId>

+      <version>${h2.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.mongodb</groupId>

+      <artifactId>mongo-java-driver</artifactId>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>jackrabbit-jcr-server</artifactId>

+      <version>${jackrabbit.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>jackrabbit-core</artifactId>

+      <version>${jackrabbit.version}</version>

+      <exclusions>

+        <exclusion>

+          <groupId>org.apache.lucene</groupId>

+          <artifactId>lucene-core</artifactId>

+        </exclusion>

+      </exclusions>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>jackrabbit-data</artifactId>

+      <version>${jackrabbit.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.commons</groupId>

+      <artifactId>commons-math</artifactId>

+      <version>2.0</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.commons</groupId>

+      <artifactId>commons-compress</artifactId>

+      <version>1.8</version>

+    </dependency>

+    <dependency>

+      <groupId>commons-io</groupId>

+      <artifactId>commons-io</artifactId>

+    </dependency>

+    <dependency>

+      <groupId>org.eclipse.jetty</groupId>

+      <artifactId>jetty-http</artifactId>

+      <version>${jetty.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.eclipse.jetty</groupId>

+      <artifactId>jetty-io</artifactId>

+      <version>${jetty.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.eclipse.jetty</groupId>

+      <artifactId>jetty-util</artifactId>

+      <version>${jetty.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.eclipse.jetty</groupId>

+      <artifactId>jetty-servlet</artifactId>

+      <version>${jetty.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>net.sf.jopt-simple</groupId>

+      <artifactId>jopt-simple</artifactId>

+      <version>4.6</version>

+    </dependency>

+    <dependency>

+      <groupId>ch.qos.logback</groupId>

+      <artifactId>logback-classic</artifactId>

+    </dependency>

+    <dependency>

+      <groupId>org.codehaus.groovy</groupId>

+      <artifactId>groovy-all</artifactId>

+      <version>${groovy.version}</version>

+      <classifier>indy</classifier>

+    </dependency>

+    <dependency>

+      <groupId>jline</groupId>

+      <artifactId>jline</artifactId>

+      <version>2.14.2</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.felix</groupId>

+      <artifactId>org.apache.felix.scr.annotations</artifactId>

+      <scope>provided</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.mapdb</groupId>

+      <artifactId>mapdb</artifactId>

+      <version>1.0.6</version>

+      <scope>compile</scope>

+    </dependency>

+    <dependency>

+      <groupId>com.googlecode.json-simple</groupId>

+      <artifactId>json-simple</artifactId>

+      <version>1.1.1</version>

+      <exclusions>

+        <exclusion>

+          <artifactId>junit</artifactId>

+          <groupId>junit</groupId>

+        </exclusion>

+      </exclusions>

+    </dependency>

+

+    <dependency>

+      <groupId>org.apache.tika</groupId>

+      <artifactId>tika-parsers</artifactId>

+      <version>${tika.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.tika</groupId>

+      <artifactId>tika-core</artifactId>

+      <version>${tika.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.commons</groupId>

+      <artifactId>commons-csv</artifactId>

+      <version>1.1</version>

+    </dependency>

+

+    <dependency>

+      <groupId>io.dropwizard.metrics</groupId>

+      <artifactId>metrics-core</artifactId>

+      <version>3.1.0</version>

+    </dependency>

+

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-blob-cloud</artifactId>

+      <version>${project.version}</version>

+      <optional>true</optional>

+    </dependency>

+

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>jackrabbit-aws-ext</artifactId>

+      <version>${jackrabbit.version}</version>

+      <optional>true</optional>

+    </dependency>

+

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-blob-cloud-azure</artifactId>

+      <version>${project.version}</version>

+      <optional>true</optional>

+    </dependency>

+

+    <dependency>

+      <groupId>org.apache.sling</groupId>

+      <artifactId>org.apache.sling.testing.osgi-mock</artifactId>

+      <scope>compile</scope>

+    </dependency>

+

+    <dependency>

+      <groupId>org.apache.felix</groupId>

+      <artifactId>org.apache.felix.configadmin</artifactId>

+      <version>1.8.8</version>

+    </dependency>

+

+    <dependency>

+      <groupId>org.apache.commons</groupId>

+      <artifactId>commons-math3</artifactId>

+    </dependency>

+

+    <!-- RDB support -->

+    <dependency>

+      <groupId>org.apache.tomcat</groupId>

+      <artifactId>tomcat-jdbc</artifactId>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.tomcat</groupId>

+      <artifactId>tomcat-juli</artifactId>

+    </dependency>

+

+    <!-- Findbugs annotations -->

+    <dependency>

+      <groupId>com.google.code.findbugs</groupId>

+      <artifactId>jsr305</artifactId>

+    </dependency>

+

+    <!-- httpcore & httpclient -->

+    <dependency>

+      <groupId>org.apache.httpcomponents</groupId>

+      <artifactId>httpcore</artifactId>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.httpcomponents</groupId>

+      <artifactId>httpclient</artifactId>

+    </dependency>

+

+    <!-- jackson libs -->

+    <dependency>

+      <groupId>com.fasterxml.jackson.core</groupId>

+      <artifactId>jackson-annotations</artifactId>

+      <version>${jackson.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>com.fasterxml.jackson.core</groupId>

+      <artifactId>jackson-core</artifactId>

+      <version>${jackson.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>com.fasterxml.jackson.core</groupId>

+      <artifactId>jackson-databind</artifactId>

+      <version>${jackson.version}</version>

+    </dependency>

+    <!-- Test dependencies -->

+    <dependency>

+      <groupId>junit</groupId>

+      <artifactId>junit</artifactId>

+      <scope>test</scope>

+    </dependency>

+    <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-blob-cloud</artifactId>

+      <version>${project.version}</version>

+      <type>test-jar</type>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-blob-cloud-azure</artifactId>

+      <version>${project.version}</version>

+      <type>test-jar</type>

+      <scope>test</scope>

+    </dependency>

+  </dependencies>

+

+  <profiles>

+    <profile>

+      <!--

+         oak-lucene embeds the Lucene jar. However when running in IDE

+         the IDE use the module classpath. So need to explicitly list the

+         lucene jars

+        -->

+      <id>ide</id>

+      <activation>

+        <activeByDefault>true</activeByDefault>

+      </activation>

+      <dependencies>

+        <dependency>

+          <groupId>org.apache.lucene</groupId>

+          <artifactId>lucene-core</artifactId>

+          <version>${lucene.version}</version>

+        </dependency>

+        <dependency>

+          <groupId>org.apache.lucene</groupId>

+          <artifactId>lucene-analyzers-common</artifactId>

+          <version>${lucene.version}</version>

+        </dependency>

+        <dependency>

+          <groupId>org.apache.lucene</groupId>

+          <artifactId>lucene-queryparser</artifactId>

+          <version>${lucene.version}</version>

+        </dependency>

+        <dependency>

+          <groupId>org.apache.lucene</groupId>

+          <artifactId>lucene-queries</artifactId>

+          <version>${lucene.version}</version>

+        </dependency>

+        <dependency>

+          <groupId>org.apache.lucene</groupId>

+          <artifactId>lucene-suggest</artifactId>

+          <version>${lucene.version}</version>

+        </dependency>

+        <dependency>

+          <groupId>org.apache.lucene</groupId>

+          <artifactId>lucene-facet</artifactId>

+          <version>${lucene.version}</version>

+        </dependency>

+        <dependency>

+          <groupId>org.apache.jackrabbit</groupId>

+          <artifactId>oak-solr-osgi</artifactId> <!-- this is declared here to avoid having it in the jr2 profile too -->

+          <version>${project.version}</version>

+        </dependency>

+

+      </dependencies>

+    </profile>

+  </profiles>

+</project>

diff --git a/oak-segment-tar/pom.xml b/oak-segment-tar/pom.xml
index ec1d3ad..b70b0b9 100644
--- a/oak-segment-tar/pom.xml
+++ b/oak-segment-tar/pom.xml
@@ -1,280 +1,280 @@
-<?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-SNAPSHOT</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>
+<?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>

diff --git a/oak-segment/pom.xml b/oak-segment/pom.xml
index 9a22886..27abea4 100644
--- a/oak-segment/pom.xml
+++ b/oak-segment/pom.xml
@@ -1,230 +1,230 @@
-<?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-SNAPSHOT</version>
-        <relativePath>../oak-parent/pom.xml</relativePath>
-    </parent>
-
-    <artifactId>oak-segment</artifactId>
-    <packaging>bundle</packaging>
-
-    <name>Oak Segment</name>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <configuration>
-                    <instructions>
-                        <Export-Package>
-                            org.apache.jackrabbit.oak.plugins.backup,
-                            org.apache.jackrabbit.oak.plugins.segment,
-                            org.apache.jackrabbit.oak.plugins.segment.http,
-                            org.apache.jackrabbit.oak.plugins.segment.file,
-                        </Export-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-scr-plugin</artifactId>
-            </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>
-        </dependency>
-        <dependency>
-            <groupId>commons-io</groupId>
-            <artifactId>commons-io</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>com.google.guava</groupId>
-            <artifactId>guava</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>com.google.code.findbugs</groupId>
-            <artifactId>jsr305</artifactId>
-        </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>
-
-        <!-- 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>
-            <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.apache.commons</groupId>
-            <artifactId>commons-math3</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>junit-addons</groupId>
-            <artifactId>junit-addons</artifactId>
-            <version>1.4</version>
-            <scope>test</scope>
-            <exclusions>
-                <exclusion>
-                    <groupId>xerces</groupId>
-                    <artifactId>xercesImpl</artifactId>
-                </exclusion>
-                <exclusion>
-                    <groupId>xerces</groupId>
-                    <artifactId>xmlParserAPIs</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-        <dependency>
-            <groupId>org.mockito</groupId>
-            <artifactId>mockito-core</artifactId>
-            <version>1.10.19</version>
-            <scope>test</scope>
-        </dependency>
-    </dependencies>
+<?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</artifactId>

+    <packaging>bundle</packaging>

+

+    <name>Oak Segment</name>

+

+    <build>

+        <plugins>

+            <plugin>

+                <groupId>org.apache.felix</groupId>

+                <artifactId>maven-bundle-plugin</artifactId>

+                <configuration>

+                    <instructions>

+                        <Export-Package>

+                            org.apache.jackrabbit.oak.plugins.backup,

+                            org.apache.jackrabbit.oak.plugins.segment,

+                            org.apache.jackrabbit.oak.plugins.segment.http,

+                            org.apache.jackrabbit.oak.plugins.segment.file,

+                        </Export-Package>

+                    </instructions>

+                </configuration>

+            </plugin>

+            <plugin>

+                <groupId>org.apache.felix</groupId>

+                <artifactId>maven-scr-plugin</artifactId>

+            </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>

+        </dependency>

+        <dependency>

+            <groupId>commons-io</groupId>

+            <artifactId>commons-io</artifactId>

+        </dependency>

+        <dependency>

+            <groupId>com.google.guava</groupId>

+            <artifactId>guava</artifactId>

+        </dependency>

+        <dependency>

+            <groupId>com.google.code.findbugs</groupId>

+            <artifactId>jsr305</artifactId>

+        </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>

+

+        <!-- 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>

+            <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.apache.commons</groupId>

+            <artifactId>commons-math3</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>junit-addons</groupId>

+            <artifactId>junit-addons</artifactId>

+            <version>1.4</version>

+            <scope>test</scope>

+            <exclusions>

+                <exclusion>

+                    <groupId>xerces</groupId>

+                    <artifactId>xercesImpl</artifactId>

+                </exclusion>

+                <exclusion>

+                    <groupId>xerces</groupId>

+                    <artifactId>xmlParserAPIs</artifactId>

+                </exclusion>

+            </exclusions>

+        </dependency>

+        <dependency>

+            <groupId>org.mockito</groupId>

+            <artifactId>mockito-core</artifactId>

+            <version>1.10.19</version>

+            <scope>test</scope>

+        </dependency>

+    </dependencies>

 </project>
\ No newline at end of file
diff --git a/oak-solr-core/pom.xml b/oak-solr-core/pom.xml
index 312816c..97dce49 100644
--- a/oak-solr-core/pom.xml
+++ b/oak-solr-core/pom.xml
@@ -1,281 +1,281 @@
-<?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-SNAPSHOT</version>
-        <relativePath>../oak-parent/pom.xml</relativePath>
-    </parent>
-
-    <artifactId>oak-solr-core</artifactId>
-    <name>Oak Solr core</name>
-    <description>Oak support for Apache Solr indexing and search</description>
-    <packaging>bundle</packaging>
-
-    <properties>
-        <known.issues>
-            org.apache.jackrabbit.core.query.FulltextQueryTest#testMultiByte                               <!-- wildcards with multi byte support -->
-            org.apache.jackrabbit.core.query.FnNameQueryTest#testLikeWithPrefix                            <!-- OAK-328 -->
-            org.apache.jackrabbit.core.query.ShareableNodeTest#testName                                    <!-- OAK-118 -->
-            org.apache.jackrabbit.core.query.ShareableNodeTest#testPathConstraint                          <!-- OAK-118 -->
-            org.apache.jackrabbit.core.query.SelectClauseTest#testSameNameSiblingSQL                       <!-- OAK-203 -->
-            org.apache.jackrabbit.core.query.ChildAxisQueryTest#testRelationQuery                          <!-- OAK-203 -->
-            org.apache.jackrabbit.core.query.ChildAxisQueryTest#testRelationQueryDeep                      <!-- OAK-203 -->
-            org.apache.jackrabbit.core.query.ChildAxisQueryTest#testMultiRelation                          <!-- OAK-203 -->
-            org.apache.jackrabbit.core.query.ChildAxisQueryTest#testLike                                   <!-- OAK-203 -->
-            org.apache.jackrabbit.core.query.ChildAxisQueryTest#testContains                               <!-- OAK-203 -->
-            org.apache.jackrabbit.core.query.ChildAxisQueryTest#testStarNameTest                           <!-- OAK-203 -->
-            org.apache.jackrabbit.core.query.SQL2PathEscapingTest                                          <!-- ? -->
-            org.apache.jackrabbit.core.query.UpperLowerCaseQueryTest                                       <!-- ? -->
-            org.apache.jackrabbit.core.query.SimpleQueryTest                                               <!-- ? -->
-            org.apache.jackrabbit.core.query.XPathAxisTest                                                 <!-- ? -->
-            org.apache.jackrabbit.core.query.DerefTest                                                     <!-- ? -->
-            org.apache.jackrabbit.core.query.QueryResultTest                                               <!-- ? -->
-            org.apache.jackrabbit.core.query.ExcerptTest#testMoreTextDotsAtEnd                             <!-- OAK-318 -->
-            org.apache.jackrabbit.core.query.ExcerptTest#testMoreTextDotsAtStart                           <!-- OAK-318 -->
-            org.apache.jackrabbit.core.query.ExcerptTest#testMoreTextDotsAtStartAndEnd                     <!-- OAK-318 -->
-            org.apache.jackrabbit.core.query.ExcerptTest#testPunctuationStartsFragment                     <!-- OAK-318 -->
-            org.apache.jackrabbit.core.query.ExcerptTest#testPunctuationStartsFragmentEndsWithDots         <!-- OAK-318 -->
-            org.apache.jackrabbit.core.query.ExcerptTest#testPreferPhrase                                  <!-- OAK-318 -->
-            org.apache.jackrabbit.core.query.ExcerptTest#testQuotedPhrase                                  <!-- OAK-3580 -->
-            org.apache.jackrabbit.core.query.ExcerptTest#testEncodeIllegalCharsHighlights                  <!-- OAK-3580 -->
-            org.apache.jackrabbit.core.query.JoinTest#testJoinWithOR3                                      <!-- OAK-3437 -->
-            org.apache.jackrabbit.core.query.JoinTest#testJoinWithOR4                                      <!-- OAK-3437 -->
-            org.apache.jackrabbit.core.query.JoinTest#testJoinWithOR5                                      <!-- OAK-3437 -->
-            org.apache.jackrabbit.oak.jcr.query.SpellcheckTest#testSpellcheckMultipleWords                 <!-- OAK-3355 -->
-            org.apache.jackrabbit.oak.jcr.query.FacetTest                                                  <!-- OAK-3809 -->
-        </known.issues>
-    </properties>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <configuration>
-                    <instructions>
-                        <Export-Package>
-                            !*
-                        </Export-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-scr-plugin</artifactId>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.rat</groupId>
-                <artifactId>apache-rat-plugin</artifactId>
-                <configuration>
-                    <excludes>
-                        <exclude>**/test.rtf</exclude>
-                        <exclude>**/test.txt</exclude>
-                    </excludes>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-
-
-    <dependencies>
-        <!--  Added first to ensure older Lucene brought in by oak-jcr does not get selected in Eclipse -->
-        <dependency>
-            <groupId>org.apache.lucene</groupId>
-            <artifactId>lucene-test-framework</artifactId>
-            <version>${solr.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.lucene</groupId>
-            <artifactId>lucene-core</artifactId>
-            <version>${solr.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.lucene</groupId>
-            <artifactId>lucene-analyzers-common</artifactId>
-            <version>${solr.version}</version>
-            <scope>test</scope>
-        </dependency>    
-        <!-- TEST -->
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>oak-core</artifactId>
-            <version>${project.version}</version>
-            <classifier>tests</classifier>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>oak-segment</artifactId>
-            <version>${project.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>oak-segment-tar</artifactId>
-            <version>${project.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-          <groupId>org.apache.jackrabbit</groupId>
-          <artifactId>oak-jcr</artifactId>
-          <version>${project.version}</version>
-          <scope>test</scope>
-        </dependency>
-        <dependency>
-          <groupId>org.apache.jackrabbit</groupId>
-          <artifactId>oak-jcr</artifactId>
-          <version>${project.version}</version>
-          <type>test-jar</type>
-          <scope>test</scope>
-        </dependency>
-        <dependency>
-          <groupId>org.apache.jackrabbit</groupId>
-          <artifactId>jackrabbit-jcr-tests</artifactId>
-          <version>${jackrabbit.version}</version>
-          <scope>test</scope>
-        </dependency>
-        <dependency>
-          <groupId>org.apache.jackrabbit</groupId>
-          <artifactId>jackrabbit-core</artifactId>
-          <version>${jackrabbit.version}</version>
-          <classifier>tests</classifier>
-          <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-api</artifactId>
-            <scope>provided</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.9.5</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.tika</groupId>
-            <artifactId>tika-parsers</artifactId>
-            <version>${tika.version}</version>
-            <scope>test</scope>
-            <exclusions>
-                <exclusion>
-                    <groupId>commons-logging</groupId>
-                    <artifactId>commons-logging</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-
-        <dependency>
-            <groupId>com.google.code.findbugs</groupId>
-            <artifactId>jsr305</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.core</artifactId>
-            <scope>provided</scope>
-            <optional>true</optional>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.compendium</artifactId>
-            <scope>provided</scope>
-            <optional>true</optional>
-        </dependency>
-
-        <dependency>
-            <groupId>javax.jcr</groupId>
-            <artifactId>jcr</artifactId>
-            <version>2.0</version>
-            <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-commons</artifactId>
-            <version>${project.version}</version>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.jackrabbit</groupId>
-            <artifactId>jackrabbit-jcr-commons</artifactId>
-            <version>${jackrabbit.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>com.google.guava</groupId>
-            <artifactId>guava</artifactId>
-            <scope>provided</scope>
-        </dependency>
-
-        <!-- Solr -->
-        <dependency>
-            <groupId>org.apache.solr</groupId>
-            <artifactId>solr-solrj</artifactId>
-            <version>${solr.version}</version>
-            <exclusions>
-                <exclusion>
-                    <groupId>org.eclipse.jetty</groupId>
-                    <artifactId>jetty-alpn-java-client</artifactId>
-                </exclusion>
-            </exclusions>
-            <scope>provided</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.tika</groupId>
-            <artifactId>tika-core</artifactId>
-            <version>${tika.version}</version>
-            <scope>provided</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.felix</groupId>
-            <artifactId>org.apache.felix.scr.annotations</artifactId>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>biz.aQute.bnd</groupId>
-            <artifactId>bndlib</artifactId>
-            <scope>provided</scope>
-        </dependency>
-    </dependencies>
-
-</project>
+<?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-solr-core</artifactId>

+    <name>Oak Solr core</name>

+    <description>Oak support for Apache Solr indexing and search</description>

+    <packaging>bundle</packaging>

+

+    <properties>

+        <known.issues>

+            org.apache.jackrabbit.core.query.FulltextQueryTest#testMultiByte                               <!-- wildcards with multi byte support -->

+            org.apache.jackrabbit.core.query.FnNameQueryTest#testLikeWithPrefix                            <!-- OAK-328 -->

+            org.apache.jackrabbit.core.query.ShareableNodeTest#testName                                    <!-- OAK-118 -->

+            org.apache.jackrabbit.core.query.ShareableNodeTest#testPathConstraint                          <!-- OAK-118 -->

+            org.apache.jackrabbit.core.query.SelectClauseTest#testSameNameSiblingSQL                       <!-- OAK-203 -->

+            org.apache.jackrabbit.core.query.ChildAxisQueryTest#testRelationQuery                          <!-- OAK-203 -->

+            org.apache.jackrabbit.core.query.ChildAxisQueryTest#testRelationQueryDeep                      <!-- OAK-203 -->

+            org.apache.jackrabbit.core.query.ChildAxisQueryTest#testMultiRelation                          <!-- OAK-203 -->

+            org.apache.jackrabbit.core.query.ChildAxisQueryTest#testLike                                   <!-- OAK-203 -->

+            org.apache.jackrabbit.core.query.ChildAxisQueryTest#testContains                               <!-- OAK-203 -->

+            org.apache.jackrabbit.core.query.ChildAxisQueryTest#testStarNameTest                           <!-- OAK-203 -->

+            org.apache.jackrabbit.core.query.SQL2PathEscapingTest                                          <!-- ? -->

+            org.apache.jackrabbit.core.query.UpperLowerCaseQueryTest                                       <!-- ? -->

+            org.apache.jackrabbit.core.query.SimpleQueryTest                                               <!-- ? -->

+            org.apache.jackrabbit.core.query.XPathAxisTest                                                 <!-- ? -->

+            org.apache.jackrabbit.core.query.DerefTest                                                     <!-- ? -->

+            org.apache.jackrabbit.core.query.QueryResultTest                                               <!-- ? -->

+            org.apache.jackrabbit.core.query.ExcerptTest#testMoreTextDotsAtEnd                             <!-- OAK-318 -->

+            org.apache.jackrabbit.core.query.ExcerptTest#testMoreTextDotsAtStart                           <!-- OAK-318 -->

+            org.apache.jackrabbit.core.query.ExcerptTest#testMoreTextDotsAtStartAndEnd                     <!-- OAK-318 -->

+            org.apache.jackrabbit.core.query.ExcerptTest#testPunctuationStartsFragment                     <!-- OAK-318 -->

+            org.apache.jackrabbit.core.query.ExcerptTest#testPunctuationStartsFragmentEndsWithDots         <!-- OAK-318 -->

+            org.apache.jackrabbit.core.query.ExcerptTest#testPreferPhrase                                  <!-- OAK-318 -->

+            org.apache.jackrabbit.core.query.ExcerptTest#testQuotedPhrase                                  <!-- OAK-3580 -->

+            org.apache.jackrabbit.core.query.ExcerptTest#testEncodeIllegalCharsHighlights                  <!-- OAK-3580 -->

+            org.apache.jackrabbit.core.query.JoinTest#testJoinWithOR3                                      <!-- OAK-3437 -->

+            org.apache.jackrabbit.core.query.JoinTest#testJoinWithOR4                                      <!-- OAK-3437 -->

+            org.apache.jackrabbit.core.query.JoinTest#testJoinWithOR5                                      <!-- OAK-3437 -->

+            org.apache.jackrabbit.oak.jcr.query.SpellcheckTest#testSpellcheckMultipleWords                 <!-- OAK-3355 -->

+            org.apache.jackrabbit.oak.jcr.query.FacetTest                                                  <!-- OAK-3809 -->

+        </known.issues>

+    </properties>

+

+    <build>

+        <plugins>

+            <plugin>

+                <groupId>org.apache.felix</groupId>

+                <artifactId>maven-bundle-plugin</artifactId>

+                <configuration>

+                    <instructions>

+                        <Export-Package>

+                            !*

+                        </Export-Package>

+                    </instructions>

+                </configuration>

+            </plugin>

+            <plugin>

+                <groupId>org.apache.felix</groupId>

+                <artifactId>maven-scr-plugin</artifactId>

+            </plugin>

+            <plugin>

+                <groupId>org.apache.rat</groupId>

+                <artifactId>apache-rat-plugin</artifactId>

+                <configuration>

+                    <excludes>

+                        <exclude>**/test.rtf</exclude>

+                        <exclude>**/test.txt</exclude>

+                    </excludes>

+                </configuration>

+            </plugin>

+        </plugins>

+    </build>

+

+

+    <dependencies>

+        <!--  Added first to ensure older Lucene brought in by oak-jcr does not get selected in Eclipse -->

+        <dependency>

+            <groupId>org.apache.lucene</groupId>

+            <artifactId>lucene-test-framework</artifactId>

+            <version>${solr.version}</version>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.lucene</groupId>

+            <artifactId>lucene-core</artifactId>

+            <version>${solr.version}</version>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.lucene</groupId>

+            <artifactId>lucene-analyzers-common</artifactId>

+            <version>${solr.version}</version>

+            <scope>test</scope>

+        </dependency>    

+        <!-- TEST -->

+        <dependency>

+            <groupId>junit</groupId>

+            <artifactId>junit</artifactId>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>oak-core</artifactId>

+            <version>${project.version}</version>

+            <classifier>tests</classifier>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>oak-segment</artifactId>

+            <version>${project.version}</version>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>oak-segment-tar</artifactId>

+            <version>${project.version}</version>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+          <groupId>org.apache.jackrabbit</groupId>

+          <artifactId>oak-jcr</artifactId>

+          <version>${project.version}</version>

+          <scope>test</scope>

+        </dependency>

+        <dependency>

+          <groupId>org.apache.jackrabbit</groupId>

+          <artifactId>oak-jcr</artifactId>

+          <version>${project.version}</version>

+          <type>test-jar</type>

+          <scope>test</scope>

+        </dependency>

+        <dependency>

+          <groupId>org.apache.jackrabbit</groupId>

+          <artifactId>jackrabbit-jcr-tests</artifactId>

+          <version>${jackrabbit.version}</version>

+          <scope>test</scope>

+        </dependency>

+        <dependency>

+          <groupId>org.apache.jackrabbit</groupId>

+          <artifactId>jackrabbit-core</artifactId>

+          <version>${jackrabbit.version}</version>

+          <classifier>tests</classifier>

+          <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.slf4j</groupId>

+            <artifactId>slf4j-api</artifactId>

+            <scope>provided</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.9.5</version>

+            <scope>test</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.tika</groupId>

+            <artifactId>tika-parsers</artifactId>

+            <version>${tika.version}</version>

+            <scope>test</scope>

+            <exclusions>

+                <exclusion>

+                    <groupId>commons-logging</groupId>

+                    <artifactId>commons-logging</artifactId>

+                </exclusion>

+            </exclusions>

+        </dependency>

+

+        <dependency>

+            <groupId>com.google.code.findbugs</groupId>

+            <artifactId>jsr305</artifactId>

+        </dependency>

+        <dependency>

+            <groupId>org.osgi</groupId>

+            <artifactId>org.osgi.core</artifactId>

+            <scope>provided</scope>

+            <optional>true</optional>

+        </dependency>

+        <dependency>

+            <groupId>org.osgi</groupId>

+            <artifactId>org.osgi.compendium</artifactId>

+            <scope>provided</scope>

+            <optional>true</optional>

+        </dependency>

+

+        <dependency>

+            <groupId>javax.jcr</groupId>

+            <artifactId>jcr</artifactId>

+            <version>2.0</version>

+            <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-commons</artifactId>

+            <version>${project.version}</version>

+            <scope>provided</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.jackrabbit</groupId>

+            <artifactId>jackrabbit-jcr-commons</artifactId>

+            <version>${jackrabbit.version}</version>

+        </dependency>

+        <dependency>

+            <groupId>com.google.guava</groupId>

+            <artifactId>guava</artifactId>

+            <scope>provided</scope>

+        </dependency>

+

+        <!-- Solr -->

+        <dependency>

+            <groupId>org.apache.solr</groupId>

+            <artifactId>solr-solrj</artifactId>

+            <version>${solr.version}</version>

+            <exclusions>

+                <exclusion>

+                    <groupId>org.eclipse.jetty</groupId>

+                    <artifactId>jetty-alpn-java-client</artifactId>

+                </exclusion>

+            </exclusions>

+            <scope>provided</scope>

+        </dependency>

+

+        <dependency>

+            <groupId>org.apache.tika</groupId>

+            <artifactId>tika-core</artifactId>

+            <version>${tika.version}</version>

+            <scope>provided</scope>

+        </dependency>

+

+        <dependency>

+            <groupId>org.apache.felix</groupId>

+            <artifactId>org.apache.felix.scr.annotations</artifactId>

+            <scope>provided</scope>

+        </dependency>

+        <dependency>

+            <groupId>biz.aQute.bnd</groupId>

+            <artifactId>bndlib</artifactId>

+            <scope>provided</scope>

+        </dependency>

+    </dependencies>

+

+</project>

diff --git a/oak-solr-osgi/pom.xml b/oak-solr-osgi/pom.xml
index 5f7ad49..308d147 100644
--- a/oak-solr-osgi/pom.xml
+++ b/oak-solr-osgi/pom.xml
@@ -1,167 +1,167 @@
-<?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-SNAPSHOT</version>
-        <relativePath>../oak-parent/pom.xml</relativePath>
-    </parent>
-
-    <artifactId>oak-solr-osgi</artifactId>
-    <name>Oak Solr OSGi</name>
-    <description>Oak Solr OSGi support</description>
-    <packaging>bundle</packaging>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <configuration>
-                    <instructions>
-                        <Import-Package>
-                            org.apache.lucene.*;resolution:=optional,
-                            com.googlecode.*;resolution:=optional,
-                            com.vividsolutions.jts.*;resolution:=optional,
-                            com.sun.*;resolution:=optional,
-                            jline;resolution:=optional,
-                            org.apache.hadoop.*;resolution:=optional,
-                            org.apache.regexp.*;resolution:=optional,
-                            org.apache.log4j.*;resolution:=optional,
-                            org.jboss.netty.*;resolution:=optional,
-                            org.restlet.*;resolution:=optional,
-                            org.joda.time.*;resolution:=optional,
-                            org.eclipse.*;resolution:=optional,
-                            javax.servlet.*;resolution:=optional,
-                            com.tdunning.math.*;resolution:=optional,
-                            *
-                        </Import-Package>
-                        <Embed-Dependency>*;scope=runtime;inline=true</Embed-Dependency>
-                        <Service-Component>
-                            OSGI-INF/org.apache.jackrabbit.oak.plugins.index.solr.osgi.SolrQueryIndexProviderService.xml,
-                            OSGI-INF/org.apache.jackrabbit.oak.plugins.index.solr.osgi.SolrServerProviderService.xml,
-                            OSGI-INF/org.apache.jackrabbit.oak.plugins.index.solr.osgi.SolrIndexEditorProviderService.xml,
-                            OSGI-INF/org.apache.jackrabbit.oak.plugins.index.solr.osgi.RemoteSolrServerConfigurationProvider.xml,
-                            OSGI-INF/org.apache.jackrabbit.oak.plugins.index.solr.osgi.OakSolrConfigurationProviderService.xml,
-                            OSGI-INF/org.apache.jackrabbit.oak.plugins.index.solr.osgi.NodeStateSolrServersObserverService.xml
-                        </Service-Component>
-                    </instructions>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.core</artifactId>
-            <scope>provided</scope>
-            <optional>true</optional>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.compendium</artifactId>
-            <scope>provided</scope>
-            <optional>true</optional>
-        </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-solr-core</artifactId>
-            <version>${project.version}</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <!-- Solr -->
-        <dependency>
-            <groupId>org.apache.solr</groupId>
-            <artifactId>solr-solrj</artifactId>
-            <version>${solr.version}</version>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>commons-lang</groupId>
-            <artifactId>commons-lang</artifactId>
-            <version>2.6</version>
-            <scope>runtime</scope>
-        </dependency>
-        <dependency>
-            <groupId>commons-cli</groupId>
-            <artifactId>commons-cli</artifactId>
-            <version>1.2</version>
-            <scope>runtime</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.httpcomponents</groupId>
-            <artifactId>httpclient</artifactId>
-            <scope>runtime</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.httpcomponents</groupId>
-            <artifactId>httpcore</artifactId>
-            <scope>runtime</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.httpcomponents</groupId>
-            <artifactId>httpmime</artifactId>
-            <scope>runtime</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.zookeeper</groupId>
-            <artifactId>zookeeper</artifactId>
-            <version>3.4.6</version>
-            <scope>runtime</scope>
-        </dependency>
-        <dependency>
-            <groupId>com.fasterxml.jackson.core</groupId>
-            <artifactId>jackson-core</artifactId>
-            <scope>runtime</scope>
-        </dependency>
-        <dependency>
-            <groupId>com.fasterxml.jackson.dataformat</groupId>
-            <artifactId>jackson-dataformat-smile</artifactId>
-            <scope>runtime</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.commons</groupId>
-            <artifactId>commons-exec</artifactId>
-            <version>1.3</version>
-            <scope>runtime</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.commons</groupId>
-            <artifactId>commons-math3</artifactId>
-            <version>3.6.1</version>
-            <scope>runtime</scope>
-        </dependency>
-    </dependencies>
-
-</project>
+<?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-solr-osgi</artifactId>

+    <name>Oak Solr OSGi</name>

+    <description>Oak Solr OSGi support</description>

+    <packaging>bundle</packaging>

+

+    <build>

+        <plugins>

+            <plugin>

+                <groupId>org.apache.felix</groupId>

+                <artifactId>maven-bundle-plugin</artifactId>

+                <configuration>

+                    <instructions>

+                        <Import-Package>

+                            org.apache.lucene.*;resolution:=optional,

+                            com.googlecode.*;resolution:=optional,

+                            com.vividsolutions.jts.*;resolution:=optional,

+                            com.sun.*;resolution:=optional,

+                            jline;resolution:=optional,

+                            org.apache.hadoop.*;resolution:=optional,

+                            org.apache.regexp.*;resolution:=optional,

+                            org.apache.log4j.*;resolution:=optional,

+                            org.jboss.netty.*;resolution:=optional,

+                            org.restlet.*;resolution:=optional,

+                            org.joda.time.*;resolution:=optional,

+                            org.eclipse.*;resolution:=optional,

+                            javax.servlet.*;resolution:=optional,

+                            com.tdunning.math.*;resolution:=optional,

+                            *

+                        </Import-Package>

+                        <Embed-Dependency>*;scope=runtime;inline=true</Embed-Dependency>

+                        <Service-Component>

+                            OSGI-INF/org.apache.jackrabbit.oak.plugins.index.solr.osgi.SolrQueryIndexProviderService.xml,

+                            OSGI-INF/org.apache.jackrabbit.oak.plugins.index.solr.osgi.SolrServerProviderService.xml,

+                            OSGI-INF/org.apache.jackrabbit.oak.plugins.index.solr.osgi.SolrIndexEditorProviderService.xml,

+                            OSGI-INF/org.apache.jackrabbit.oak.plugins.index.solr.osgi.RemoteSolrServerConfigurationProvider.xml,

+                            OSGI-INF/org.apache.jackrabbit.oak.plugins.index.solr.osgi.OakSolrConfigurationProviderService.xml,

+                            OSGI-INF/org.apache.jackrabbit.oak.plugins.index.solr.osgi.NodeStateSolrServersObserverService.xml

+                        </Service-Component>

+                    </instructions>

+                </configuration>

+            </plugin>

+        </plugins>

+    </build>

+

+    <dependencies>

+        <dependency>

+            <groupId>org.osgi</groupId>

+            <artifactId>org.osgi.core</artifactId>

+            <scope>provided</scope>

+            <optional>true</optional>

+        </dependency>

+        <dependency>

+            <groupId>org.osgi</groupId>

+            <artifactId>org.osgi.compendium</artifactId>

+            <scope>provided</scope>

+            <optional>true</optional>

+        </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-solr-core</artifactId>

+            <version>${project.version}</version>

+            <scope>runtime</scope>

+        </dependency>

+

+        <!-- Solr -->

+        <dependency>

+            <groupId>org.apache.solr</groupId>

+            <artifactId>solr-solrj</artifactId>

+            <version>${solr.version}</version>

+            <scope>runtime</scope>

+        </dependency>

+

+        <dependency>

+            <groupId>commons-lang</groupId>

+            <artifactId>commons-lang</artifactId>

+            <version>2.6</version>

+            <scope>runtime</scope>

+        </dependency>

+        <dependency>

+            <groupId>commons-cli</groupId>

+            <artifactId>commons-cli</artifactId>

+            <version>1.2</version>

+            <scope>runtime</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.httpcomponents</groupId>

+            <artifactId>httpclient</artifactId>

+            <scope>runtime</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.httpcomponents</groupId>

+            <artifactId>httpcore</artifactId>

+            <scope>runtime</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.httpcomponents</groupId>

+            <artifactId>httpmime</artifactId>

+            <scope>runtime</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.zookeeper</groupId>

+            <artifactId>zookeeper</artifactId>

+            <version>3.4.6</version>

+            <scope>runtime</scope>

+        </dependency>

+        <dependency>

+            <groupId>com.fasterxml.jackson.core</groupId>

+            <artifactId>jackson-core</artifactId>

+            <scope>runtime</scope>

+        </dependency>

+        <dependency>

+            <groupId>com.fasterxml.jackson.dataformat</groupId>

+            <artifactId>jackson-dataformat-smile</artifactId>

+            <scope>runtime</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.commons</groupId>

+            <artifactId>commons-exec</artifactId>

+            <version>1.3</version>

+            <scope>runtime</scope>

+        </dependency>

+        <dependency>

+            <groupId>org.apache.commons</groupId>

+            <artifactId>commons-math3</artifactId>

+            <version>3.6.1</version>

+            <scope>runtime</scope>

+        </dependency>

+    </dependencies>

+

+</project>

diff --git a/oak-tarmk-standby/pom.xml b/oak-tarmk-standby/pom.xml
index 905afb1..4c46cc5 100644
--- a/oak-tarmk-standby/pom.xml
+++ b/oak-tarmk-standby/pom.xml
@@ -1,237 +1,237 @@
-<?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-SNAPSHOT</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>
+<?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>

diff --git a/oak-upgrade/pom.xml b/oak-upgrade/pom.xml
index 91bba47..be23320 100644
--- a/oak-upgrade/pom.xml
+++ b/oak-upgrade/pom.xml
@@ -1,203 +1,203 @@
-<?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-SNAPSHOT</version>
-    <relativePath>../oak-parent/pom.xml</relativePath>
-  </parent>
-
-  <artifactId>oak-upgrade</artifactId>
-  <name>Oak upgrade</name>
-  <description>Tooling for upgrading Jackrabbit repositories to Oak</description>
-
-  <build>
-    <plugins>
-      <plugin>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <configuration>
-          <systemPropertyVariables>
-            <s3.properties>${s3.properties}</s3.properties>
-          </systemPropertyVariables>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-shade-plugin</artifactId>
-        <version>3.0.0</version>
-        <executions>
-          <execution>
-            <phase>package</phase>
-            <goals>
-              <goal>shade</goal>
-            </goals>
-            <configuration>
-              <createDependencyReducedPom>false</createDependencyReducedPom>
-              <transformers>
-                <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
-                  <mainClass>org.apache.jackrabbit.oak.upgrade.cli.OakUpgrade</mainClass>
-                </transformer>
-              </transformers>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-
-  <dependencies>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-blob-cloud</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-core</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-segment</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-segment-tar</artifactId>
-      <version>${project.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>jackrabbit-core</artifactId>
-      <version>${jackrabbit.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>jackrabbit-spi</artifactId>
-      <version>${jackrabbit.version}</version>
-    </dependency>
-
-    <!-- it has to match the version used in jackrabbit-core -->
-    <dependency>
-      <groupId>org.apache.lucene</groupId>
-      <artifactId>lucene-core</artifactId>
-      <version>3.6.0</version>
-    </dependency>
-
-    <dependency>
-      <groupId>commons-lang</groupId>
-      <artifactId>commons-lang</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.commons</groupId>
-      <artifactId>commons-math3</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>net.sf.jopt-simple</groupId>
-      <artifactId>jopt-simple</artifactId>
-      <version>4.6</version>
-    </dependency>
-
-    <dependency>
-      <groupId>org.mongodb</groupId>
-      <artifactId>mongo-java-driver</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.tomcat</groupId>
-      <artifactId>tomcat-jdbc</artifactId>
-    </dependency>
-
-    <!-- Logging -->
-    <dependency>
-      <groupId>org.slf4j</groupId>
-      <artifactId>slf4j-api</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>ch.qos.logback</groupId>
-      <artifactId>logback-classic</artifactId>
-    </dependency>
-
-    <!-- Findbugs annotations -->
-    <dependency>
-      <groupId>com.google.code.findbugs</groupId>
-      <artifactId>jsr305</artifactId>
-      <scope>provided</scope>
-    </dependency>
-
-    <!-- Test Dependencies -->
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-commons</artifactId>
-      <version>${project.version}</version>
-      <type>test-jar</type>
-      <scope>test</scope>
-    </dependency>
-
-    <dependency>
-      <groupId>org.hamcrest</groupId>
-      <artifactId>hamcrest-all</artifactId>
-      <version>1.3</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.jackrabbit</groupId>
-      <artifactId>oak-jcr</artifactId>
-      <version>${project.version}</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>com.h2database</groupId>
-      <artifactId>h2</artifactId>
-      <version>${h2.version}</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>pl.pragmatists</groupId>
-      <artifactId>JUnitParams</artifactId>
-      <version>1.1.1</version>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-
-  <!-- Workaround for http://bugs.java.com/view_bug.do?bug_id=6550655 -->
-  <profiles>
-    <profile>
-      <id>java6</id>
-      <activation>
-        <jdk>1.6</jdk>
-      </activation>
-      <dependencies>
-        <dependency>
-          <groupId>org.apache.felix</groupId>
-          <artifactId>org.apache.felix.scr.annotations</artifactId>
-          <scope>provided</scope>
-        </dependency>
-      </dependencies>
-    </profile>
-  </profiles>
-</project>
+<?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-upgrade</artifactId>

+  <name>Oak upgrade</name>

+  <description>Tooling for upgrading Jackrabbit repositories to Oak</description>

+

+  <build>

+    <plugins>

+      <plugin>

+        <artifactId>maven-surefire-plugin</artifactId>

+        <configuration>

+          <systemPropertyVariables>

+            <s3.properties>${s3.properties}</s3.properties>

+          </systemPropertyVariables>

+        </configuration>

+      </plugin>

+      <plugin>

+        <groupId>org.apache.maven.plugins</groupId>

+        <artifactId>maven-shade-plugin</artifactId>

+        <version>3.0.0</version>

+        <executions>

+          <execution>

+            <phase>package</phase>

+            <goals>

+              <goal>shade</goal>

+            </goals>

+            <configuration>

+              <createDependencyReducedPom>false</createDependencyReducedPom>

+              <transformers>

+                <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">

+                  <mainClass>org.apache.jackrabbit.oak.upgrade.cli.OakUpgrade</mainClass>

+                </transformer>

+              </transformers>

+            </configuration>

+          </execution>

+        </executions>

+      </plugin>

+    </plugins>

+  </build>

+

+  <dependencies>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-blob-cloud</artifactId>

+      <version>${project.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-core</artifactId>

+      <version>${project.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-segment</artifactId>

+      <version>${project.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-segment-tar</artifactId>

+      <version>${project.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>jackrabbit-core</artifactId>

+      <version>${jackrabbit.version}</version>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>jackrabbit-spi</artifactId>

+      <version>${jackrabbit.version}</version>

+    </dependency>

+

+    <!-- it has to match the version used in jackrabbit-core -->

+    <dependency>

+      <groupId>org.apache.lucene</groupId>

+      <artifactId>lucene-core</artifactId>

+      <version>3.6.0</version>

+    </dependency>

+

+    <dependency>

+      <groupId>commons-lang</groupId>

+      <artifactId>commons-lang</artifactId>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.commons</groupId>

+      <artifactId>commons-math3</artifactId>

+    </dependency>

+    <dependency>

+      <groupId>net.sf.jopt-simple</groupId>

+      <artifactId>jopt-simple</artifactId>

+      <version>4.6</version>

+    </dependency>

+

+    <dependency>

+      <groupId>org.mongodb</groupId>

+      <artifactId>mongo-java-driver</artifactId>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.tomcat</groupId>

+      <artifactId>tomcat-jdbc</artifactId>

+    </dependency>

+

+    <!-- Logging -->

+    <dependency>

+      <groupId>org.slf4j</groupId>

+      <artifactId>slf4j-api</artifactId>

+    </dependency>

+    <dependency>

+      <groupId>ch.qos.logback</groupId>

+      <artifactId>logback-classic</artifactId>

+    </dependency>

+

+    <!-- Findbugs annotations -->

+    <dependency>

+      <groupId>com.google.code.findbugs</groupId>

+      <artifactId>jsr305</artifactId>

+      <scope>provided</scope>

+    </dependency>

+

+    <!-- Test Dependencies -->

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-commons</artifactId>

+      <version>${project.version}</version>

+      <type>test-jar</type>

+      <scope>test</scope>

+    </dependency>

+

+    <dependency>

+      <groupId>org.hamcrest</groupId>

+      <artifactId>hamcrest-all</artifactId>

+      <version>1.3</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>junit</groupId>

+      <artifactId>junit</artifactId>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>org.apache.jackrabbit</groupId>

+      <artifactId>oak-jcr</artifactId>

+      <version>${project.version}</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>com.h2database</groupId>

+      <artifactId>h2</artifactId>

+      <version>${h2.version}</version>

+      <scope>test</scope>

+    </dependency>

+    <dependency>

+      <groupId>pl.pragmatists</groupId>

+      <artifactId>JUnitParams</artifactId>

+      <version>1.1.1</version>

+      <scope>test</scope>

+    </dependency>

+  </dependencies>

+

+  <!-- Workaround for http://bugs.java.com/view_bug.do?bug_id=6550655 -->

+  <profiles>

+    <profile>

+      <id>java6</id>

+      <activation>

+        <jdk>1.6</jdk>

+      </activation>

+      <dependencies>

+        <dependency>

+          <groupId>org.apache.felix</groupId>

+          <artifactId>org.apache.felix.scr.annotations</artifactId>

+          <scope>provided</scope>

+        </dependency>

+      </dependencies>

+    </profile>

+  </profiles>

+</project>

diff --git a/pom.xml b/pom.xml
index dc44c5e..9191da4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,276 +1,276 @@
-<?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-SNAPSHOT</version>
-    <relativePath>oak-parent/pom.xml</relativePath>
-  </parent>
-
-  <artifactId>jackrabbit-oak</artifactId>
-  <name>Jackrabbit Oak</name>
-  <packaging>pom</packaging>
-
-  <properties>
-    <skip.deployment>true</skip.deployment>
-  </properties>
-
-  <modules>
-    <module>oak-parent</module>
-    <module>oak-commons</module>
-    <module>oak-blob</module>
-    <module>oak-blob-cloud</module>
-    <module>oak-blob-cloud-azure</module>
-    <module>oak-core</module>
-    <module>oak-jcr</module>
-    <module>oak-upgrade</module>
-    <module>oak-http</module>
-    <module>oak-lucene</module>
-    <module>oak-solr-core</module>
-    <module>oak-solr-osgi</module>
-    <module>oak-auth-external</module>
-    <module>oak-auth-ldap</module>
-    <module>oak-tarmk-standby</module>
-    <module>oak-run</module>
-    <module>oak-it-osgi</module>
-    <module>oak-pojosr</module>
-    <module>oak-authorization-cug</module>
-    <module>oak-remote</module>
-    <module>oak-exercise</module>
-    <module>oak-examples</module>
-    <module>oak-it</module>
-    <module>oak-segment</module>
-    <module>oak-segment-tar</module>
-  </modules>
-
-  <scm>
-    <connection>scm:git:https://gitbox.apache.org/repos/asf/jackrabbit-oak.git</connection>
-    <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/jackrabbit-oak.git</developerConnection>
-    <url>https://github.com/apache/jackrabbit-oak/tree/${project.scm.tag}</url>
-    <tag>HEAD</tag>
-  </scm>
-
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.rat</groupId>
-        <artifactId>apache-rat-plugin</artifactId>
-        <configuration>
-          <excludes>
-            <exclude>release.properties</exclude>
-            <exclude>.git/**</exclude>
-            <exclude>.idea/**</exclude>
-            <exclude>.gitignore</exclude>
-            <exclude>oak-doc/*.uxf</exclude>
-            <exclude>oak-doc/.*/**</exclude>
-            <exclude>oak-doc/*.iml</exclude>
-            <exclude>oak-doc/target/**</exclude>
-            <exclude>oak-segment-tar/target/**</exclude>
-            <exclude>oak-segment-tar/*.iml</exclude>
-          </excludes>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-
-  <profiles>
-    <profile>
-      <id>doc</id>
-      <modules>
-        <module>oak-doc</module>
-      </modules>
-    </profile>
-    <profile>
-      <id>javadoc</id>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-javadoc-plugin</artifactId>
-            <version>3.0.1</version>
-            <executions>
-              <execution>
-                <id>aggregate</id>
-                <goals>
-                  <goal>aggregate</goal>
-                </goals>
-                <phase>site</phase>
-              </execution>
-            </executions>
-            <configuration>
-              <reportOutputDirectory>${basedir}/oak-doc/target/site</reportOutputDirectory>
-              <additionalparam>-notimestamp</additionalparam>
-            </configuration>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-    <profile>
-      <id>apache-release</id>
-      <properties>
-        <keyfile>${user.home}/.ssh/id_rsa</keyfile>
-        <passphrase />
-      </properties>
-      <build>
-        <plugins>
-          <plugin>
-            <artifactId>maven-assembly-plugin</artifactId>
-            <version>3.1.0</version>
-            <executions>
-              <execution>
-                <goals>
-                  <goal>single</goal>
-                </goals>
-                <phase>package</phase>
-                <configuration>
-                  <descriptors>
-                    <descriptor>assembly.xml</descriptor>
-                  </descriptors>
-                </configuration>
-              </execution>
-              <execution>
-                <id>source-release-assembly</id>
-                <configuration>
-                  <skipAssembly>true</skipAssembly>
-                </configuration>
-              </execution>
-            </executions>
-          </plugin>
-          <!-- JCR-2455: Automatic staging of non-Maven release artifacts -->
-          <plugin>
-            <artifactId>maven-antrun-plugin</artifactId>
-            <version>1.8</version>
-            <executions>
-              <execution>
-                <goals>
-                  <goal>run</goal>
-                </goals>
-                <phase>deploy</phase>
-                <configuration>
-                  <tasks>
-                    <mkdir dir="${basedir}/target/${project.version}" />
-                    <copy todir="${basedir}/target/${project.version}" flatten="true">
-                      <fileset dir="${basedir}">
-                        <include name="RELEASE-NOTES.txt" />
-                        <include name="target/*-src.zip*" />
-                      </fileset>
-                    </copy>
-                    <checksum algorithm="SHA1" fileext=".sha1">
-                      <fileset dir="${basedir}/target/${project.version}">
-                        <include name="*.zip" />
-                      </fileset>
-                    </checksum>
-                    <checksum algorithm="SHA-512" fileext=".sha512">
-                      <fileset dir="${basedir}/target/${project.version}">
-                        <include name="*.zip" />
-                      </fileset>
-                    </checksum>
-                    <checksum file="${basedir}/target/${project.version}/${project.artifactId}-${project.version}-src.zip" algorithm="SHA1" property="checksum" />
-                    <echo file="${basedir}/target/vote.txt">
-From: ${apache.username}@apache.org
-To: oak-dev@jackrabbit.apache.org
-Subject: [VOTE] Release Apache Jackrabbit Oak ${project.version}
-
-A candidate for the Jackrabbit Oak ${project.version} release is available at:
-
-    https://dist.apache.org/repos/dist/dev/jackrabbit/oak/${project.version}/
-
-The release candidate is a zip archive of the sources in:
-
-    https://github.com/apache/jackrabbit-oak/tree/${project.artifactId}-${project.version}/
-
-The SHA1 checksum of the archive is ${checksum}.
-
-A staged Maven repository is available for review at:
-
-    https://repository.apache.org/
-
-The command for running automated checks against this release candidate is:
-
-    # run in SVN checkout of https://dist.apache.org/repos/dist/dev/jackrabbit
-    $ sh check-release.sh oak ${project.version} ${checksum}
-
-Please vote on releasing this package as Apache Jackrabbit Oak ${project.version}.
-The vote is open for the next 72 hours and passes if a majority of at
-least three +1 Jackrabbit PMC votes are cast.
-
-    [ ] +1 Release this package as Apache Jackrabbit Oak ${project.version}
-    [ ] -1 Do not release this package because...${line.separator}
-                    </echo>
-                    <echo file="${basedir}/target/announcement.txt">
-From: ${username}@apache.org
-To: announce@apache.org, announce@jackrabbit.apache.org, users@jackrabbit.apache.org, dev@jackrabbit.apache.org, oak-dev@jackrabbit.apache.org
-Subject: [ANNOUNCE] Apache Jackrabbit Oak ${project.version} released
-
-The Apache Jackrabbit community is pleased to announce the release of
-Apache Jackrabbit Oak ${project.version}. The release is available for download at:
-
-     http://jackrabbit.apache.org/downloads.html
-
-See the full release notes below for details about this release:
-${line.separator}
-${line.separator}
-                    </echo>
-                    <concat destfile="${basedir}/target/announcement.txt" append="true">
-                      <filelist files="RELEASE-NOTES.txt" />
-                    </concat>
-                    <echo />
-                    <echo>
-The release candidate has been prepared in:
-
-    ${basedir}/target/${project.version}
-
-Please deploy it to https://dist.apache.org/repos/dist/dev/jackrabbit/oak/:
-
-    cd /path/to/jackrabbit-dev
-    cp -r ${basedir}/target/${project.version} oak/${project.version}
-    svn add oak/${project.version}
-    svn commit -m 'Apache Jackrabbit Oak ${project.version} release candidate' oak/${project.version}
-
-A release vote template has been generated for you:
-
-    file://${basedir}/target/vote.txt
-
-An announcement mail template can be found at:
-
-    file://${basedir}/target/announcement.txt
-                    </echo>
-                    <echo />
-                  </tasks>
-                </configuration>
-              </execution>
-            </executions>
-            <dependencies>
-              <dependency>
-                 <groupId>org.apache.ant</groupId>
-                 <artifactId>ant-nodeps</artifactId>
-                 <version>1.8.1</version>
-               </dependency>
-            </dependencies>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
-
-</project>
+<?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>jackrabbit-oak</artifactId>

+  <name>Jackrabbit Oak</name>

+  <packaging>pom</packaging>

+

+  <properties>

+    <skip.deployment>true</skip.deployment>

+  </properties>

+

+  <modules>

+    <module>oak-parent</module>

+    <module>oak-commons</module>

+    <module>oak-blob</module>

+    <module>oak-blob-cloud</module>

+    <module>oak-blob-cloud-azure</module>

+    <module>oak-core</module>

+    <module>oak-jcr</module>

+    <module>oak-upgrade</module>

+    <module>oak-http</module>

+    <module>oak-lucene</module>

+    <module>oak-solr-core</module>

+    <module>oak-solr-osgi</module>

+    <module>oak-auth-external</module>

+    <module>oak-auth-ldap</module>

+    <module>oak-tarmk-standby</module>

+    <module>oak-run</module>

+    <module>oak-it-osgi</module>

+    <module>oak-pojosr</module>

+    <module>oak-authorization-cug</module>

+    <module>oak-remote</module>

+    <module>oak-exercise</module>

+    <module>oak-examples</module>

+    <module>oak-it</module>

+    <module>oak-segment</module>

+    <module>oak-segment-tar</module>

+  </modules>

+

+  <scm>

+    <connection>scm:git:https://gitbox.apache.org/repos/asf/jackrabbit-oak.git</connection>

+    <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/jackrabbit-oak.git</developerConnection>

+    <url>https://github.com/apache/jackrabbit-oak/tree/${project.scm.tag}</url>

+    <tag>jackrabbit-oak-1.6.22</tag>

+  </scm>

+

+  <build>

+    <plugins>

+      <plugin>

+        <groupId>org.apache.rat</groupId>

+        <artifactId>apache-rat-plugin</artifactId>

+        <configuration>

+          <excludes>

+            <exclude>release.properties</exclude>

+            <exclude>.git/**</exclude>

+            <exclude>.idea/**</exclude>

+            <exclude>.gitignore</exclude>

+            <exclude>oak-doc/*.uxf</exclude>

+            <exclude>oak-doc/.*/**</exclude>

+            <exclude>oak-doc/*.iml</exclude>

+            <exclude>oak-doc/target/**</exclude>

+            <exclude>oak-segment-tar/target/**</exclude>

+            <exclude>oak-segment-tar/*.iml</exclude>

+          </excludes>

+        </configuration>

+      </plugin>

+    </plugins>

+  </build>

+

+  <profiles>

+    <profile>

+      <id>doc</id>

+      <modules>

+        <module>oak-doc</module>

+      </modules>

+    </profile>

+    <profile>

+      <id>javadoc</id>

+      <build>

+        <plugins>

+          <plugin>

+            <groupId>org.apache.maven.plugins</groupId>

+            <artifactId>maven-javadoc-plugin</artifactId>

+            <version>3.0.1</version>

+            <executions>

+              <execution>

+                <id>aggregate</id>

+                <goals>

+                  <goal>aggregate</goal>

+                </goals>

+                <phase>site</phase>

+              </execution>

+            </executions>

+            <configuration>

+              <reportOutputDirectory>${basedir}/oak-doc/target/site</reportOutputDirectory>

+              <additionalparam>-notimestamp</additionalparam>

+            </configuration>

+          </plugin>

+        </plugins>

+      </build>

+    </profile>

+    <profile>

+      <id>apache-release</id>

+      <properties>

+        <keyfile>${user.home}/.ssh/id_rsa</keyfile>

+        <passphrase />

+      </properties>

+      <build>

+        <plugins>

+          <plugin>

+            <artifactId>maven-assembly-plugin</artifactId>

+            <version>3.1.0</version>

+            <executions>

+              <execution>

+                <goals>

+                  <goal>single</goal>

+                </goals>

+                <phase>package</phase>

+                <configuration>

+                  <descriptors>

+                    <descriptor>assembly.xml</descriptor>

+                  </descriptors>

+                </configuration>

+              </execution>

+              <execution>

+                <id>source-release-assembly</id>

+                <configuration>

+                  <skipAssembly>true</skipAssembly>

+                </configuration>

+              </execution>

+            </executions>

+          </plugin>

+          <!-- JCR-2455: Automatic staging of non-Maven release artifacts -->

+          <plugin>

+            <artifactId>maven-antrun-plugin</artifactId>

+            <version>1.8</version>

+            <executions>

+              <execution>

+                <goals>

+                  <goal>run</goal>

+                </goals>

+                <phase>deploy</phase>

+                <configuration>

+                  <tasks>

+                    <mkdir dir="${basedir}/target/${project.version}" />

+                    <copy todir="${basedir}/target/${project.version}" flatten="true">

+                      <fileset dir="${basedir}">

+                        <include name="RELEASE-NOTES.txt" />

+                        <include name="target/*-src.zip*" />

+                      </fileset>

+                    </copy>

+                    <checksum algorithm="SHA1" fileext=".sha1">

+                      <fileset dir="${basedir}/target/${project.version}">

+                        <include name="*.zip" />

+                      </fileset>

+                    </checksum>

+                    <checksum algorithm="SHA-512" fileext=".sha512">

+                      <fileset dir="${basedir}/target/${project.version}">

+                        <include name="*.zip" />

+                      </fileset>

+                    </checksum>

+                    <checksum file="${basedir}/target/${project.version}/${project.artifactId}-${project.version}-src.zip" algorithm="SHA1" property="checksum" />

+                    <echo file="${basedir}/target/vote.txt">

+From: ${apache.username}@apache.org

+To: oak-dev@jackrabbit.apache.org

+Subject: [VOTE] Release Apache Jackrabbit Oak ${project.version}

+

+A candidate for the Jackrabbit Oak ${project.version} release is available at:

+

+    https://dist.apache.org/repos/dist/dev/jackrabbit/oak/${project.version}/

+

+The release candidate is a zip archive of the sources in:

+

+    https://github.com/apache/jackrabbit-oak/tree/${project.artifactId}-${project.version}/

+

+The SHA1 checksum of the archive is ${checksum}.

+

+A staged Maven repository is available for review at:

+

+    https://repository.apache.org/

+

+The command for running automated checks against this release candidate is:

+

+    # run in SVN checkout of https://dist.apache.org/repos/dist/dev/jackrabbit

+    $ sh check-release.sh oak ${project.version} ${checksum}

+

+Please vote on releasing this package as Apache Jackrabbit Oak ${project.version}.

+The vote is open for the next 72 hours and passes if a majority of at

+least three +1 Jackrabbit PMC votes are cast.

+

+    [ ] +1 Release this package as Apache Jackrabbit Oak ${project.version}

+    [ ] -1 Do not release this package because...${line.separator}

+                    </echo>

+                    <echo file="${basedir}/target/announcement.txt">

+From: ${username}@apache.org

+To: announce@apache.org, announce@jackrabbit.apache.org, users@jackrabbit.apache.org, dev@jackrabbit.apache.org, oak-dev@jackrabbit.apache.org

+Subject: [ANNOUNCE] Apache Jackrabbit Oak ${project.version} released

+

+The Apache Jackrabbit community is pleased to announce the release of

+Apache Jackrabbit Oak ${project.version}. The release is available for download at:

+

+     http://jackrabbit.apache.org/downloads.html

+

+See the full release notes below for details about this release:

+${line.separator}

+${line.separator}

+                    </echo>

+                    <concat destfile="${basedir}/target/announcement.txt" append="true">

+                      <filelist files="RELEASE-NOTES.txt" />

+                    </concat>

+                    <echo />

+                    <echo>

+The release candidate has been prepared in:

+

+    ${basedir}/target/${project.version}

+

+Please deploy it to https://dist.apache.org/repos/dist/dev/jackrabbit/oak/:

+

+    cd /path/to/jackrabbit-dev

+    cp -r ${basedir}/target/${project.version} oak/${project.version}

+    svn add oak/${project.version}

+    svn commit -m 'Apache Jackrabbit Oak ${project.version} release candidate' oak/${project.version}

+

+A release vote template has been generated for you:

+

+    file://${basedir}/target/vote.txt

+

+An announcement mail template can be found at:

+

+    file://${basedir}/target/announcement.txt

+                    </echo>

+                    <echo />

+                  </tasks>

+                </configuration>

+              </execution>

+            </executions>

+            <dependencies>

+              <dependency>

+                 <groupId>org.apache.ant</groupId>

+                 <artifactId>ant-nodeps</artifactId>

+                 <version>1.8.1</version>

+               </dependency>

+            </dependencies>

+          </plugin>

+        </plugins>

+      </build>

+    </profile>

+  </profiles>

+

+</project>