-
Notifications
You must be signed in to change notification settings - Fork 1
/
pom.xml
97 lines (97 loc) · 3.01 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
<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>
<!-- Project -->
<version>0.0.1-SNAPSHOT</version>
<groupId>io.randomcoding.microservices</groupId>
<artifactId>wildfly-swarm-hello</artifactId>
<name>Wildfly Swarm Hello</name>
<description>Hello service</description>
<!-- End project definition -->
<!-- Properties -->
<properties>
<failOnMissingWebXml>false</failOnMissingWebXml>
<endorsed.dir>${project.build.directory}/endorsed</endorsed.dir>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<version.java>1.8</version.java>
<version.javaee>7.0</version.javaee>
<version.resteasy>3.0.11.Final</version.resteasy>
<version.wildfly.swarm>2017.10.0</version.wildfly.swarm>
</properties>
<!-- End properties -->
<!-- Dependencies -->
<!-- wildfly-swarm dependencies -->
<dependencyManagement>
<dependencies>
<dependency>
<artifactId>bom-all</artifactId>
<groupId>org.wildfly.swarm</groupId>
<version>${version.wildfly.swarm}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>
<!-- End Wildfly-swarm dependencies -->
<dependencies>
<!-- Java EE -->
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-api</artifactId>
<version>${version.javaee}</version>
<scope>provided</scope>
</dependency>
<!-- Log4j -->
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
</dependency>
<!-- RESTEASY -->
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jaxrs</artifactId>
<version>${version.resteasy}</version>
</dependency>
<!-- JACKSON -->
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jackson-provider</artifactId>
<version>${version.resteasy}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>${version.java}</source>
<target>${version.java}</target>
</configuration>
</plugin>
<!-- Wildfly swarm plugin -->
<plugin>
<groupId>org.wildfly.swarm</groupId>
<artifactId>wildfly-swarm-plugin</artifactId>
<version>${version.wildfly.swarm}</version>
<configuration>
<properties>
<swarm.http.port>8098</swarm.http.port>
<java.net.preferIPv4Stack>true</java.net.preferIPv4Stack>
</properties>
</configuration>
<executions>
<execution>
<goals>
<goal>package</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- End Wildfly swarm plugin -->
</plugins>
<finalName>wildfly-swarm-hello</finalName>
</build>
<packaging>war</packaging>
</project>