commit | 13c440cd9efbcca15e43c67030b10337129f9259 | [log] [tgz] |
---|---|---|
author | Arjan Tijms <arjan.tijms@gmail.com> | Wed Jul 21 21:37:02 2021 +0200 |
committer | GitHub <noreply@github.com> | Wed Jul 21 21:37:02 2021 +0200 |
tree | 703937f6ce78c90a5ed86916240236b5bd7d71c2 | |
parent | 795914d4bdda42044ded61c36ed248d98d70b790 [diff] |
Run Jakarta Authorization test via mvn on current build (#23527) * Run Jakarta Authorization test via mvn on current build Signed-off-by: arjantijms <arjan.tijms@gmail.com> * Processing feedback from David Matějček compensate for different locale Signed-off-by: arjantijms <arjan.tijms@gmail.com> * Processing feedback: always stop server Signed-off-by: arjantijms <arjan.tijms@gmail.com> * Processing feedback: polishing and adding to parent pom Signed-off-by: arjantijms <arjan.tijms@gmail.com> * Because of repackaged ant, revert back to .2 Signed-off-by: arjantijms <arjan.tijms@gmail.com>
Eclipse GlassFish is a Jakarta EE compatible implementation sponsored by the Eclipse Foundation. Eclipse GlassFish 5.1 is also Java EE 8 Compatible.
Prerequisites:
Currently in the master branch artifacts are being pulled from OSSRH staging.
Run the full build:
mvn -Pstaging install
Locate the Zip distributions:
Locate staged distributions:
Running Eclipse GlassFish QuickLook tests:
mvn -f appserver/tests/quicklook/pom.xml test -Dglassfish.home=appserver/distributions/glassfish/target/stage/glassfish6/glassfish
For more details, see QuickLook_Test_Instructions
Build Eclipse GlassFish using the gfbuild.sh
script, OR build as stated above and copy the distributions to the bundles
folder using:
./gfbuild.sh archive_bundles
This will result in:
bundles glassfish.zip nucleus-new.zip web.zip
Run tests using:
./gftest [name of test]
Where [name of test] is one or more off:
"deployment_all" "ejb_group_1" "ejb_group_2" "ejb_group_3" "ejb_web_all" "cdi_all" "ql_gf_full_profile_all" "ql_gf_nucleus_all" "ql_gf_web_profile_all" "nucleus_admin_all" "jdbc_all" "batch_all" "persistence_all" "connector_group_1" "connector_group_2" "connector_group_3" "connector_group_4"
(note the project contains more than these tests, but they may not be up to date)
E.g.
./gftest deployment_all
glassfish6/bin/asadmin start-domain
glassfish6/bin/asadmin stop-domain