-
Notifications
You must be signed in to change notification settings - Fork 1
/
pom.xml
186 lines (182 loc) · 8.65 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
<?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>
<groupId>jsf.sandbox</groupId>
<artifactId>jsf-sandbox</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>war</packaging>
<name>jsf-sandbox</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.8</java.version>
<javaee.web.api.version>7.0</javaee.web.api.version>
<jsf-project-stage>Development</jsf-project-stage>
<jsf-facelets-refresh-period>1</jsf-facelets-refresh-period>
<jsf-state-saving-method>server</jsf-state-saving-method>
<maven.compiler.plugin.version>3.3</maven.compiler.plugin.version>
<maven.war.plugin.version>2.6</maven.war.plugin.version>
<embedded-glassfish-web-plugin.version>2.1</embedded-glassfish-web-plugin.version>
<maven-embedded-glassfish-plugin.version>4.1.1</maven-embedded-glassfish-plugin.version>
<wildfly-maven-plugin.version>1.1.0.Alpha10</wildfly-maven-plugin.version>
<wildfly-swarm-plugin.version>1.0.0.CR2</wildfly-swarm-plugin.version>
<tomee-embedded-maven-plugin.version>7.0.1</tomee-embedded-maven-plugin.version>
<tomee-maven-plugin.version>7.0.1</tomee-maven-plugin.version>
</properties>
<dependencies>
<!-- Java EE Web Profile 7 -->
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-web-api</artifactId>
<version>${javaee.web.api.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<finalName>${project.artifactId}</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<filtering>true</filtering>
<directory>${basedir}/src/main/webapp/WEB-INF</directory>
<includes>
<include>web.xml</include>
</includes>
<targetPath>${project.build.directory}/${project.build.finalName}/WEB-INF/</targetPath>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.plugin.version}</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>${maven.war.plugin.version}</version>
<configuration>
<failOnMissingWebXml>true</failOnMissingWebXml>
<webXml>${project.build.directory}/${project.build.finalName}/WEB-INF/web.xml</webXml>
</configuration>
</plugin>
<plugin>
<groupId>net.sf.opk</groupId>
<artifactId>embedded-glassfish-web-plugin</artifactId>
<version>${embedded-glassfish-web-plugin.version}</version>
<configuration>
<contextRoot>${project.build.finalName}</contextRoot>
</configuration>
</plugin>
<plugin>
<groupId>org.glassfish.embedded</groupId>
<artifactId>maven-embedded-glassfish-plugin</artifactId>
<version>${maven-embedded-glassfish-plugin.version}</version>
<configuration>
<port>8080</port>
</configuration>
<executions>
<execution>
<goals>
<goal>deploy</goal>
</goals>
<phase>none</phase>
<configuration>
<app>target/${project.build.finalName}.${project.packaging}</app>
<contextRoot>${project.build.finalName}</contextRoot>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.wildfly.plugins</groupId>
<artifactId>wildfly-maven-plugin</artifactId>
<version>${wildfly-maven-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.wildfly.swarm</groupId>
<artifactId>wildfly-swarm-plugin</artifactId>
<version>${wildfly-swarm-plugin.version}</version>
<executions>
<execution>
<id>package</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.tomee.maven</groupId>
<artifactId>tomee-embedded-maven-plugin</artifactId>
<version>${tomee-embedded-maven-plugin.version}</version>
<dependencies>
<dependency>
<groupId>org.apache.tomee</groupId>
<artifactId>tomee-embedded</artifactId>
<version>${tomee-embedded-maven-plugin.version}</version>
<exclusions>
<exclusion>
<groupId>org.apache.myfaces.core</groupId>
<artifactId>myfaces-api</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.myfaces.core</groupId>
<artifactId>myfaces-impl</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.glassfish</groupId>
<artifactId>javax.faces</artifactId>
<version>2.2.13</version>
</dependency>
<dependency>
<groupId>org.apache.tomee</groupId>
<artifactId>tomee-mojarra</artifactId>
<version>${tomee-embedded-maven-plugin.version}</version>
</dependency>
<dependency>
<groupId>org.apache.tomee</groupId>
<artifactId>openejb-jpa-integration</artifactId>
<version>${tomee-embedded-maven-plugin.version}</version>
</dependency>
<dependency>
<groupId>org.apache.tomee</groupId>
<artifactId>openejb-core-eclipselink</artifactId>
<version>${tomee-embedded-maven-plugin.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>eclipselink</artifactId>
<version>2.6.2</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<version>5.2.4.Final</version>
</dependency>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
<version>3.3.0.Final</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.tomee.maven</groupId>
<artifactId>tomee-maven-plugin</artifactId>
<version>${tomee-maven-plugin.version}</version>
<configuration>
<tomeeVersion>${tomee.version}</tomeeVersion>
<tomeeClassifier>webprofile</tomeeClassifier>
<!--tomeeClassifier>plus</tomeeClassifier-->
<!--tomeeClassifier>plume</tomeeClassifier-->
</configuration>
</plugin>
</plugins>
</build>
</project>