| <?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> |
| <artifactId>nifi-jolt-bundle</artifactId> |
| <groupId>org.apache.nifi</groupId> |
| <version>2.4.0</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <artifactId>nifi-jolt-transform-json-ui</artifactId> |
| |
| <packaging>war</packaging> |
| <properties> |
| <nifi.jolt.ui.working.dir>${project.build.directory}/nifi-jolt-transform-json-ui-working-directory</nifi.jolt.ui.working.dir> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-framework-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-utils</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-custom-ui-utils</artifactId> |
| <version>2.4.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-expression-language</artifactId> |
| <version>2.4.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-jolt-utils</artifactId> |
| <version>2.4.0</version> |
| </dependency> |
| <dependency> |
| <groupId>jakarta.ws.rs</groupId> |
| <artifactId>jakarta.ws.rs-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.jersey.containers</groupId> |
| <artifactId>jersey-container-servlet-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.jersey.media</groupId> |
| <artifactId>jersey-media-json-jackson</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.jersey.inject</groupId> |
| <artifactId>jersey-hk2</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.jersey.test-framework.providers</groupId> |
| <artifactId>jersey-test-framework-provider-inmemory</artifactId> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-web-servlet-shared</artifactId> |
| <version>2.4.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.nifi</groupId> |
| <artifactId>nifi-frontend</artifactId> |
| <version>2.4.0</version> |
| </dependency> |
| </dependencies> |
| <build> |
| <plugins> |
| <!-- |
| Unpack the built jolt front end application |
| --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>unpack-nifi-jolt-transform-json-ui</id> |
| <phase>prepare-package</phase> |
| <goals> |
| <goal>unpack-dependencies</goal> |
| </goals> |
| <configuration> |
| <includeGroupIds>org.apache.nifi</includeGroupIds> |
| <includeArtifactIds>nifi-frontend</includeArtifactIds> |
| <excludeTransitive>true</excludeTransitive> |
| <silent>false</silent> |
| <outputDirectory>${nifi.jolt.ui.working.dir}</outputDirectory> |
| <includes>nifi-jolt-transform-ui/**/*</includes> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <!-- |
| Include the Jolt UI and exclude the JAR dependency |
| --> |
| <plugin> |
| <artifactId>maven-war-plugin</artifactId> |
| <configuration> |
| <webResources> |
| <resource> |
| <directory>${nifi.jolt.ui.working.dir}/nifi-jolt-transform-ui</directory> |
| <includes>**/*</includes> |
| </resource> |
| <resource> |
| <directory>src/main/webapp/META-INF</directory> |
| <targetPath>META-INF</targetPath> |
| <includes> |
| <include>nifi-processor-configuration</include> |
| </includes> |
| <filtering>true</filtering> |
| </resource> |
| </webResources> |
| <packagingExcludes>WEB-INF/lib/nifi-frontend*.jar</packagingExcludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |