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.4.0_FJVL</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>
40 <allow_file_protocol>false</allow_file_protocol>
45 <resource> <!-- include the LICENSE file in the jar -->
46 <directory>..</directory>
47 <includes><include>LICENSE</include></includes>
53 <groupId>org.codehaus.mojo</groupId>
54 <artifactId>build-helper-maven-plugin</artifactId>
55 <version>1.5</version>
58 <id>add-test-source</id>
59 <phase>process-resources</phase>
61 <goal>add-test-source</goal>
65 <source>src/it/java</source>
73 <artifactId>maven-antrun-plugin</artifactId>
74 <version>1.8</version>
78 <phase>generate-sources</phase>
82 <format property="getdown.build.time" pattern="yyyy-MM-dd HH:mm" />
84 <copy file="${project.build.sourceDirectory}/com/threerings/getdown/data/Build.java.tmpl" tofile="${project.build.sourceDirectory}/com/threerings/getdown/data/Build.java" overwrite="true">
86 <filter token="build_time" value="${getdown.build.time}" />
87 <filter token="build_version" value="${project.version}" />
88 <filter token="host_whitelist" value="${getdown.host.whitelist}" />
89 <filter token="connect_timeout" value="${connect_timeout}" />
90 <filter token="read_timeout" value="${read_timeout}" />
91 <filter token="allow_file_protocol" value="${allow_file_protocol}" />
104 <artifactId>maven-clean-plugin</artifactId>
105 <version>3.1.0</version>
109 <directory>${project.build.sourceDirectory}/</directory>
111 <include>com/threerings/getdown/data/Build.java</include>
113 <followSymlinks>false</followSymlinks>
120 <groupId>org.apache.maven.plugins</groupId>
121 <artifactId>maven-failsafe-plugin</artifactId>
122 <version>2.22.0</version>
126 <goal>integration-test</goal>
132 <useFile>false</useFile>
137 <groupId>org.apache.maven.plugins</groupId>
138 <artifactId>maven-jar-plugin</artifactId>
139 <version>3.1.0</version>
143 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>