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

      https://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.plc4x</groupId>
    <artifactId>plc4j</artifactId>
    <version>0.12.0</version>
  </parent>

  <artifactId>plc4j-tools</artifactId>
  <packaging>pom</packaging>

  <name>PLC4J: Tools</name>
  <description>A collection of tools that provide additional services to users.</description>

  <properties>
    <project.build.outputTimestamp>2024-02-16T15:44:54Z</project.build.outputTimestamp>
  </properties>

  <modules>
    <module>capture-replay</module>
    <module>connection-cache</module>
    <module>opcua-server</module>
    <module>opm</module>
    <module>plc4x-server</module>
    <module>scraper</module>
    <module>scraper-ng</module>
  </modules>

  <!--
    As the UI is a standalone application, that is not meant for being integrated in anything
    we don't want to limit us to old java versions and therefore be stuck with old Spring versions.
    Therefore, at least Java 19 is needed in order to build this module.
  -->
  <profiles>
    <profile>
      <id>.above-or-equal-java-19</id>
      <activation>
        <jdk>[19,)</jdk>
      </activation>
      <modules>
        <module>ui</module>
      </modules>
    </profile>
  </profiles>

</project>