-
Notifications
You must be signed in to change notification settings - Fork 889
/
pom.xml
121 lines (116 loc) · 5.39 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
110
111
112
113
114
115
116
117
118
119
120
121
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ JBoss, Home of Professional Open Source.
~
~ Copyright 2023 Red Hat, Inc., and individual contributors
~ as indicated by the @author tags.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<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>
<parent>
<groupId>org.jboss.resteasy.cloud.tests</groupId>
<artifactId>cloud-tests</artifactId>
<version>7.0.0.Alpha3-SNAPSHOT</version>
</parent>
<artifactId>images</artifactId>
<name>RESTEasy Cloud Testsuite: Container Images</name>
<packaging>pom</packaging>
<properties>
<wildfly.channel.manifest.artifactId>wildfly</wildfly.channel.manifest.artifactId>
</properties>
<modules>
<module>cloud-server</module>
</modules>
<build>
<plugins>
<plugin>
<groupId>org.wildfly.plugins</groupId>
<artifactId>wildfly-maven-plugin</artifactId>
<configuration>
<skip>${skipTests}</skip>
<!-- some tests check for the provisioned galleon layers -->
<record-provisioning-state>true</record-provisioning-state>
<feature-packs>
<feature-pack>
<location>org.wildfly:wildfly-galleon-pack:${server.version}</location>
</feature-pack>
<feature-pack>
<location>org.wildfly.cloud:wildfly-cloud-galleon-pack:${version.wildfly.cloud.galleon.pack}</location>
</feature-pack>
</feature-packs>
<channels>
<!-- If the server.version is blank the newest version of WildFly will be used. Otherwise, be
explicit.
-->
<channel>
<manifest>
<groupId>${wildfly.channel.manifest.groupId}</groupId>
<artifactId>${wildfly.channel.manifest.artifactId}</artifactId>
<version>${server.version}</version>
</manifest>
</channel>
<channel>
<manifest>
<groupId>${resteasy.channel.manifest.groupId}</groupId>
<artifactId>${resteasy.channel.manifest.artifactId}</artifactId>
<version>${resteasy.channel.manifest.version}</version>
</manifest>
</channel>
</channels>
<galleon-options>
<jboss-fork-embedded>${galleon.fork.embedded}</jboss-fork-embedded>
</galleon-options>
</configuration>
</plugin>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<configuration>
<skip>${skipTests}</skip>
<images>
<image>
<name>resteasy-cloud-test-image/${project.artifactId}:latest</name>
<alias>server</alias>
<build>
<from>${image.name.wildfly.runtime}</from>
<assembly>
<mode>dir</mode>
<user>jboss:root</user>
<targetDir>/opt/server</targetDir>
<inline>
<formats>
<format>dir</format>
</formats>
<fileSets>
<fileSet>
<directory>target/server</directory>
<outputDirectory>/</outputDirectory>
<includes>
<include>**</include>
</includes>
</fileSet>
</fileSets>
</inline>
</assembly>
</build>
</image>
</images>
</configuration>
</plugin>
</plugins>
</build>
</project>