| <?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>nifi-kafka-connect</artifactId> |
| <groupId>org.apache.nifi</groupId> |
| <version>1.15.0-SNAPSHOT</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <artifactId>nifi-kafka-connector-tests</artifactId> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-kafka-connector-assembly</artifactId> |
| <version>1.15.0-SNAPSHOT</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.kafka</groupId> |
| <artifactId>connect-api</artifactId> |
| <version>2.6.0</version> |
| <scope>test</scope> |
| </dependency> |
| |
| |
| <!-- Dependencies for integration tests. These must be excluded from the main assembly --> |
| <!-- TODO: Probably should separate this into separate integration test module --> |
| <dependency> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-system-test-extensions-nar</artifactId> |
| <version>1.15.0-SNAPSHOT</version> |
| <type>nar</type> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-standard-nar</artifactId> |
| <version>1.15.0-SNAPSHOT</version> |
| <type>nar</type> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-standard-services-api-nar</artifactId> |
| <version>1.15.0-SNAPSHOT</version> |
| <type>nar</type> |
| </dependency> |
| |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <configuration> |
| <finalName>nifi-kafka-connector</finalName> |
| <attach>false</attach> |
| </configuration> |
| <executions> |
| <execution> |
| <id>prepare integration test dependencies</id> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <phase>generate-resources</phase> |
| <configuration> |
| <archiverConfig> |
| <defaultDirectoryMode>0775</defaultDirectoryMode> |
| <directoryMode>0775</directoryMode> |
| <fileMode>0664</fileMode> |
| </archiverConfig> |
| <descriptors> |
| <descriptor>src/main/assembly/dependencies.xml</descriptor> |
| </descriptors> |
| <tarLongFileMode>posix</tarLongFileMode> |
| <formats> |
| <format>dir</format> |
| </formats> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludes combine.children="append"> |
| <exclude>src/test/resources/flows/Generate_Data.json</exclude> |
| <exclude>src/test/resources/flows/Write_To_File.json</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |