<?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.streampipes</groupId>
        <artifactId>streampipes-parent</artifactId>
        <version>0.90.0</version>
        <relativePath>../pom.xml</relativePath>
    </parent>

    <artifactId>streampipes-extensions</artifactId>
    <packaging>pom</packaging>

    <modules>
        <module>streampipes-connect-adapters</module>
        <module>streampipes-connect-adapters-iiot</module>

        <module>streampipes-extensions-all-iiot</module>
        <module>streampipes-extensions-all-jvm</module>

        <module>streampipes-pipeline-elements-all-jvm</module>
        <module>streampipes-pipeline-elements-all-flink</module>
        <module>streampipes-pipeline-elements-data-simulator</module>
        <module>streampipes-pipeline-elements-shared</module>

        <module>streampipes-processors-aggregation-flink</module>
        <module>streampipes-processors-change-detection-jvm</module>
        <module>streampipes-processors-enricher-flink</module>
        <module>streampipes-processors-enricher-jvm</module>
        <module>streampipes-processors-filters-jvm</module>
        <module>streampipes-processors-filters-siddhi</module>
        <module>streampipes-processors-geo-flink</module>
        <module>streampipes-processors-geo-jvm</module>
        <module>streampipes-processors-image-processing-jvm</module>
        <module>streampipes-processors-pattern-detection-flink</module>
        <module>streampipes-processors-statistics-flink</module>
        <module>streampipes-processors-transformation-flink</module>
        <module>streampipes-processors-text-mining-flink</module>
        <module>streampipes-processors-text-mining-jvm</module>
        <module>streampipes-processors-transformation-jvm</module>

        <module>streampipes-sinks-brokers-jvm</module>
        <module>streampipes-sinks-databases-jvm</module>
        <module>streampipes-sinks-internal-jvm</module>
        <module>streampipes-sinks-databases-flink</module>
        <module>streampipes-sinks-notifications-jvm</module>

        <module>streampipes-sources-watertank-simulator</module>
        <module>streampipes-sources-vehicle-simulator</module>
    </modules>

    <properties>
        <owasp.check.skip>true</owasp.check.skip>
        <maven.deploy.skip>false</maven.deploy.skip>
    </properties>

    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-jar-plugin</artifactId>
                    <version>3.2.0</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-source-plugin</artifactId>
                    <version>3.0.1</version>
                    <executions>
                        <execution>
                            <id>attach-sources</id>
                            <goals>
                                <goal>jar</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-shade-plugin</artifactId>
                    <version>${maven-shade-plugin.version}</version>
                    <dependencies>
                        <dependency>
                            <groupId>org.springframework.boot</groupId>
                            <artifactId>spring-boot-maven-plugin</artifactId>
                            <version>${spring-boot.version}</version>
                        </dependency>
                    </dependencies>
                </plugin>
                <plugin>
                    <artifactId>maven-checkstyle-plugin</artifactId>
                    <configuration>
                        <skip>true</skip>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-release-plugin</artifactId>
                    <configuration>
                        <arguments>-Papache-release -Dmaven.deploy.skip=true</arguments>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-deploy-plugin</artifactId>
                    <version>2.8.2</version>
                    <configuration>
                        <skip>${maven.deploy.skip}</skip>
                    </configuration>
                </plugin>
            </plugins>
        </pluginManagement>
        <plugins>
            <plugin>
                <groupId>org.apache.streampipes</groupId>
                <artifactId>streampipes-maven-plugin</artifactId>
                <version>0.90.0</version>
            </plugin>
        </plugins>
    </build>
</project>
