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

Fix old tck build, use httpclient jar from jakartaee-tck #1654

Merged
merged 1 commit into from
Apr 23, 2022

Conversation

alwin-joseph
Copy link
Contributor

@alwin-joseph alwin-joseph commented Apr 22, 2022

  1. This will enable the old tck build and run locally and from Jenkins also.
    Issue : Apparently the mvn clean verify from tck/faces-tck was broken.

  2. httpclient-4.5.5.jar is copied from jakartaee-tck project and added to the bundle.
    Issue : It seems an older version of the jar was getting copied when the dependencies were resolved. This was causing test failures with below exception :
    [exec] [javatest.batch] 04-22-2022 13:00:58: ERROR: java.lang.IllegalArgumentException: Cannot locate declared field class org.apache.http.impl.client.HttpClientBuilder.sslcontext

@arjantijms @volosied

@volosied
Copy link
Contributor

volosied commented Apr 22, 2022

I ran into this issue as well when I ran the application/navigationcase tests. I will test your PR locally a little later today.

Update: Tested locally, and it looks good! Thanks again for fixing this.

@alwin-joseph alwin-joseph mentioned this pull request Apr 22, 2022
12 tasks
@@ -123,6 +123,10 @@
</goals>
<configuration>
<executable>docker/build_oldtck.sh</executable>
<arguments>
<argument>${maven.multiModuleProjectDirectory}</argument>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that this property is set just in the mvn shell script and it is discouraged to use it - it may be removed in future versions.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True, maybe handle this in a new PR?

@arjantijms arjantijms merged commit a367e76 into jakartaee:master Apr 23, 2022
@arjantijms arjantijms added the TCK Any issue having to do with the TCK not the API of SPEC text label Apr 23, 2022
@arjantijms arjantijms added this to the 4.0 milestone Apr 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TCK Any issue having to do with the TCK not the API of SPEC text
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants