| <?xml version='1.0'?> |
| <!-- |
| |
| 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>4.9.0-HBase-1.1</version> |
| </parent> |
| |
| <artifactId>phoenix-tracing-webapp</artifactId> |
| <name>Phoenix - Tracing Web Application</name> |
| <description>Tracing web application will visualize the phoenix traces</description> |
| |
| <properties> |
| <top.dir>${project.basedir}/..</top.dir> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-server</artifactId> |
| <!-- TODO : pick the same jetty version throughout the project (PHOENIX-2211)--> |
| <version>${jettyVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-webapp</artifactId> |
| <!-- TODO : pick the same jetty version throughout the project (PHOENIX-2211)--> |
| <version>${jettyVersion}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-common</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.phoenix</groupId> |
| <artifactId>phoenix-core</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-common</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.jackson</groupId> |
| <artifactId>jackson-core-asl</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.jackson</groupId> |
| <artifactId>jackson-mapper-asl</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <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>com.github.searls</groupId> |
| <artifactId>jasmine-maven-plugin</artifactId> |
| <version>1.3.1.6</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <!--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> |
| <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> |
| |
| </project> |