mirror of https://github.com/apache/nifi.git
451 lines
19 KiB
XML
451 lines
19 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>1.18.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.codehaus.gmavenplus</groupId>
|
|
<artifactId>gmavenplus-plugin</artifactId>
|
|
<version>1.5</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>addTestSources</goal>
|
|
<goal>testCompile</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</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>1.18.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>1.18.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>1.18.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.nifi.registry</groupId>
|
|
<artifactId>nifi-registry-bundle-utils</artifactId>
|
|
<version>1.18.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.nifi.registry</groupId>
|
|
<artifactId>nifi-registry-flow-diff</artifactId>
|
|
<version>1.18.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.nifi</groupId>
|
|
<artifactId>nifi-h2-database-migrator</artifactId>
|
|
<version>1.18.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.nifi</groupId>
|
|
<artifactId>nifi-xml-processing</artifactId>
|
|
<version>1.18.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
<version>3.1.0</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
<version>${spring.boot.version}</version>
|
|
</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>org.bouncycastle</groupId>
|
|
<artifactId>bcprov-jdk15on</artifactId>
|
|
<version>${org.bouncycastle.version}</version>
|
|
</dependency>
|
|
<!-- JGit depends on bcpg so declare a consistent version with our other bouncy castle deps -->
|
|
<dependency>
|
|
<groupId>org.bouncycastle</groupId>
|
|
<artifactId>bcpg-jdk15on</artifactId>
|
|
<version>${org.bouncycastle.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.glassfish</groupId>
|
|
<artifactId>javax.el</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>
|
|
<!-- JDK 8 will already have jaxb-api, and JDKs above 8 we activate a profile to include it -->
|
|
<exclusion>
|
|
<groupId>javax.xml.bind</groupId>
|
|
<artifactId>jaxb-api</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>
|
|
</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.54</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-jaxb-annotations</artifactId>
|
|
</dependency>
|
|
<!-- Test Dependencies -->
|
|
<dependency>
|
|
<groupId>org.apache.nifi.registry</groupId>
|
|
<artifactId>nifi-registry-test</artifactId>
|
|
<version>1.18.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>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.spockframework</groupId>
|
|
<artifactId>spock-core</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.codehaus.groovy</groupId>
|
|
<artifactId>groovy-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>cglib</groupId>
|
|
<artifactId>cglib-nodep</artifactId>
|
|
<version>2.2.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.directory.server</groupId>
|
|
<artifactId>apacheds-all</artifactId>
|
|
<version>2.0.0-M24</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.nifi</groupId>
|
|
<artifactId>nifi-property-protection-api</artifactId>
|
|
<version>1.18.0-SNAPSHOT</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<!-- This profile provides configuration to allow NiFi Registry to be compiled on JDKs above 1.8. -->
|
|
<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>
|