-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
164 lines (134 loc) · 5.88 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
<?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>pt.test</groupId>
<artifactId>remoteear</artifactId>
<version>1.0.0</version>
<packaging>pom</packaging>
<modules>
<module>ejbs</module>
<module>ear</module>
<module>webservices</module>
<module>observers</module>
<module>remoteutils</module>
</modules>
<properties>
<!-- General properties -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- JAVA version -->
<java-version>1.8</java-version>
<!-- Payara version -->
<payara-version>5.2021.7</payara-version>
<!-- Maven plugin versions -->
<ejb-plugin-version>3.1.0</ejb-plugin-version>
<war-plugin-version>3.3.1</war-plugin-version>
<ear-plugin-version>3.2.0</ear-plugin-version>
<clean-plugin-version>3.1.0</clean-plugin-version>
<compiler-plugin-version>3.8.1</compiler-plugin-version>
<deploy-plugin-version>3.0.0-M1</deploy-plugin-version>
<install-plugin-version>3.0.0-M1</install-plugin-version>
<jar-plugin-version>3.2.0</jar-plugin-version>
<!-- EJB Maven plugin version -->
<ejb-maven-version>3.2</ejb-maven-version>
</properties>
<repositories>
<repository>
<id>payara-patched-externals</id>
<name>Payara Patched Externals</name>
<url>https://raw.github.com/payara/Payara_PatchedProjects/master</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>payara-nexus-artifacts</id>
<name>Payara Nexus Artifacts</name>
<url>https://nexus.payara.fish/repository/payara-artifacts</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<dependencyManagement>
<dependencies>
<!-- All of our provided dependencies actually come from the application server, this solves it all -->
<dependency>
<groupId>fish.payara.api</groupId>
<artifactId>payara-bom</artifactId>
<version>${payara-version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<!-- Maven Clean Plugin , used to clean up after build -->
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>${clean-plugin-version}</version>
</plugin>
<!-- Maven Compiler Plugin , for JARs -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${compiler-plugin-version}</version>
<configuration>
<!-- release>${java-version}</release -->
<target>${java-version}</target>
<source>${java-version}</source>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<!-- Maven Deploy plugin, to deploy built artifacts to a remote repository -->
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>${deploy-plugin-version}</version>
</plugin>
<!-- Maven Install plugin, install the build artifacts into the LOCAL repository -->
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>${install-plugin-version}</version>
</plugin>
<!-- Maven EJB Plugin, for EJBs -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ejb-plugin</artifactId>
<version>${ejb-plugin-version}</version>
<configuration>
<ejbVersion>${ejb-maven-version}</ejbVersion>
</configuration>
</plugin>
<!-- Maven WAR Plugin, for WARs -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>${war-plugin-version}</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
<attachClasses>true</attachClasses>
<classesClassifier>classes</classesClassifier>
</configuration>
</plugin>
<!-- Maven EAR Plugin exceptionally defined here as whole -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ear-plugin</artifactId>
<version>${ear-plugin-version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${jar-plugin-version}</version>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>