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-1.1.5_JVL</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>jalview.org,*.jalview.org</getdown.host.whitelist>
38 <connect_timeout>8</connect_timeout>
39 <read_timeout>15</read_timeout>
44 <resource> <!-- include the LICENSE file in the jar -->
45 <directory>..</directory>
46 <includes><include>LICENSE</include></includes>
52 <groupId>org.codehaus.mojo</groupId>
53 <artifactId>build-helper-maven-plugin</artifactId>
54 <version>1.5</version>
57 <id>add-test-source</id>
58 <phase>process-resources</phase>
60 <goal>add-test-source</goal>
64 <source>src/it/java</source>
72 <artifactId>maven-antrun-plugin</artifactId>
73 <version>1.8</version>
77 <phase>generate-sources</phase>
81 <format property="getdown.build.time" pattern="yyyy-MM-dd HH:mm" />
83 <copy file="${project.build.sourceDirectory}/com/threerings/getdown/data/Build.java.tmpl" tofile="${project.build.sourceDirectory}/com/threerings/getdown/data/Build.java" overwrite="true">
85 <filter token="build_time" value="${getdown.build.time}" />
86 <filter token="build_version" value="${project.version}" />
87 <filter token="host_whitelist" value="${getdown.host.whitelist}" />
88 <filter token="connect_timeout" value="${connect_timeout}" />
89 <filter token="read_timeout" value="${read_timeout}" />
102 <artifactId>maven-clean-plugin</artifactId>
103 <version>3.1.0</version>
107 <directory>${project.build.sourceDirectory}/</directory>
109 <include>com/threerings/getdown/data/Build.java</include>
111 <followSymlinks>false</followSymlinks>
118 <groupId>org.apache.maven.plugins</groupId>
119 <artifactId>maven-failsafe-plugin</artifactId>
120 <version>2.22.0</version>
124 <goal>integration-test</goal>
130 <useFile>false</useFile>