Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for MicroProfile JWT #24155

Merged
merged 2 commits into from
Nov 9, 2022
Merged

Conversation

arjantijms
Copy link
Contributor

Signed-off-by: Arjan Tijms arjan.tijms@gmail.com

Signed-off-by: Arjan Tijms <arjan.tijms@gmail.com>
@arjantijms arjantijms added the enhancement New feature or request label Nov 9, 2022
@arjantijms arjantijms added this to the 7.0.0 milestone Nov 9, 2022
@arjantijms arjantijms self-assigned this Nov 9, 2022
Signed-off-by: Arjan Tijms <arjan.tijms@gmail.com>
@arjantijms arjantijms merged commit 83e04fa into eclipse-ee4j:master Nov 9, 2022
@arjantijms arjantijms deleted the mp_jwt branch November 9, 2022 21:33
@pzygielo
Copy link
Contributor

@dmatej
Copy link
Contributor

dmatej commented Nov 20, 2022

Is it possible that these failures

and this change are related?

They are, @arjantijms knows about it. I think the fix was to use Java17 for build.

ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:3.0.0:run (do stuff) on project glassfish: An Ant BuildException has occured: The following error occurred while executing this line:
[ERROR] /home/jenkins/agent/workspace/glassfish_weekly_build/glassfish-build/appserver/distributions/glassfish/target/antrun/build-main.xml:9: The archive microprofile-jwt-auth-api.jar doesn't exist
[ERROR] around Ant part ...<jarupdate basedir="/home/jenkins/agent/workspace/glassfish_weekly_build/glassfish-build/appserver/distributions/glassfish/src/main/patches/microprofile-jwt-auth-api" destfile="/home/jenkins/agent/workspace/glassfish_weekly_build/glassfish-build/appserver/distributions/glassfish/target/stage/glassfish7/glassfish/modules/microprofile-jwt-auth-api.jar" includes="META-INF/MANIFEST.MF" />... @ 17:392 in /home/jenkins/agent/workspace/glassfish_weekly_build/glassfish-build/appserver/distributions/glassfish/target/antrun/build-main.xml

@dmatej
Copy link
Contributor

dmatej commented Nov 20, 2022

Fixed: https://ci.eclipse.org/glassfish/view/GlassFish/job/glassfish_weekly_build/

@pzygielo
Copy link
Contributor

Thanks!

@PatrickHuang888
Copy link

why I got this error when I compile on master or 7.0.1

ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:3.0.0:run (do stuff) on project glassfish: An Ant BuildException has occured: The following error occurred while executing this line:
[ERROR] /opt/glassfish/appserver/distributions/glassfish/target/antrun/build-main.xml:9: The archive microprofile-jwt-auth-api.jar doesn't exist
[ERROR] around Ant part ...<jarupdate basedir="/opt/glassfish/appserver/distributions/glassfish/src/main/patches/microprofile-jwt-auth-api" destfile="/opt/glassfish/appserver/distributions/glassfish/target/stage/glassfish7/glassfish/modules/microprofile-jwt-auth-api.jar" includes="META-INF/MANIFEST.MF" />... @ 17:284 in /opt/glassfish/appserver/distributions/glassfish/target/antrun/build-main.xml

@PatrickHuang888
Copy link

why I got this error when I compile on master or 7.0.1

ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:3.0.0:run (do stuff) on project glassfish: An Ant BuildException has occured: The following error occurred while executing this line:
[ERROR] /opt/glassfish/appserver/distributions/glassfish/target/antrun/build-main.xml:9: The archive microprofile-jwt-auth-api.jar doesn't exist
[ERROR] around Ant part ...<jarupdate basedir="/opt/glassfish/appserver/distributions/glassfish/src/main/patches/microprofile-jwt-auth-api" destfile="/opt/glassfish/appserver/distributions/glassfish/target/stage/glassfish7/glassfish/modules/microprofile-jwt-auth-api.jar" includes="META-INF/MANIFEST.MF" />... @ 17:284 in /opt/glassfish/appserver/distributions/glassfish/target/antrun/build-main.xml

found out, JDK11 has this problem, and there is no problem on JDK17, I think this should be on docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants