nifi-registry-assembly
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.apache.nifi.registry</groupId> <artifactId>nifi-registry-assembly</artifactId> <version>2.4.0</version> </dependency>
<?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.registry</groupId> <artifactId>nifi-registry</artifactId> <version>2.4.0</version> </parent> <artifactId>nifi-registry-assembly</artifactId> <packaging>pom</packaging> <description>This is the assembly for nifi-registry.</description> <build> <plugins> <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <finalName>nifi-registry-${project.version}</finalName> <attach>false</attach> </configuration> <executions> <execution> <id>make shared resource</id> <goals> <goal>single</goal> </goals> <phase>package</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> <format>zip</format> </formats> </configuration> </execution> </executions> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>${logback.version}</version> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-core</artifactId> <version>${logback.version}</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>jcl-over-slf4j</artifactId> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>jul-to-slf4j</artifactId> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>log4j-over-slf4j</artifactId> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> </dependency> <dependency> <groupId>org.apache.nifi.registry</groupId> <artifactId>nifi-registry-utils</artifactId> </dependency> <dependency> <groupId>org.apache.nifi.registry</groupId> <artifactId>nifi-registry-bootstrap</artifactId> </dependency> <dependency> <groupId>org.apache.nifi.registry</groupId> <artifactId>nifi-registry-runtime</artifactId> </dependency> <dependency> <groupId>org.apache.nifi</groupId> <artifactId>nifi-property-utils</artifactId> <version>2.4.0</version> </dependency> <dependency> <groupId>org.apache.nifi.registry</groupId> <artifactId>nifi-registry-security-api</artifactId> </dependency> <dependency> <groupId>org.apache.nifi.registry</groupId> <artifactId>nifi-registry-provider-api</artifactId> </dependency> <dependency> <groupId>org.apache.nifi.registry</groupId> <artifactId>nifi-registry-web-ui</artifactId> <type>war</type> </dependency> <dependency> <groupId>org.apache.nifi.registry</groupId> <artifactId>nifi-registry-web-api</artifactId> <type>war</type> </dependency> <dependency> <groupId>org.apache.nifi.registry</groupId> <artifactId>nifi-registry-web-docs</artifactId> <type>war</type> <version>2.4.0</version> </dependency> <dependency> <groupId>org.apache.nifi.registry</groupId> <artifactId>nifi-registry-resources</artifactId> <classifier>resources</classifier> <scope>runtime</scope> <type>zip</type> </dependency> <dependency> <groupId>org.apache.nifi.registry</groupId> <artifactId>nifi-registry-docs</artifactId> <version>2.4.0</version> <classifier>resources</classifier> <scope>runtime</scope> <type>zip</type> </dependency> <dependency> <groupId>org.apache.nifi.registry</groupId> <artifactId>nifi-registry-properties-loader</artifactId> </dependency> </dependencies> <properties> <!-- nifi-registry.properties: web properties --> <nifi.registry.web.war.directory>./lib</nifi.registry.web.war.directory> <nifi.registry.web.http.host /> <nifi.registry.web.http.port>18080</nifi.registry.web.http.port> <nifi.registry.web.https.host /> <nifi.registry.web.https.port /> <nifi.registry.web.https.network.interface.default /> <nifi.registry.web.https.application.protocols>h2 http/1.1</nifi.registry.web.https.application.protocols> <nifi.registry.jetty.work.dir>./work/jetty</nifi.registry.jetty.work.dir> <nifi.registry.web.jetty.threads>200</nifi.registry.web.jetty.threads> <nifi.registry.web.should.send.server.version>true</nifi.registry.web.should.send.server.version> <!-- nifi-registry.properties: security properties --> <nifi.registry.security.keystore /> <nifi.registry.security.keystoreType /> <nifi.registry.security.keystorePasswd /> <nifi.registry.security.keyPasswd /> <nifi.registry.security.truststore /> <nifi.registry.security.truststoreType /> <nifi.registry.security.truststorePasswd /> <nifi.registry.security.needClientAuth /> <nifi.registry.security.authorizers.configuration.file>./conf/authorizers.xml</nifi.registry.security.authorizers.configuration.file> <nifi.registry.security.authorizer>managed-authorizer</nifi.registry.security.authorizer> <nifi.registry.security.identity.providers.configuration.file>./conf/identity-providers.xml</nifi.registry.security.identity.providers.configuration.file> <nifi.registry.security.identity.provider /> <!-- nifi-registry.properties: provider properties --> <nifi.registry.providers.configuration.file>./conf/providers.xml</nifi.registry.providers.configuration.file> <!-- nifi-registry.properties: registry alias properties --> <nifi.registry.registry.alias.configuration.file>./conf/registry-aliases.xml</nifi.registry.registry.alias.configuration.file> <!-- nifi-registry.properties: extension properties --> <nifi.registry.extension.archive.type>zip</nifi.registry.extension.archive.type> <nifi.registry.extensions.working.directory>./work/extensions</nifi.registry.extensions.working.directory> <nifi.registry.extension.dir.aws /> <!-- nifi-registry.properties: legacy database properties, used to migrate data from old DB to the new DB below --> <nifi.registry.db.directory /> <nifi.registry.db.url.append /> <!-- nifi-registry.properties: database properties --> <nifi.registry.db.url>jdbc:h2:./database/nifi-registry-primary;AUTOCOMMIT=OFF;DB_CLOSE_ON_EXIT=FALSE;LOCK_MODE=3;LOCK_TIMEOUT=25000;WRITE_DELAY=0;AUTO_SERVER=FALSE</nifi.registry.db.url> <nifi.registry.db.driver.class>org.h2.Driver</nifi.registry.db.driver.class> <nifi.registry.db.driver.directory /> <nifi.registry.db.username>nifireg</nifi.registry.db.username> <nifi.registry.db.password>nifireg</nifi.registry.db.password> <nifi.registry.db.maxConnections>5</nifi.registry.db.maxConnections> <nifi.registry.db.sql.debug>false</nifi.registry.db.sql.debug> <!-- nifi-registry.properties: kerberos properties --> <nifi.registry.kerberos.krb5.file /> <nifi.registry.kerberos.spnego.principal /> <nifi.registry.kerberos.spnego.keytab.location /> <nifi.registry.kerberos.spnego.authentication.expiration>12 hours</nifi.registry.kerberos.spnego.authentication.expiration> <!-- nifi-registry.properties: OIDC properties --> <nifi.registry.security.user.oidc.discovery.url /> <nifi.registry.security.user.oidc.connect.timeout /> <nifi.registry.security.user.oidc.read.timeout /> <nifi.registry.security.user.oidc.client.id /> <nifi.registry.security.user.oidc.client.secret /> <nifi.registry.security.user.oidc.preferred.jwsalgorithm /> <nifi.registry.security.user.oidc.claim.groups>groups</nifi.registry.security.user.oidc.claim.groups> <!-- nifi.registry.properties: revision management properties --> <nifi.registry.revisions.enabled>false</nifi.registry.revisions.enabled> </properties> <profiles> <profile> <id>include-aws</id> <activation> <property> <name>!skipAws</name> </property> </activation> <properties> <nifi.registry.extension.dir.aws>./ext/aws/lib</nifi.registry.extension.dir.aws> </properties> <build> <plugins> <plugin> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>unpack-aws-extensions</id> <goals> <goal>unpack</goal> </goals> <phase>prepare-package</phase> <configuration> <outputDirectory>${project.build.directory}/ext/aws</outputDirectory> <artifactItems> <artifactItem> <groupId>org.apache.nifi.registry</groupId> <artifactId>nifi-registry-aws-assembly</artifactId> <version>${project.version}</version> <classifier>bin</classifier> <type>${nifi.registry.extension.archive.type}</type> </artifactItem> </artifactItems> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>targz</id> <activation> <activeByDefault>false</activeByDefault> </activation> <properties> <nifi.registry.extension.archive.type>tar.gz</nifi.registry.extension.archive.type> </properties> <build> <plugins> <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <finalName>nifi-registry-${project.version}</finalName> <attach>false</attach> </configuration> <executions> <execution> <id>make shared resource</id> <goals> <goal>single</goal> </goals> <phase>package</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>tar.gz</format> </formats> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>dir-only</id> <activation> <activeByDefault>false</activeByDefault> </activation> <build> <plugins> <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <finalName>nifi-registry-${project.version}</finalName> <attach>false</attach> </configuration> <executions> <execution> <id>make shared resource</id> <goals> <goal>single</goal> </goals> <phase>package</phase> <configuration> <archiverConfig> <defaultDirectoryMode>0775</defaultDirectoryMode> <directoryMode>0775</directoryMode> <fileMode>0664</fileMode> </archiverConfig> <descriptors> <descriptor>src/main/assembly/dependencies.xml</descriptor> </descriptors> <formats> <format>dir</format> </formats> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>