Skip to content

Commit 2f98595

Browse files
authored
Merge branch 'master' into 4.1
2 parents 6265ee4 + 56f0055 commit 2f98595

File tree

659 files changed

+1632
-137637
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

659 files changed

+1632
-137637
lines changed

.github/workflows/build.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,25 @@ jobs:
1717
os: [ubuntu-latest]
1818
steps:
1919
- name: Checkout Sources
20-
uses: actions/checkout@v1
20+
uses: actions/checkout@v4
21+
with:
22+
submodules: 'true'
23+
- name: Checkout API
24+
uses: actions/checkout@v4
25+
with:
26+
repository: jakartaee/faces
27+
ref: '5.0'
28+
path: './faces'
2129
- name: Setup Java
2230
uses: actions/setup-java@v1
2331
with:
2432
java-version: ${{ matrix.java }}
33+
- name: Setup Maven Action
34+
35+
with:
36+
checkout-fetch-depth: 0
37+
java-version: 17
38+
java-distribution: temurin
39+
maven-version: 3.9.6
2540
- name: Build with Maven
26-
run: mvn --no-transfer-progress install -Pstaging
41+
run: mvn --no-transfer-progress install -Pstaging -Papi

.gitmodules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[submodule "faces"]
2+
path = faces
3+
url = https://github.com/jakartaee/faces.git
4+
branch = 5.0

