| <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>skywalking-storage-center</artifactId> |
| <groupId>com.a.eye</groupId> |
| <version>2.3-2017</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <artifactId>skywalking-routing</artifactId> |
| <packaging>jar</packaging> |
| |
| <name>skywalking-routing</name> |
| <url>http://maven.apache.org</url> |
| |
| <properties> |
| <nanohttpd.version>2.2.0</nanohttpd.version> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>redis.clients</groupId> |
| <artifactId>jedis</artifactId> |
| <version>2.8.0</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.a.eye</groupId> |
| <artifactId>skywalking-util</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <!-- nano httpd --> |
| <dependency> |
| <groupId>org.nanohttpd</groupId> |
| <artifactId>nanohttpd</artifactId> |
| <version>${nanohttpd.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpclient</artifactId> |
| <version>4.5.2</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>2.5</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.google.code.gson</groupId> |
| <artifactId>gson</artifactId> |
| <version>2.7</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <finalName>skywalking-routing</finalName> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>2.3.2</version> |
| <configuration> |
| <excludes> |
| <exclude>*.properties</exclude> |
| <exclude>*.xml</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>make-zip</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> |
| <dockerDirectory>${project.basedir}/docker</dockerDirectory> |
| <imageName>skywalking/skywalking-routing</imageName> |
| <imageTags> |
| <imageTag>2.3-2017</imageTag> |
| </imageTags> |
| <resources> |
| <resource> |
| <targetPath>/</targetPath> |
| <directory>${project.build.directory}</directory> |
| <include>${build.finalName}.tar</include> |
| </resource> |
| </resources> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |