blob: 337f2d23a8a8118af2c37715381390d7a19c1f15 [file] [log] [blame]
<?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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.phoenix</groupId>
<artifactId>phoenix</artifactId>
<version>5.1.3</version>
</parent>
<artifactId>phoenix-tracing-webapp</artifactId>
<name>Phoenix - Tracing Web Application</name>
<description>Tracing web application will visualize the phoenix traces</description>
<properties>
<!-- tracing webapp only versions -->
<servlet.api.version>3.1.0</servlet.api.version>
<jetty.version>9.4.49.v20220914</jetty.version>
</properties>
<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>${servlet.api.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-util</artifactId>
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-webapp</artifactId>
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>ch.qos.reload4j</groupId>
<artifactId>reload4j</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.phoenix</groupId>
<artifactId>phoenix-core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-common</artifactId>
</dependency>
<dependency>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-common</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>runnable</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<attach>true</attach>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>org.apache.phoenix.tracingwebapp.http.Main</mainClass>
</manifest>
</archive>
<finalName>${project.artifactId}-${project.version}</finalName>
<descriptors>
<descriptor>src/build/trace-server-runnable.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/webapp/**</exclude>
<exclude>**/*.xml</exclude>
<exclude>**/README.md</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<!-- These tests fail with recent SSL libraries. See PHOENIX-6784.
You need to be using an older Linux distro, or use the
export OPENSSL_CONF=/dev/null
workaround to run these tests
-->
<id>jasmin-tests</id>
<activation>
<property>
<name>jasmine-tests</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>com.github.searls</groupId>
<artifactId>jasmine-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
<configuration>
<phantomjs>
<version>2.1.1</version>
</phantomjs>
<!--browserVersion>FIREFOX_16</browserVersion-->
<preloadSources combine.children="append">
<source>${project.basedir}/src/main/webapp/js/lib/jquery.min.js</source>
<source>${project.basedir}/src/main/webapp/js/lib/angular.js</source>
<source>${project.basedir}/src/main/webapp/js/lib/angular-route.js</source>
<source>${project.basedir}/src/main/webapp/js/lib/angular-mocks.js</source>
<source>${project.basedir}/src/main/webapp/js/lib/ng-google-chart.js</source>
<source>${project.basedir}/src/main/webapp/js/lib/bootstrap.js</source>
<source>${project.basedir}/src/main/webapp/js/lib/ui-bootstrap-tpls.js</source>
<source>${project.basedir}/src/main/webapp/js/controllers/accordion-controllers.js</source>
<source>${project.basedir}/src/main/webapp/js/controllers/timeline-controllers.js</source>
<source>${project.basedir}/src/main/webapp/js/controllers/search-controllers.js</source>
<source>${project.basedir}/src/main/webapp/js/controllers/dependency-tree-controllers.js</source>
<source>${project.basedir}/src/main/webapp/js/app.js</source>
<source>${project.basedir}/src/main/webapp/js/controllers/list-controllers.js</source>
<source>${project.basedir}/src/main/webapp/js/controllers/trace-count-controllers.js</source>
<source>${project.basedir}/src/main/webapp/js/controllers/trace-distribution-controllers.js</source>
</preloadSources>
<!--jsSrcDir>${basedir}/src/main/webapp/js/controllers</jsSrcDir-->
<jsTestSrcDir>${basedir}/src/test/webapp/js/specs</jsTestSrcDir>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>