This repository has been archived by the owner on Oct 6, 2022. It is now read-only.
/
pom.xml
109 lines (94 loc) · 4.49 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<?xml version="1.0" encoding="UTF-8"?>
<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>
<!--
* ΙΔΕΑ : THE JBOSS TESTSUITE TO DEVELOP TESTS AGAINST INFINITE NUMBER OF JBOSS SERVERS
-->
<parent>
<groupId>org.jboss</groupId>
<artifactId>eap72x-proposed-additional-testsuite-basic</artifactId>
<version>1.0.3.Final</version>
</parent>
<artifactId>eap72x-proposed-additional-testsuite-basic-configuration</artifactId>
<name>eap7 additional testsuite: basic : configuration</name>
<properties>
<standalone.conf>${basedir}/../src/test/config/standaloneEap7/standalone.xml</standalone.conf>
<jboss.modules.dir>${basedir}/../../../../..</jboss.modules.dir>
<server>eap7</server>
</properties>
<build>
<!--
Surefire test executions
-->
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<executions>
<execution>
<id>default-test</id>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<!-- Tests to execute. -->
<includes>
<include>org/jboss/additional/testsuite/jdkall/present/basic/**/BasicTest.java</include>
<include>org/jboss/additional/testsuite/jdkall/present/basic/**/AdditionalTestsuiteServerIntegrationTest.java</include>
<include>org/jboss/additional/testsuite/jdkall/present/basic/**/*TestCase.java</include>
<include>org/remote/tests/**/*Test.java</include>
</includes>
</configuration>
</execution>
</executions>
<configuration>
<!-- Prevent test and server output appearing in console. -->
<redirectTestOutputToFile>${testLogToFile}</redirectTestOutputToFile>
<failIfNoTests>false</failIfNoTests>
<!-- Arquillian's config files. -->
<additionalClasspathElements combine.children="append">
<additionalClasspathElement>${jboss.modules.dir}/src/config/arqEap7</additionalClasspathElement>
</additionalClasspathElements>
</configuration>
</plugin>
<!-- Build the server configuration -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>build-basic-config</id>
<phase>generate-resources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<ant antfile="${jboss.modules.dir}/src/test/scripts/clean-deployments.xml">
<property name="serverDir" value="/${jboss.modules.dir}/servers" />
<target name="clean-deployments"/>
</ant>
<ant antfile="${jboss.modules.dir}/src/test/scripts/basic-build.xml">
<property name="workspace" value="/${jboss.modules.dir}" />
<property name="server" value="${server}" />
<property name="dist" value="jbossas" />
<property name="standaloneConfiguration" value="${standalone.conf}" />
<target name="build-basic-check"/>
</ant>
<ant antfile="${jboss.modules.dir}/src/test/scripts/copy-file.xml">
<property name="fileName" value="image.png" />
<property name="filePath" value="${basedir}/src/test/resources" />
<property name="fileToCopy" value="${jboss.modules.dir}/src/resources/image.png" />
<target name="copy-file"/>
</ant>
</target>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>