| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| ~ Copyright 2017, OpenSkywalking Organization All rights reserved. |
| ~ |
| ~ 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 |
| ~ |
| ~ 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 repository: https://github.com/OpenSkywalking/skywalking-ui |
| --> |
| |
| <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> |
| |
| <groupId>org.skywalking</groupId> |
| <artifactId>apm-ui</artifactId> |
| <version>3.2.5-2017</version> |
| <packaging>jar</packaging> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <spring-boot-version>1.5.2.RELEASE</spring-boot-version> |
| <springVersion>4.3.2.RELEASE</springVersion> |
| <compiler.version>1.8</compiler.version> |
| <log4j.version>2.6.2</log4j.version> |
| <powermock.version>1.6.4</powermock.version> |
| <docker.plugin.version>0.4.13</docker.plugin.version> |
| <docker.image.name>skywalking/skywalking-ui</docker.image.name> |
| <docker.image.version>${version}</docker.image.version> |
| <momentjs.version>2.18.1</momentjs.version> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter</artifactId> |
| <version>${spring-boot-version}</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>log4j-over-slf4j</artifactId> |
| <groupId>org.slf4j</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jul-to-slf4j</artifactId> |
| <groupId>org.slf4j</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>jcl-over-slf4j</artifactId> |
| <groupId>org.slf4j</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>logback-classic</artifactId> |
| <groupId>ch.qos.logback</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-jetty</artifactId> |
| <version>${spring-boot-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-web</artifactId> |
| <version>${spring-boot-version}</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>spring-boot-starter-tomcat</artifactId> |
| <groupId>org.springframework.boot</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>hibernate-validator</artifactId> |
| <groupId>org.hibernate</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>com.google.code.gson</groupId> |
| <artifactId>gson</artifactId> |
| <version>2.6.2</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpclient</artifactId> |
| <version>4.5.3</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-api</artifactId> |
| <version>${log4j.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-core</artifactId> |
| <version>${log4j.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-slf4j-impl</artifactId> |
| <version>${log4j.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-jcl</artifactId> |
| <version>${log4j.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.webjars.bower</groupId> |
| <artifactId>vis</artifactId> |
| <version>4.19.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.webjars</groupId> |
| <artifactId>bootstrap</artifactId> |
| <version>3.3.6</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>jquery</artifactId> |
| <groupId>org.webjars</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.webjars</groupId> |
| <artifactId>animate.css</artifactId> |
| <version>3.5.2</version> |
| </dependency> |
| <dependency> |
| <groupId>org.webjars</groupId> |
| <artifactId>jquery</artifactId> |
| <version>2.2.4</version> |
| </dependency> |
| <dependency> |
| <groupId>org.webjars</groupId> |
| <artifactId>jquery-ui</artifactId> |
| <version>1.12.0</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>jquery</artifactId> |
| <groupId>org.webjars</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.webjars</groupId> |
| <artifactId>font-awesome</artifactId> |
| <version>4.6.3</version> |
| </dependency> |
| <dependency> |
| <groupId>org.webjars.bower</groupId> |
| <artifactId>jsviews</artifactId> |
| <version>1.0.0-beta.70</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>jquery</artifactId> |
| <groupId>org.webjars.bower</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.webjars.bower</groupId> |
| <artifactId>metisMenu</artifactId> |
| <version>2.5.2</version> |
| </dependency> |
| <dependency> |
| <groupId>org.webjars.npm</groupId> |
| <artifactId>jquery-slimscroll</artifactId> |
| <version>1.3.6</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>jquery</artifactId> |
| <groupId>org.webjars.npm</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.webjars.bower</groupId> |
| <artifactId>ion.rangeSlider</artifactId> |
| <version>2.1.4</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>jquery</artifactId> |
| <groupId>org.webjars.bower</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.webjars</groupId> |
| <artifactId>bootstrap-daterangepicker</artifactId> |
| <version>2.1.24</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>bootstrap</artifactId> |
| <groupId>org.webjars</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>momentjs</artifactId> |
| <groupId>org.webjars</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.webjars.bower</groupId> |
| <artifactId>d3</artifactId> |
| <version>3.5.17</version> |
| </dependency> |
| <dependency> |
| <groupId>org.webjars.bower</groupId> |
| <artifactId>echarts</artifactId> |
| <version>3.3.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.webjars.bower</groupId> |
| <artifactId>datatables</artifactId> |
| <version>1.10.13</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>jquery</artifactId> |
| <groupId>org.webjars.bower</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.webjars</groupId> |
| <artifactId>requirejs</artifactId> |
| <version>2.3.3</version> |
| </dependency> |
| <dependency> |
| <groupId>org.webjars</groupId> |
| <artifactId>requirejs-text</artifactId> |
| <version>2.0.15</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>requirejs</artifactId> |
| <groupId>org.webjars</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.webjars.bower</groupId> |
| <artifactId>chart.js</artifactId> |
| <version>2.5.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.webjars.bower</groupId> |
| <artifactId>jquery-treetable</artifactId> |
| <version>3.2.0</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>jquery</artifactId> |
| <groupId>org.webjars.bower</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.webjars</groupId> |
| <artifactId>vue</artifactId> |
| <version>2.1.3</version> |
| </dependency> |
| <dependency> |
| <groupId>org.webjars.npm</groupId> |
| <artifactId>vue-resource</artifactId> |
| <version>1.3.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.webjars</groupId> |
| <artifactId>momentjs</artifactId> |
| <version>2.18.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.12</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-all</artifactId> |
| <version>1.10.19</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-module-junit4</artifactId> |
| <version>${powermock.version}</version> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <artifactId>junit</artifactId> |
| <groupId>junit</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-api-mockito</artifactId> |
| <version>${powermock.version}</version> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <artifactId>hamcrest-core</artifactId> |
| <groupId>org.hamcrest</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.webjars</groupId> |
| <artifactId>momentjs</artifactId> |
| <version>${momentjs.version}</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <finalName>skywalking-web</finalName> |
| <plugins> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <source>${compiler.version}</source> |
| <target>${compiler.version}</target> |
| <encoding>${project.build.sourceEncoding}</encoding> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-resources-plugin</artifactId> |
| <version>2.4.3</version> |
| <configuration> |
| <encoding>${project.build.sourceEncoding}</encoding> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>2.3.2</version> |
| <configuration> |
| <excludes> |
| <exclude>public/**</exclude> |
| <exclude>config/**</exclude> |
| <exclude>*.properties</exclude> |
| <exclude>*.config</exclude> |
| <exclude>*.xml</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>assembly</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <configuration> |
| <descriptors> |
| <descriptor>src/main/assembly/assembly.xml</descriptor> |
| </descriptors> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>com.spotify</groupId> |
| <artifactId>docker-maven-plugin</artifactId> |
| <version>${docker.plugin.version}</version> |
| <configuration> |
| <skipDocker>false</skipDocker> |
| <imageName>${docker.image.name}</imageName> |
| <imageTags> |
| <imageTag>${docker.image.version}</imageTag> |
| </imageTags> |
| <dockerDirectory>${project.basedir}/docker</dockerDirectory> |
| <resources> |
| <resource> |
| <targetPath>/</targetPath> |
| <directory>${project.build.directory}</directory> |
| <include>${build.finalName}.tar.gz</include> |
| </resource> |
| </resources> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |