mirror of https://github.com/apache/nifi.git
97 lines
4.1 KiB
XML
97 lines
4.1 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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||
|
|
||
|
<parent>
|
||
|
<artifactId>nifi-python-extensions</artifactId>
|
||
|
<groupId>org.apache.nifi</groupId>
|
||
|
<version>2.0.0-SNAPSHOT</version>
|
||
|
</parent>
|
||
|
<modelVersion>4.0.0</modelVersion>
|
||
|
|
||
|
<packaging>pom</packaging>
|
||
|
<artifactId>nifi-python-extensions-bundle</artifactId>
|
||
|
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>org.apache.nifi</groupId>
|
||
|
<artifactId>nifi-openai-module</artifactId>
|
||
|
<version>2.0.0-SNAPSHOT</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.apache.nifi</groupId>
|
||
|
<artifactId>nifi-text-embeddings-module</artifactId>
|
||
|
<version>2.0.0-SNAPSHOT</version>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
|
||
|
<build>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<artifactId>maven-dependency-plugin</artifactId>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>unpack-python-extensions</id>
|
||
|
<goals>
|
||
|
<goal>unpack-dependencies</goal>
|
||
|
</goals>
|
||
|
<phase>generate-test-resources</phase>
|
||
|
<configuration>
|
||
|
<excludeTransitive>true</excludeTransitive>
|
||
|
<excludes>META-INF, META-INF/**</excludes>
|
||
|
<outputDirectory>${project.build.directory}/python</outputDirectory>
|
||
|
<includeScope>runtime</includeScope>
|
||
|
</configuration>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-assembly-plugin</artifactId>
|
||
|
<configuration>
|
||
|
<finalName>nifi-python-extensions-bundle</finalName>
|
||
|
<appendAssemblyId>false</appendAssemblyId>
|
||
|
<attach>true</attach>
|
||
|
</configuration>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<id>package</id>
|
||
|
<goals>
|
||
|
<goal>single</goal>
|
||
|
</goals>
|
||
|
<phase>generate-test-resources</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>zip</format>
|
||
|
</formats>
|
||
|
</configuration>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
|
||
|
</project>
|