This repository was archived by the owner on Mar 20, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 57
Expand file tree
/
Copy pathpom.xml
More file actions
527 lines (466 loc) · 20.5 KB
/
Copy pathpom.xml
File metadata and controls
527 lines (466 loc) · 20.5 KB
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
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
<?xml version="1.0" encoding="UTF-8"?>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright (c) 2017 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://javaee.github.io/glassfish/LICENSE
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.
-->
<!--
Project to create the JSF API jar and docs (vdldoc, tlddoc, renderkit docs).
This depends on [mojarra home]/impl being installed first (mvn build install).
-->
<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>net.java</groupId>
<artifactId>jvnet-parent</artifactId>
<version>5</version>
</parent>
<groupId>javax.faces</groupId>
<artifactId>javax.faces-api</artifactId>
<version>2.3.3.99</version>
<packaging>jar</packaging>
<name>JSF API ${project.version}</name>
<properties>
<mojarra.version>2.3.3.99</mojarra.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<inceptionYear>1997</inceptionYear>
<licenses>
<license>
<name>
COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.1
plus "CLASSPATH" EXCEPTION TO THE GPL VERSION 2
</name>
<url>https://javaee.github.io/glassfish/LICENSE</url>
</license>
</licenses>
<organization>
<name>Oracle America, Inc</name>
<url>http://www.oracle.com/</url>
</organization>
<url>https://www.jcp.org/en/jsr/detail?id=372</url>
<developers>
<developer>
<id>edburns</id>
<name>Ed Burns</name>
<email>edward.burns@oracle.com</email>
<organization>Oracle America, Inc.</organization>
<roles>
<role>project-owner</role>
</roles>
<timezone>-5</timezone>
</developer>
<developer>
<id>mriem</id>
<name>Manfred Riem</name>
<email>manfred.riem@oracle.com</email>
<organization>Oracle America, Inc.</organization>
<roles>
<role>project-owner</role>
</roles>
<timezone>-6</timezone>
</developer>
<developer>
<id>ren.zhijun.oracle</id>
<name>Zhijun Ren</name>
<email>ren.zhijun@oracle.com></email>
<organization>Oracle America, Inc.</organization>
<roles>
<role>developer</role>
</roles>
<timezone>+8</timezone>
</developer>
</developers>
<contributors>
<contributor>
<name>Jennifer Ball</name>
</contributor>
<contributor>
<name>Deepak Gothe</name>
</contributor>
<contributor>
<name>Jacob Hookom</name>
</contributor>
<contributor>
<name>Justyna Horwat</name>
</contributor>
<contributor>
<name>Roger Kitain</name>
</contributor>
<contributor>
<name>Jason Lee</name>
</contributor>
<contributor>
<name>Craig McClanahan</name>
</contributor>
<contributor>
<name>Gregory Murray</name>
</contributor>
<contributor>
<name>Raj Premkumar</name>
</contributor>
<contributor>
<name>Stan Silvert</name>
</contributor>
<contributor>
<name>Jayashri Visvanathan</name>
</contributor>
<contributor>
<name>Mike Youngstrom</name>
</contributor>
</contributors>
<scm>
<url>https://github.com/javaserverfaces/mojarra</url>
<connection>scm:git@github.com:javaserverfaces/mojarra.git</connection>
</scm>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/javaee/javaserverfaces-spec/issues</url>
</issueManagement>
<mailingLists>
<mailingList>
<name>JSF Specification Mailing List</name>
<post>https://javaee.groups.io/g/jsf-spec</post>
</mailingList>
</mailingLists>
<build>
<plugins>
<!--
Unpack the sources jar that was build and installed by the [mojarra home]/impl project. This way
we can compile that source again in this project, but for the final artifact jar we only include
the javax.* classes then.
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.0.2</version>
<executions>
<execution>
<id>unpack</id>
<phase>initialize</phase>
<goals>
<goal>unpack</goal>
</goals>
</execution>
</executions>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.glassfish</groupId>
<artifactId>javax.faces</artifactId>
<version>${mojarra.version}</version>
<classifier>sources</classifier>
<outputDirectory>src/main/java</outputDirectory>
<includes>**/*.java</includes>
</artifactItem>
<artifactItem>
<groupId>org.glassfish</groupId>
<artifactId>javax.faces</artifactId>
<version>${mojarra.version}</version>
<classifier>sources</classifier>
<outputDirectory>src/main/resources</outputDirectory>
<excludes>**/*.java</excludes>
</artifactItem>
</artifactItems>
</configuration>
</plugin>
<!--
Create VDL docs
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.0.2</version>
<executions>
<execution>
<id>Copy-vdldoc-css</id>
<phase>test</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/vdldoc</outputDirectory>
<resources>
<resource>
<directory>src/main/vdldoc</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.github.matinh.vdldoc</groupId>
<artifactId>vdldoc-maven-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<id>generate-vdldoc</id>
<phase>prepare-package</phase>
<goals>
<goal>vdldoc</goal>
</goals>
</execution>
</executions>
<configuration>
<srcDirectory>src/main/resources/com/sun/faces/metadata/taglib</srcDirectory>
<css>jsf-api.css</css>
<browserTitle>JSF ${project.version} VDL Documentation</browserTitle>
<documentTitle>JSF ${project.version} VDL Documentation</documentTitle>
<hideGeneratedBy>true</hideGeneratedBy>
<reportOutputDirectory>${project.build.directory}</reportOutputDirectory>
</configuration>
</plugin>
<!--
Create RenderkitDocs
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<executions>
<execution>
<id>clean</id>
<phase>clean</phase>
<configuration>
<target>
<delete dir="src/main/java"/>
<delete dir="src/main/resources"/>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
<execution>
<phase>prepare-package</phase>
<configuration>
<target>
<property name="jsf-tools-dir" value="${project.build.directory}/../../jsf-tools"/>
<!--
Generate RenderkitDocs
-->
<copy todir="${jsf-tools-dir}/build/classes/com/sun/faces">
<fileset dir="src/main/resources/com/sun/faces" includes="LogStrings.properties"/>
</copy>
<copy todir="${jsf-tools-dir}/build/classes/com/sun/faces" flatten="true">
<fileset dir="src/main/resources/com/sun/faces" includes="*.dtd,*.xsd"/>
</copy>
<taskdef name="generateRenderkitDocs" classname="com.sun.faces.ant.RenderkitDocGenTask">
<classpath>
<pathelement location="${jsf-tools-dir}/target/jsf-tools-${mojarra.version}.jar"/>
</classpath>
</taskdef>
<generateRenderkitDocs
generatorConfig="${jsf-tools-dir}/conf/HtmlBasicTaglib21.properties"
facesConfig="src/main/resources/com/sun/faces/standard-html-renderkit.xml"
fork="true">
<classpath>
<pathelement location="${jsf-tools-dir}/target/jsf-tools-${mojarra.version}.jar"/>
<pathelement location="${jsf-tools-dir}/build/classes"/>
<path refid="maven.plugin.classpath"/>
</classpath>
</generateRenderkitDocs>
<copy todir="${project.build.directory}/renderkitdocs">
<fileset dir="build/generate/facesdoc"/>
</copy>
<delete dir="build"/>
<delete dir="${jsf-tools-dir}/build"/>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>commons-digester</groupId>
<artifactId>commons-digester</artifactId>
<version>2.1</version>
</dependency>
</dependencies>
</plugin>
<!--
Create API binary jar
For the final artifact jar we only include the javax.* classes and resources that we compiled from
the unpackaged implementation source attachment jar. See the maven-dependency-plugin for this
unpackaging. This effectively gives us the API jar.
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
<configuration>
<includes>
<include>javax/**</include>
</includes>
</configuration>
</plugin>
<!--
Create sources for API jar
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version>
<executions>
<execution>
<id>generate-api-sources</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<excludes>
<exclude>com/**</exclude>
</excludes>
</configuration>
</execution>
</executions>
</plugin>
<!--
Create Javadoc for API jar
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>attach-api-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<windowtitle>JavaServer Faces 2.4 EDR 1 API</windowtitle>
<doctitle>JavaServer Faces 2.4 EDR 1 API</doctitle>
<excludePackageNames>com</excludePackageNames>
<footer>DRAFT DRAFT DRAFT DRAFT</footer>
<header>DRAFT DRAFT DRAFT DRAFT</header>
</configuration>
</execution>
<execution>
<id>attach-managedbeandocs</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>managed-bean-javadoc</classifier>
<outputDirectory>${project.build.directory}/managed-bean-javadocs</outputDirectory>
<reportOutputDirectory>${project.build.directory}/site/managed-bean-javadocs</reportOutputDirectory>
<subpackages>javax.faces.bean</subpackages>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>4.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-api</artifactId>
<version>7.0</version>
<scope>provided</scope>
</dependency>
<!-- For the @PreParseFacesConfig annotation -->
<dependency>
<groupId>com.sun.faces.build</groupId>
<artifactId>jsf-tools</artifactId>
<version>2.3.3.99</version>
<scope>provided</scope>
</dependency>
<!--
Depend on the source jar of the full implementation Mojarra jar. This is used for
unpacking and re-compiling. This jar is created by executing mvn clean install
in the [mojarra home]/impl project.
-->
<dependency>
<groupId>org.glassfish</groupId>
<artifactId>javax.faces</artifactId>
<version>${mojarra.version}</version>
<scope>provided</scope>
<classifier>sources</classifier>
</dependency>
<!--
For the vendor SPI implementations shipped with Mojarra.
Although we don't use them and they don't end up in the API jar, they
still need to be compiled
-->
<!-- Jetty 6 -->
<dependency>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-plus</artifactId>
<version>6.1.26</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-annotations</artifactId>
<version>6.1.26</version>
<optional>true</optional>
</dependency>
<!-- Tomcat 6 -->
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>catalina</artifactId>
<version>6.0.51</version>
<scope>provided</scope>
</dependency>
</dependencies>
<reporting>
<plugins>
<plugin>
<groupId>com.phasebash.jsdoc</groupId>
<artifactId>jsdoc3-maven-plugin</artifactId>
<version>1.2.0</version>
<configuration>
<configFile>${project.build.directory}/../src/main/jsdoc/conf.json</configFile>
<includePrivate>false</includePrivate>
<lenient>true</lenient>
<sourceFiles>
<sourceFile>src/main/resources/META-INF/resources/javax.faces/jsf-uncompressed.js</sourceFile>
</sourceFiles>
</configuration>
</plugin>
</plugins>
</reporting>
</project>