forked from payara/Payara
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
272 lines (253 loc) · 10.9 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
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
<?xml version="1.0" encoding="UTF-8"?>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright (c) 2011-2015 Oracle and/or its affiliates. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License"). You
may not use this file except in compliance with the License. You can
obtain a copy of the License at
https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
or packager/legal/LICENSE.txt. See the License for the specific
language governing permissions and limitations under the License.
When distributing the software, include this License Header Notice in each
file and include the License file at packager/legal/LICENSE.txt.
GPL Classpath Exception:
Oracle designates this particular file as subject to the "Classpath"
exception as provided by Oracle in the GPL Version 2 section of the License
file that accompanied this code.
Modifications:
If applicable, add the following below the License Header, with the fields
enclosed by brackets [] replaced by your own identifying information:
"Portions Copyright [year] [name of copyright owner]"
Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
Portions Copyright [2017-2018] Payara Foundation and/or affiliates
-->
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.glassfish.main</groupId>
<artifactId>glassfish-main-aggregator</artifactId>
<version>5.184-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Payara Project</name>
<scm>
<connection>scm:git:[email protected]:payara/payara.git</connection>
<url>scm:git:[email protected]:payara/payara.git</url>
<developerConnection>scm:git:[email protected]:payara/payara.git</developerConnection>
<tag>payara-server-5.184-SNAPSHOT</tag>
</scm>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<properties>
<maven.gpg.plugin.version>1.6</maven.gpg.plugin.version>
<maven.install.plugin.version>2.5.2</maven.install.plugin.version>
<maven.javadoc.plugin.version>2.10.4</maven.javadoc.plugin.version>
<maven.source.plugin.version>3.0.1</maven.source.plugin.version>
<maven.deploy.plugin.version>2.8.2</maven.deploy.plugin.version>
</properties>
<profiles>
<profile>
<id>release-phase2</id>
<activation>
<activeByDefault>true</activeByDefault>
<property>
<name>release-phase-all</name>
<value>true</value>
</property>
</activation>
<modules>
<module>nucleus</module>
<module>appserver</module>
<module>api</module>
</modules>
</profile>
<profile>
<!--
RE profile for release purposes.
-->
<id>ips</id>
<activation>
<property>
<name>release-phase-all</name>
<value>true</value>
</property>
</activation>
<modules>
<module>nucleus</module>
<module>appserver</module>
<module>api</module>
</modules>
</profile>
<profile>
<id>source</id>
<activation>
<activeByDefault>false</activeByDefault>
<property>
<name>source</name>
<value>true</value>
</property>
</activation>
<modules>
<module>nucleus</module>
<module>appserver</module>
<module>api</module>
</modules>
<properties>
<maven.test.skip>true</maven.test.skip>
<project>payara</project>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven.source.plugin.version}</version>
<configuration>
<excludeResources>true</excludeResources>
<excludes>**/*.properties</excludes>
<excludes>**/*.jnlp</excludes>
<excludes>**/*.class</excludes>
<excludes>**/*.html</excludes>
<includePom>false</includePom>
</configuration>
<executions>
<execution>
<phase>pre-site</phase>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
<goal>aggregate</goal>
</goals>
<configuration>
<finalName>payara-5.184-SNAPSHOT</finalName>
<includePom>false</includePom>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>javadoc</id>
<activation>
<activeByDefault>false</activeByDefault>
<property>
<name>javadoc</name>
<value>true</value>
</property>
</activation>
<modules>
<module>nucleus</module>
<module>appserver</module>
<module>api</module>
</modules>
<properties>
<maven.test.skip>true</maven.test.skip>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven.javadoc.plugin.version}</version>
<configuration>
<!-- Default configuration for all reports -->
<docencoding>UTF-8</docencoding>
<includeDependencySources>false</includeDependencySources>
<!-- This parameter is to be added when using JDK8 -->
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
<executions>
<execution>
<id>aggregate</id>
<goals>
<goal>aggregate</goal>
<goal>aggregate-jar</goal>
</goals>
<phase>pre-site</phase>
<configuration>
<!-- Specific configuration for the aggregate report -->
<finalName>payara-5.184-SNAPSHOT</finalName>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>gpgsign</id>
<activation>
<activeByDefault>false</activeByDefault>
<property>
<name>gpgsign</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven.gpg.plugin.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<!--
Skip deploy and install as this is an aggregator POM
-->
<build>
<defaultGoal>install</defaultGoal>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>${maven.install.plugin.version}</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>${maven.deploy.plugin.version}</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>${maven.release.plugin.version}</version>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>