2016-06-08 00:53:38 -04:00
|
|
|
<?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-standard-bundle</artifactId>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<artifactId>nifi-jolt-transform-json-ui</artifactId>
|
|
|
|
|
|
|
|
<packaging>war</packaging>
|
|
|
|
<properties>
|
|
|
|
<maven.javadoc.skip>true</maven.javadoc.skip>
|
|
|
|
<source.skip>true</source.skip>
|
|
|
|
<jersey.version>1.19.1</jersey.version>
|
2016-07-18 20:09:09 -04:00
|
|
|
<jolt.version>0.0.21</jolt.version>
|
2016-06-08 00:53:38 -04:00
|
|
|
<frontend.dependency.configs>${basedir}/src/main/frontend</frontend.dependency.configs>
|
|
|
|
<frontend.working.dir>${project.build.directory}/frontend-working-directory</frontend.working.dir>
|
|
|
|
<frontend.assets>${project.build.directory}/${project.build.finalName}/assets</frontend.assets>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
|
|
|
<artifactId>nifi-api</artifactId>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
</dependency>
|
2016-07-13 09:28:19 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
|
|
|
<artifactId>nifi-framework-api</artifactId>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
</dependency>
|
2016-06-08 00:53:38 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
|
|
|
<artifactId>nifi-utils</artifactId>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
|
|
|
<artifactId>nifi-custom-ui-utilities</artifactId>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
|
|
|
<artifactId>nifi-processor-utils</artifactId>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
|
|
|
<artifactId>nifi-standard-utils</artifactId>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet.jsp</groupId>
|
|
|
|
<artifactId>javax.servlet.jsp-api</artifactId>
|
|
|
|
<version>2.3.1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.el</groupId>
|
|
|
|
<artifactId>javax.el-api</artifactId>
|
|
|
|
<version>3.0.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet.jsp.jstl</groupId>
|
|
|
|
<artifactId>javax.servlet.jsp.jstl-api</artifactId>
|
|
|
|
<version>1.2.1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
<version>3.1.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
<artifactId>jersey-server</artifactId>
|
|
|
|
<version>${jersey.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
<artifactId>jersey-core</artifactId>
|
|
|
|
<version>${jersey.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
<artifactId>jersey-json</artifactId>
|
|
|
|
<version>${jersey.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
<artifactId>jersey-servlet</artifactId>
|
|
|
|
<version>${jersey.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
<artifactId>jersey-client</artifactId>
|
|
|
|
<version>${jersey.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.bazaarvoice.jolt</groupId>
|
|
|
|
<artifactId>jolt-core</artifactId>
|
|
|
|
<version>${jolt.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.bazaarvoice.jolt</groupId>
|
|
|
|
<artifactId>json-utils</artifactId>
|
|
|
|
<version>${jolt.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-core</artifactId>
|
|
|
|
<version>2.6.2</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-annotations</artifactId>
|
|
|
|
<version>2.6.2</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sun.jersey.jersey-test-framework</groupId>
|
|
|
|
<artifactId>jersey-test-framework-inmemory</artifactId>
|
|
|
|
<version>${jersey.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-bower-json</id>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${frontend.working.dir}</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${frontend.dependency.configs}</directory>
|
|
|
|
<filtering>false</filtering>
|
|
|
|
<includes>
|
|
|
|
<include>bower.json</include>
|
|
|
|
<include>.bowerrc</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.github.eirslett</groupId>
|
|
|
|
<artifactId>frontend-maven-plugin</artifactId>
|
|
|
|
<version>1.0</version>
|
|
|
|
<configuration>
|
|
|
|
<installDirectory>${frontend.working.dir}</installDirectory>
|
|
|
|
</configuration>
|
|
|
|
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>install-node-and-npm</id>
|
|
|
|
<goals>
|
|
|
|
<goal>install-node-and-npm</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<configuration>
|
|
|
|
<nodeVersion>v0.10.18</nodeVersion>
|
|
|
|
<npmVersion>1.3.8</npmVersion>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>install-bower</id>
|
|
|
|
<goals>
|
|
|
|
<goal>npm</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<arguments>install bower</arguments>
|
|
|
|
<workingDirectory>${frontend.working.dir}</workingDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>bower-install</id>
|
|
|
|
<goals>
|
|
|
|
<goal>bower</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<arguments>install --config.directory=${frontend.assets}</arguments>
|
|
|
|
<workingDirectory>${frontend.working.dir}</workingDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.rat</groupId>
|
|
|
|
<artifactId>apache-rat-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes combine.children="append">
|
|
|
|
<exclude>src/main/frontend/.bowerrc</exclude>
|
|
|
|
<exclude>src/main/frontend/bower.json</exclude>
|
|
|
|
<exclude>src/main/webapp/css/main.css</exclude>
|
|
|
|
<exclude>src/main/webapp/js/jsonlint/*</exclude>
|
|
|
|
<exclude>src/main/webapp/js/js-beautify/*</exclude>
|
|
|
|
<exclude>src/main/webapp/js/jquery/*</exclude>
|
|
|
|
<exclude>src/main/webapp/js/codemirror/</exclude>
|
|
|
|
<exclude>src/main/webapp/js/angular/**/*</exclude>
|
|
|
|
<exclude>src/main/webapp/js/angular-ui/**/*</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|