1 <?xml version="1.0" encoding="UTF-8"?>
2 <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/maven-v4_0_0.xsd">
3 <modelVersion>4.0.0</modelVersion>
5 <groupId>com.threerings.getdown</groupId>
6 <artifactId>getdown</artifactId>
7 <version>1.8.3-SNAPSHOT</version>
10 <artifactId>getdown-core</artifactId>
11 <packaging>jar</packaging>
12 <name>Getdown Core</name>
13 <description>Core Getdown functionality</description>
17 <groupId>junit</groupId>
18 <artifactId>junit</artifactId>
19 <version>4.12</version>
23 <groupId>org.mockito</groupId>
24 <artifactId>mockito-core</artifactId>
25 <version>2.22.0</version>
30 <!-- By default, no host whitelist is added to the binary, so it can be used
31 to download and run applications from any server. To create a custom
32 Getdown build that can only talk to whitelisted servers, set this
33 property on the command line, e.g. -Dgetdown.host.whitelist=my.server.com
34 Wildcards can be used (*.mycompany.com) and multiple values can be
35 separated by commas (app1.foo.com,app2.bar.com,app3.baz.com). -->
37 <getdown.host.whitelist />
42 <resource> <!-- include the LICENSE file in the jar -->
43 <directory>..</directory>
44 <includes><include>LICENSE</include></includes>
50 <groupId>org.codehaus.mojo</groupId>
51 <artifactId>build-helper-maven-plugin</artifactId>
52 <version>1.5</version>
55 <id>add-test-source</id>
56 <phase>process-resources</phase>
58 <goal>add-test-source</goal>
62 <source>src/it/java</source>
70 <artifactId>maven-antrun-plugin</artifactId>
71 <version>1.8</version>
75 <phase>generate-sources</phase>
79 <format property="getdown.build.time" pattern="yyyy-MM-dd HH:mm" />
81 <copy file="${project.build.sourceDirectory}/com/threerings/getdown/data/Build.java.tmpl" tofile="${project.build.sourceDirectory}/com/threerings/getdown/data/Build.java" overwrite="true">
83 <filter token="build_time" value="${getdown.build.time}" />
84 <filter token="build_version" value="${project.version}" />
85 <filter token="host_whitelist" value="${getdown.host.whitelist}" />
98 <artifactId>maven-clean-plugin</artifactId>
99 <version>3.1.0</version>
103 <directory>${project.build.sourceDirectory}/</directory>
105 <include>com/threerings/getdown/data/Build.java</include>
107 <followSymlinks>false</followSymlinks>
114 <groupId>org.apache.maven.plugins</groupId>
115 <artifactId>maven-failsafe-plugin</artifactId>
116 <version>2.22.0</version>
120 <goal>integration-test</goal>
126 <useFile>false</useFile>