| <?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/maven-v4_0_0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-assembly</artifactId> |
| <version>1.9.0</version> |
| </parent> |
| <artifactId>nifi-minifi-jni-assembly</artifactId> |
| <packaging>pom</packaging> |
| <description>This is the assembly Apache NiFi</description> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <configuration> |
| <finalName>nifi-minifi-jni</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> |
| </formats> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-framework-nar-utils</artifactId> |
| <version>1.9.0</version> |
| <type>jar</type> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-ssl-context-service-api</artifactId> |
| <version>1.9.0</version> |
| <type>jar</type> |
| </dependency> |
| </dependencies> |
| <profiles> |
| <profile> |
| <id>include-grpc</id> |
| <!-- This profile handles the inclusion of grpc artifacts. They are notoriously |
| environment specific in terms of build such as not working in os/arch=ppc64le |
| or in Centos6 due to requiring a newer version of GLIBC. --> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-grpc-nar</artifactId> |
| <version>1.9.0</version> |
| <type>nar</type> |
| </dependency> |
| </dependencies> |
| </profile> |
| </profiles> |
| </project> |