-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
executable file
·52 lines (52 loc) · 2.15 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<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>com.restlet.client</groupId>
<artifactId>data_validation</artifactId>
<version>1.0.0</version>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>process-test-resources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<replace token="RESTLET_CLOUD_API_KEY" value="${api_key}" dir="${basedir}/target">
<include name="**/*.json"/>
</replace>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.restlet.client</groupId>
<artifactId>maven-plugin</artifactId>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<file>${basedir}/target/test-classes/contacts-api.json</file>
<selectedEnvironment>restlet-cloud</selectedEnvironment>
<licenseKey>${license_key}</licenseKey>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<pluginRepositories>
<pluginRepository>
<id>restlet-public</id>
<name>Restlet Public Repository</name>
<url>http://maven.restlet.com</url>
</pluginRepository>
</pluginRepositories>
</project>