| <?xml version="1.0"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| http://www.apache.org/licenses/LICENSE-2.0 |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-extension-utils</artifactId> |
| <version>1.15.0-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>nifi-database-utils</artifactId> |
| |
| <dependencyManagement> |
| <dependencies> |
| <!-- Override commons-compress --> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-compress</artifactId> |
| <version>1.21</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-standard-record-utils</artifactId> |
| <version>1.15.0-SNAPSHOT</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-avro-record-utils</artifactId> |
| <version>1.15.0-SNAPSHOT</version> |
| </dependency> |
| <dependency> |
| <groupId>com.github.ben-manes.caffeine</groupId> |
| <artifactId>caffeine</artifactId> |
| <version>2.8.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-lang3</artifactId> |
| <version>3.9</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.avro</groupId> |
| <artifactId>avro</artifactId> |
| <version>1.8.1</version> |
| </dependency> |
| <!-- Other modules using nifi-database-utils are expected to have these APIs available, typically through a NAR dependency --> |
| <dependency> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-record</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-mock</artifactId> |
| <version>1.15.0-SNAPSHOT</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>2.10.0</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.derby</groupId> |
| <artifactId>derby</artifactId> |
| <version>10.14.2.0</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.h2database</groupId> |
| <artifactId>h2</artifactId> |
| <version>1.4.187</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludes combine.children="append"> |
| <exclude>src/test/resources/org/apache/nifi/avro/data.avro</exclude> |
| <exclude>src/test/resources/org/apache/nifi/avro/schema.json</exclude> |
| <exclude>src/test/resources/org/apache/nifi/avro/simpleSchema.json</exclude> |
| <exclude>src/test/resources/org/apache/nifi/avro/defaultArrayValue1.json</exclude> |
| <exclude>src/test/resources/org/apache/nifi/avro/defaultArrayValue2.json</exclude> |
| <exclude>src/test/resources/org/apache/nifi/avro/defaultArrayInRecords1.json</exclude> |
| <exclude>src/test/resources/org/apache/nifi/avro/defaultArrayInRecords2.json</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| <profiles> |
| <profile> |
| <!-- This profile, activating when compiling on Java versions above 1.8, provides configuration changes to |
| allow NiFi to be compiled on those JDKs. --> |
| <id>jigsaw</id> |
| <activation> |
| <jdk>(1.8,)</jdk> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>jakarta.xml.bind</groupId> |
| <artifactId>jakarta.xml.bind-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.jaxb</groupId> |
| <artifactId>jaxb-runtime</artifactId> |
| </dependency> |
| </dependencies> |
| </profile> |
| </profiles> |
| </project> |