| <?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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-gcp-bundle</artifactId> |
| <version>1.14.0-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>nifi-gcp-processors</artifactId> |
| <packaging>jar</packaging> |
| |
| <properties> |
| <skipGCPIntegrationTests>true</skipGCPIntegrationTests> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-proxy-configuration-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-record-serialization-service-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-record</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-schema-registry-service-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-processor-utils</artifactId> |
| <version>1.14.0-SNAPSHOT</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-gcp-services-api</artifactId> |
| <version>1.14.0-SNAPSHOT</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-mock</artifactId> |
| <version>1.14.0-SNAPSHOT</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.google.cloud</groupId> |
| <artifactId>google-cloud-core</artifactId> |
| <exclusions> |
| <exclusion> |
| <groupId>com.google.code.findbugs</groupId> |
| <artifactId>jsr305</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>com.google.cloud</groupId> |
| <artifactId>google-cloud-storage</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.google.cloud</groupId> |
| <artifactId>google-cloud-bigquery</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.google.cloud</groupId> |
| <artifactId>google-cloud-pubsub</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.tdunning</groupId> |
| <artifactId>json</artifactId> |
| <version>1.8</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-json-utils</artifactId> |
| <version>1.14.0-SNAPSHOT</version> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-record-serialization-services</artifactId> |
| <version>1.14.0-SNAPSHOT</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-core</artifactId> |
| <version>${jackson.version}</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/mockito-extensions/org.mockito.plugins.MockMaker</exclude> |
| <exclude>src/test/resources/mock-gcp-service-account.json</exclude> |
| <exclude>src/test/resources/mock-gcp-application-default-credentials.json</exclude> |
| <exclude>src/test/resources/bigquery/streaming-bad-data.json</exclude> |
| <exclude>src/test/resources/bigquery/streaming-correct-data.json</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <configuration> |
| <groups>org.apache.nifi.processors.gcp.GCPIntegrationTests</groups> |
| <skipITs>${skipGCPIntegrationTests}</skipITs> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <excludedGroups>org.apache.nifi.processors.gcp.GCPIntegrationTests</excludedGroups> |
| <environmentVariables> |
| <GOOGLE_APPLICATION_CREDENTIALS>${project.basedir}/src/test/resources/mock-gcp-application-default-credentials.json</GOOGLE_APPLICATION_CREDENTIALS> |
| </environmentVariables> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |