2019-03-05 18:54:29 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
Licensed 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
|
|
|
|
|
2019-05-28 03:29:44 -04:00
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
2019-03-05 18:54:29 -05:00
|
|
|
|
|
|
|
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. See accompanying LICENSE file.
|
|
|
|
-->
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2019-05-27 02:24:59 -04:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2019-03-05 18:54:29 -05:00
|
|
|
<parent>
|
|
|
|
<artifactId>hadoop-ozone</artifactId>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2019-03-14 06:59:40 -04:00
|
|
|
<version>0.5.0-SNAPSHOT</version>
|
2019-03-05 18:54:29 -05:00
|
|
|
</parent>
|
|
|
|
<name>Apache Hadoop Ozone Recon</name>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2019-03-08 03:59:41 -05:00
|
|
|
<artifactId>hadoop-ozone-recon</artifactId>
|
2019-04-04 05:33:37 -04:00
|
|
|
<properties>
|
|
|
|
<jooq.version>3.11.10</jooq.version>
|
|
|
|
<spring.version>5.1.3.RELEASE</spring.version>
|
|
|
|
</properties>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<version>${exec-maven-plugin.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>java</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<executable>java</executable>
|
|
|
|
<classpathScope>compile</classpathScope>
|
|
|
|
<mainClass>org.hadoop.ozone.recon.codegen.JooqCodeGenerator</mainClass>
|
|
|
|
<arguments>
|
|
|
|
<argument>${project.build.directory}/generated-sources/java</argument>
|
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>add-source</id>
|
|
|
|
<phase>generate-sources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>add-source</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<sources>
|
|
|
|
<source>${project.build.directory}/generated-sources/java</source>
|
|
|
|
</sources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>findbugs-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludeFilterFile>${basedir}/dev-support/findbugsExcludeFile.xml</excludeFilterFile>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2019-05-20 16:09:58 -04:00
|
|
|
<!--
|
|
|
|
1. used for local installation of node and yarn
|
|
|
|
2. to install dependencies with yarn install
|
|
|
|
3. building the frontend application
|
|
|
|
-->
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.github.eirslett</groupId>
|
|
|
|
<artifactId>frontend-maven-plugin</artifactId>
|
|
|
|
<version>1.6</version>
|
|
|
|
<configuration>
|
|
|
|
<installDirectory>target</installDirectory>
|
|
|
|
<workingDirectory>${basedir}/src/main/resources/webapps/recon/ozone-recon-web</workingDirectory>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>Install node and yarn locally to the project</id>
|
|
|
|
<goals>
|
|
|
|
<goal>install-node-and-yarn</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<nodeVersion>v12.1.0</nodeVersion>
|
|
|
|
<yarnVersion>v1.9.2</yarnVersion>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>yarn install</id>
|
|
|
|
<goals>
|
|
|
|
<goal>yarn</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<arguments>install</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>Build frontend</id>
|
|
|
|
<goals>
|
|
|
|
<goal>yarn</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<arguments>run build</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2019-04-04 05:33:37 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2019-05-20 16:09:58 -04:00
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
2019-04-04 05:33:37 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
2019-05-20 16:09:58 -04:00
|
|
|
<id>Copy frontend build to target</id>
|
|
|
|
<phase>process-resources</phase>
|
2019-04-04 05:33:37 -04:00
|
|
|
<goals>
|
2019-05-20 16:09:58 -04:00
|
|
|
<goal>copy-resources</goal>
|
2019-04-04 05:33:37 -04:00
|
|
|
</goals>
|
|
|
|
<configuration>
|
2019-05-20 16:09:58 -04:00
|
|
|
<outputDirectory>${project.build.outputDirectory}/webapps/recon</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${basedir}/src/main/resources/webapps/recon/ozone-recon-web/build</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>Copy frontend static files to target</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${project.build.outputDirectory}/webapps/static</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${basedir}/src/main/resources/webapps/recon/ozone-recon-web/build/static</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
2019-04-04 05:33:37 -04:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2019-03-05 18:54:29 -05:00
|
|
|
<dependencies>
|
2019-02-15 07:52:25 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-ozone-common</artifactId>
|
2019-04-03 17:52:06 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>jersey-server</artifactId>
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>jersey-core</artifactId>
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>jersey-servlet</artifactId>
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2019-02-15 07:52:25 -05:00
|
|
|
</dependency>
|
2019-04-04 05:33:37 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2019-04-15 15:58:06 -04:00
|
|
|
<artifactId>hadoop-ozone-reconcodegen</artifactId>
|
2019-04-04 05:33:37 -04:00
|
|
|
<version>${version}</version>
|
|
|
|
</dependency>
|
2019-03-20 23:02:29 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
<artifactId>hadoop-ozone-ozone-manager</artifactId>
|
|
|
|
</dependency>
|
2019-03-05 18:54:29 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.inject</groupId>
|
|
|
|
<artifactId>guice</artifactId>
|
|
|
|
<version>${guice.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.inject.extensions</groupId>
|
|
|
|
<artifactId>guice-servlet</artifactId>
|
2019-04-03 17:52:06 -04:00
|
|
|
<version>${guice.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jersey.containers</groupId>
|
|
|
|
<artifactId>jersey-container-servlet</artifactId>
|
|
|
|
<version>2.27</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.glassfish.hk2</groupId>
|
|
|
|
<artifactId>hk2-api</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2019-04-04 05:33:37 -04:00
|
|
|
<scope>compile</scope>
|
2019-03-05 18:54:29 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jersey.containers</groupId>
|
|
|
|
<artifactId>jersey-container-servlet-core</artifactId>
|
|
|
|
<version>2.27</version>
|
2019-04-03 17:52:06 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.hk2</groupId>
|
|
|
|
<artifactId>guice-bridge</artifactId>
|
|
|
|
<version>2.5.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jersey.core</groupId>
|
|
|
|
<artifactId>jersey-server</artifactId>
|
|
|
|
<version>2.27</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jersey.media</groupId>
|
|
|
|
<artifactId>jersey-media-json-jackson</artifactId>
|
|
|
|
<version>2.27</version>
|
2019-03-05 18:54:29 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.inject.extensions</groupId>
|
|
|
|
<artifactId>guice-assistedinject</artifactId>
|
2019-04-04 05:33:37 -04:00
|
|
|
<version>${guice.version}</version>
|
2019-03-05 18:54:29 -05:00
|
|
|
</dependency>
|
2019-04-03 17:52:06 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jersey.inject</groupId>
|
|
|
|
<artifactId>jersey-hk2</artifactId>
|
|
|
|
<version>2.27</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>hk2-api</artifactId>
|
|
|
|
<groupId>org.glassfish.hk2</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.glassfish.hk2.external</groupId>
|
|
|
|
<artifactId>aopalliance-repackaged</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.glassfish.hk2</groupId>
|
|
|
|
<artifactId>hk2-utils</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2019-03-08 03:59:41 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
2019-03-20 23:02:29 -04:00
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
<version>2.8.9</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.powermock</groupId>
|
|
|
|
<artifactId>powermock-module-junit4</artifactId>
|
|
|
|
<version>1.7.4</version>
|
|
|
|
<scope>test</scope>
|
2019-04-03 17:52:06 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.javassist</groupId>
|
|
|
|
<artifactId>javassist</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2019-03-20 23:02:29 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.powermock</groupId>
|
|
|
|
<artifactId>powermock-api-mockito2</artifactId>
|
|
|
|
<version>1.7.4</version>
|
2019-03-08 03:59:41 -05:00
|
|
|
<scope>test</scope>
|
2019-03-20 23:02:29 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2019-03-08 03:59:41 -05:00
|
|
|
</dependency>
|
2019-04-04 05:33:37 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.jooq</groupId>
|
|
|
|
<artifactId>jooq</artifactId>
|
|
|
|
<version>${jooq.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jooq</groupId>
|
|
|
|
<artifactId>jooq-meta</artifactId>
|
|
|
|
<version>${jooq.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jooq</groupId>
|
|
|
|
<artifactId>jooq-codegen</artifactId>
|
|
|
|
<version>${jooq.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.jolbox</groupId>
|
|
|
|
<artifactId>bonecp</artifactId>
|
|
|
|
<version>0.8.0.RELEASE</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.xerial</groupId>
|
|
|
|
<artifactId>sqlite-jdbc</artifactId>
|
|
|
|
<version>3.25.2</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-jdbc</artifactId>
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
</dependency>
|
2019-05-20 16:09:58 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.activation</groupId>
|
|
|
|
<artifactId>activation</artifactId>
|
|
|
|
<version>1.1.1</version>
|
|
|
|
</dependency>
|
2019-03-05 18:54:29 -05:00
|
|
|
</dependencies>
|
2019-05-27 02:24:59 -04:00
|
|
|
</project>
|