mirror of https://github.com/apache/nifi.git
426 lines
18 KiB
XML
426 lines
18 KiB
XML
<?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">
|
|
<parent>
|
|
<groupId>org.apache.nifi.registry</groupId>
|
|
<artifactId>nifi-registry-core</artifactId>
|
|
<version>2.0.0-SNAPSHOT</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>nifi-registry-framework</artifactId>
|
|
<packaging>jar</packaging>
|
|
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
</resource>
|
|
<resource>
|
|
<directory>src/main/xsd</directory>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>jaxb2-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>aliases</id>
|
|
<goals>
|
|
<goal>xjc</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sources>
|
|
<source>src/main/xsd/aliases.xsd</source>
|
|
</sources>
|
|
<packageName>org.apache.nifi.registry.url.aliaser.generated</packageName>
|
|
<clearOutputDir>false</clearOutputDir>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>providers</id>
|
|
<goals>
|
|
<goal>xjc</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sources>
|
|
<source>src/main/xsd/providers.xsd</source>
|
|
</sources>
|
|
<packageName>org.apache.nifi.registry.provider.generated</packageName>
|
|
<clearOutputDir>false</clearOutputDir>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>authorizers</id>
|
|
<goals>
|
|
<goal>xjc</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sources>
|
|
<source>src/main/xsd/authorizers.xsd</source>
|
|
</sources>
|
|
<packageName>org.apache.nifi.registry.security.authorization.generated</packageName>
|
|
<clearOutputDir>false</clearOutputDir>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>authorizations</id>
|
|
<goals>
|
|
<goal>xjc</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sources>
|
|
<source>src/main/xsd/authorizations.xsd</source>
|
|
</sources>
|
|
<packageName>org.apache.nifi.registry.security.authorization.file.generated</packageName>
|
|
<clearOutputDir>false</clearOutputDir>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>tenants</id>
|
|
<goals>
|
|
<goal>xjc</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sources>
|
|
<source>src/main/xsd/tenants.xsd</source>
|
|
</sources>
|
|
<packageName>org.apache.nifi.registry.security.authorization.file.tenants.generated</packageName>
|
|
<clearOutputDir>false</clearOutputDir>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>identity-providers</id>
|
|
<goals>
|
|
<goal>xjc</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sources>
|
|
<source>src/main/xsd/identity-providers.xsd</source>
|
|
</sources>
|
|
<packageName>org.apache.nifi.registry.security.authentication.generated</packageName>
|
|
<clearOutputDir>false</clearOutputDir>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<configuration>
|
|
<excludes>**/generated/*.java</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.rat</groupId>
|
|
<artifactId>apache-rat-plugin</artifactId>
|
|
<configuration>
|
|
<excludes combine.children="append">
|
|
<exclude>src/test/resources/serialization/json/no-version.snapshot</exclude>
|
|
<exclude>src/test/resources/serialization/json/non-integer-version.snapshot</exclude>
|
|
<exclude>src/test/resources/serialization/ver1.snapshot</exclude>
|
|
<exclude>src/test/resources/serialization/ver2.snapshot</exclude>
|
|
<exclude>src/test/resources/serialization/ver3.snapshot</exclude>
|
|
<exclude>src/test/resources/serialization/ver9999.snapshot</exclude>
|
|
<exclude>src/test/resources/extensions/ConsumeKafkaRecord_1_0.json</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.nifi.registry</groupId>
|
|
<artifactId>nifi-registry-data-model</artifactId>
|
|
<version>2.0.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.nifi</groupId>
|
|
<artifactId>nifi-property-protection-factory</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.nifi.registry</groupId>
|
|
<artifactId>nifi-registry-properties</artifactId>
|
|
<scope>provided</scope> <!-- will be in lib dir -->
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.nifi</groupId>
|
|
<artifactId>nifi-property-utils</artifactId>
|
|
<scope>provided</scope> <!-- will be in lib dir -->
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.nifi.registry</groupId>
|
|
<artifactId>nifi-registry-utils</artifactId>
|
|
<version>2.0.0-SNAPSHOT</version>
|
|
<scope>provided</scope> <!-- will be in lib dir -->
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.nifi.registry</groupId>
|
|
<artifactId>nifi-registry-provider-api</artifactId>
|
|
<scope>provided</scope> <!-- will be in lib dir -->
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.nifi.registry</groupId>
|
|
<artifactId>nifi-registry-security-api</artifactId>
|
|
<scope>provided</scope> <!-- will be in lib dir -->
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.nifi.registry</groupId>
|
|
<artifactId>nifi-registry-security-utils</artifactId>
|
|
<version>2.0.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.nifi.registry</groupId>
|
|
<artifactId>nifi-registry-bundle-utils</artifactId>
|
|
<version>2.0.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.nifi.registry</groupId>
|
|
<artifactId>nifi-registry-flow-diff</artifactId>
|
|
<version>2.0.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.nifi</groupId>
|
|
<artifactId>nifi-security-ssl</artifactId>
|
|
<version>2.0.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.nifi</groupId>
|
|
<artifactId>nifi-xml-processing</artifactId>
|
|
<version>2.0.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jakarta.servlet</groupId>
|
|
<artifactId>jakarta.servlet-api</artifactId>
|
|
<version>${servlet-api.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
<version>${spring.boot.version}</version>
|
|
<exclusions>
|
|
<!-- Spring Boot Starter Logging 2 does not support Logback 1.3 -->
|
|
<exclusion>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-logging</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.security</groupId>
|
|
<artifactId>spring-security-ldap</artifactId>
|
|
<version>${spring.security.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.springframework.security</groupId>
|
|
<artifactId>spring-security-core</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-beans</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-core</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-tx</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>commons-logging</groupId>
|
|
<artifactId>commons-logging</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
</dependency>
|
|
<!-- We're using spring-boot-starter-data-jpa to bring in spring-data-jdbc and a few other dependencies, but
|
|
we aren't actually using any JPA dependencies, this also brings in the standard Spring dependencies for the backend -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
<version>${spring.boot.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.apache.tomcat</groupId>
|
|
<artifactId>tomcat-jdbc</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.springframework.data</groupId>
|
|
<artifactId>spring-data-jpa</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-entitymanager</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-core</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
<version>${spring.boot.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.flywaydb</groupId>
|
|
<artifactId>flyway-core</artifactId>
|
|
<version>${flyway.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.flywaydb</groupId>
|
|
<artifactId>flyway-mysql</artifactId>
|
|
<version>${flyway.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.h2database</groupId>
|
|
<artifactId>h2</artifactId>
|
|
<version>${h2.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jgit</groupId>
|
|
<artifactId>org.eclipse.jgit</artifactId>
|
|
<version>${jgit.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jgit</groupId>
|
|
<artifactId>org.eclipse.jgit.gpg.bc</artifactId>
|
|
<version>${jgit.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.bouncycastle</groupId>
|
|
<artifactId>bcprov-jdk15on</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.bouncycastle</groupId>
|
|
<artifactId>bcpkix-jdk15on</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.bouncycastle</groupId>
|
|
<artifactId>bcpg-jdk15on</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.bouncycastle</groupId>
|
|
<artifactId>bcutil-jdk15on</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.bouncycastle</groupId>
|
|
<artifactId>bcprov-jdk18on</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.bouncycastle</groupId>
|
|
<artifactId>bcpkix-jdk18on</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.bouncycastle</groupId>
|
|
<artifactId>bcpg-jdk18on</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.bouncycastle</groupId>
|
|
<artifactId>bcutil-jdk18on</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jgit</groupId>
|
|
<artifactId>org.eclipse.jgit.ssh.apache</artifactId>
|
|
<version>${jgit.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-codec</groupId>
|
|
<artifactId>commons-codec</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.jcraft</groupId>
|
|
<artifactId>jsch</artifactId>
|
|
<version>0.1.55</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.module</groupId>
|
|
<artifactId>jackson-module-jakarta-xmlbind-annotations</artifactId>
|
|
</dependency>
|
|
<!-- Test Dependencies -->
|
|
<dependency>
|
|
<groupId>org.apache.nifi.registry</groupId>
|
|
<artifactId>nifi-registry-test</artifactId>
|
|
<version>2.0.0-SNAPSHOT</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.flywaydb.flyway-test-extensions</groupId>
|
|
<artifactId>flyway-spring-test</artifactId>
|
|
<version>${flyway.tests.version}</version>
|
|
<scope>test</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.flywaydb</groupId>
|
|
<artifactId>flyway-core</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-test</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-jdbc</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.unboundid</groupId>
|
|
<artifactId>unboundid-ldapsdk</artifactId>
|
|
<version>7.0.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.nifi</groupId>
|
|
<artifactId>nifi-property-protection-api</artifactId>
|
|
<version>2.0.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<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>
|
|
</project>
|