<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright 2016-2020 Crown Copyright
  ~
  ~ Licensed 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>uk.gov.gchq.gaffer</groupId>
        <artifactId>gaffer2</artifactId>
        <version>1.22.0</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>

    <artifactId>library</artifactId>
    <packaging>pom</packaging>

    <modules>
        <module>hdfs-library</module>
        <module>sketches-library</module>
        <module>spark</module>
        <module>bitmap-library</module>
        <module>cache-library</module>
        <module>flink-library</module>
        <module>time-library</module>
    </modules>

    <profiles>
        <profile>
            <id>serialisation-compatibility</id>
            <properties>
                <jackson.version>${jackson.min.version}</jackson.version>
            </properties>
            <!-- Skip spark as requires a newer version of jackson-->
            <modules>
                <module>hdfs-library</module>
                <module>sketches-library</module>
                <module>bitmap-library</module>
                <module>cache-library</module>
                <module>flink-library</module>
                <module>time-library</module>
            </modules>
        </profile>
    </profiles>
</project>