README.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,30 +14,33 @@
1414
[//]: # " SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 "
1515
-->
1616

17-
# Mojarra 4.1
17+
# Mojarra 5.0
1818

19-
Eclipse's implementation of the Jakarta Faces 4.1 specification.
19+
Eclipse's implementation of the Jakarta Faces 5.0 specification
2020

21-
For Mojarra / JSF 2.3 please have a look at https://github.com/eclipse-ee4j/mojarra/blob/2.3/README.md.
22-
For Mojarra / JSF 3.0 please have a look at https://github.com/eclipse-ee4j/mojarra/blob/3.0/README.md.
23-
For Mojarra / JSF 4.0 please have a look at https://github.com/eclipse-ee4j/mojarra/blob/4.0/README.md.
21+
* Mojarra 5.0 - this branch, under development
22+
* [Mojarra 4.1](https://github.com/eclipse-ee4j/mojarra/blob/4.1/README.md) - stable release
23+
* [Mojarra 4.0](https://github.com/eclipse-ee4j/mojarra/blob/4.0/README.md) - stable release
24+
* [Mojarra 3.0](https://github.com/eclipse-ee4j/mojarra/blob/3.0/README.md) - legacy release
25+
* [Mojarra 2.3](https://github.com/eclipse-ee4j/mojarra/blob/2.3/README.md) - legacy release
26+
27+
For support on Mojarra 2.3 and earlier please contact your vendor for support (RedHat, IBM,
28+
Oracle, Omnifish, Payara, etceteras)
2429

2530
## Minimum Requirements
2631

2732
- Java 17
2833
- Jakarta Servlet 6.1
2934
- Jakarta Expression Language 6.0
30-
- jakarta CDI 4.1
35+
- Jakarta CDI 4.1
3136
- Jakarta Web Socket 2.2 (optional, only when `<f:websocket>` is used)
3237
- Jakarta JSON Processing 2.1 (optional, only when `<f:websocket>` is used)
3338
- Jakarta Validation 3.1 (optional, only when `<f:validateBean>` or `<f:validateWholeBean>` is used)
3439

35-
CDI is explicitly required because since Jakarta Faces 2.3 the `javax.faces.bean.*` annotations such as `@ManagedBean` are deprecated, and since 4.0 these have been removed. Several implicit Jakarta Expression Language objects are produced via CDI producers, and `<f:websocket>` manages the Jakarta WebSocket sessions and events via CDI.
36-
3740

3841
## Installation
3942

40-
Depending on the server used, Jakarta Faces may already be built-in (full fledged Jakarta EE containers such as [WildFly][1], [JBoss EAP][2], [TomEE][3], [Payara][4], [GlassFish][5], [Liberty][6], etc.), or not (barebones Jakarta Server Pages/Jakarta Servlet containers such as [Tomcat][7], [Jetty][8], etc.). If the server doesn't ship with Jakarta Faces built-in, then you need to manually install Jakarta Faces 4.1 along with a CDI 4.1+, Jakarta JSON Processing 2.1+ as those Jakarta Servlet containers usually also don't ship with those Jakarta Faces dependencies.
43+
Depending on the server used, Jakarta Faces may already be built-in (full fledged Jakarta EE containers such as [WildFly][1], [JBoss EAP][2], [TomEE][3], [Payara][4], [GlassFish][5], [Liberty][6], etc.), or not (barebones Jakarta Server Pages/Jakarta Servlet containers such as [Tomcat][7], [Jetty][8], etc.). If the server doesn't ship with Jakarta Faces built-in, then you need to manually install Jakarta Faces 4.0 along with CDI 4.0+, Jakarta JSON Processing 2.0+ and Jakarta Standard Tag Library 2.0+ as those Jakarta Servlet containers usually also don't even ship with those Jakarta Faces dependencies.
4144

4245

4346
### Non-Maven

RELEASE.md

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,39 @@
11
# Releasing a new Mojarra version
22

3-
In below example we assume 3.0.3.
3+
In below example we assume 4.0.3.
44

55
1. Check beforehand that this version does NOT exist in [staging](https://jakarta.oss.sonatype.org/content/repositories/staging/org/glassfish/jakarta.faces/) else bump the version
66
2. Go to [Mojarra CI](https://ci.eclipse.org/mojarra/)
77
3. [Log in](https://ci.eclipse.org/mojarra/login?from=%2Fmojarra%2F)
88
4. Open [1_mojarra_build_and_stage](https://ci.eclipse.org/mojarra/job/1_mojarra-build-and-stage/)
99
5. Click [Build with parameters](https://ci.eclipse.org/mojarra/job/1_mojarra-build-and-stage/build) in menu
10-
- `BRANCH` = `3.0`
11-
- `RELEASE_VERSION` = `3.0.3`
12-
- `JDK` = `JDK8`
10+
- `BRANCH` = `4.0`
11+
- `RELEASE_VERSION` = `4.0.3`
12+
- `JDK` = `JDK11`
1313
- click [Build] button
1414
6. Wait for it to finish successfully
15-
7. Drill down into this build e.g. [build 95](https://ci.eclipse.org/mojarra/job/1_mojarra-build-and-stage/95)
16-
8. Click [Console Output](https://ci.eclipse.org/mojarra/job/1_mojarra-build-and-stage/95/console) in menu
17-
9. Ctrl+F 'orgglassfish', to find release ID, e.g. `Created staging repository with ID "orgglassfish-1230"`, remember this for `STAGING_RELEASE_ID` in a later step
15+
7. Drill down into this build e.g. [build 106](https://ci.eclipse.org/mojarra/job/1_mojarra-build-and-stage/106)
16+
8. Click [Console Output](https://ci.eclipse.org/mojarra/job/1_mojarra-build-and-stage/106/console) in menu
17+
9. Ctrl+F 'orgglassfish', to find release ID, e.g. `Created staging repository with ID "orgglassfish-1273"`, remember this for `STAGING_RELEASE_ID` in a later step
1818
10. Verify that it's present in [staging](https://jakarta.oss.sonatype.org/content/repositories/staging/org/glassfish/jakarta.faces/)
19-
11. Verify that a new [3.0.3](https://github.com/eclipse-ee4j/mojarra/tree/3.0.3) branch is created
20-
12. Verify that a new [3.0.3-RELEASE](https://github.com/eclipse-ee4j/mojarra/releases/tag/3.0.3-RELEASE) tag is created
21-
13. Open [2_mojarra-run-tck-against-staged-build_3_0](https://ci.eclipse.org/mojarra/job/2_mojarra-run-tck-against-staged-build_3_0) (there are separate ones for 2.3 and 4.0)
22-
14. Click [Build with parameters](https://ci.eclipse.org/mojarra/job/2_mojarra-run-tck-against-staged-build_3_0/build) in menu
19+
11. Verify that a new [4.0.3](https://github.com/eclipse-ee4j/mojarra/branches/active) branch is created
20+
12. Verify that a new [4.0.3-RELEASE](https://github.com/eclipse-ee4j/mojarra/tags) tag is created
21+
13. Open [2_mojarra-run-tck-against-staged-build_4_0](https://ci.eclipse.org/mojarra/job/2_mojarra-run-tck-against-staged-build_4_0) (there are separate ones for 2.3 and 3.0)
22+
14. Click [Build with parameters](https://ci.eclipse.org/mojarra/job/2_mojarra-run-tck-against-staged-build_4_0/build) in menu
2323
- `IMPL_SOURCE` = `STAGE`
24-
- `IMPL_VERSION` = `3.0.3`
25-
- `IMPL_BRANCH` = `3.0`
24+
- `IMPL_VERSION` = `4.0.3`
25+
- `IMPL_BRANCH` = `4.0`
2626
- click [Build] button
2727
15. Wait for it to finish successfully
2828
16. Open [3_mojarra-staging-to-release](https://ci.eclipse.org/mojarra/job/3_mojarra-staging-to-release/)
2929
17. Click [Build with parameters](https://ci.eclipse.org/mojarra/job/3_mojarra-staging-to-release/build) in menu
30-
- `STAGING_RELEASE_ID` = `orgglassfish-1230`
30+
- `STAGING_RELEASE_ID` = `orgglassfish-1273`
3131
- click [Build] button
3232
18. Wait for it to finish successfully
3333
19. Verify that it's present in [Maven Central](https://repo1.maven.org/maven2/org/glassfish/jakarta.faces/) (might take up to a hour)
34-
20. If everything is OK, then merge 3.0.3 branch into 3.0 via PR
35-
21. Delete the 3.0.3 branch after merge
34+
20. If everything is OK, then merge 4.0.3 branch into 4.0 via a PR
35+
21. Delete the 4.0.3 branch after merge
36+
22. Manage the [milestones](https://github.com/eclipse-ee4j/mojarra/milestones) page
37+
- make sure all issues/PRs are linked to proper milestone
38+
- close the milestones which were just released
39+
- create new milestones for next releases

action/faces-config.NavData

Lines changed: 0 additions & 6 deletions
This file was deleted.

action/pom.xml

Lines changed: 0 additions & 60 deletions
This file was deleted.

action/src/main/java/org/eclipse/mojarra/action/ActionHeaderParameter.java

Lines changed: 0 additions & 38 deletions
This file was deleted.

action/src/main/java/org/eclipse/mojarra/action/ActionInitializer.java

Lines changed: 0 additions & 48 deletions
This file was deleted.

0 commit comments

Comments
 (0)