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

Feature/json b3 #1742

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

appiepollo14
Copy link

#1651 draft for upgrading to json-b3

Copy link

@ppalaga ppalaga left a comment

Choose a reason for hiding this comment

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

Great work @appiepollo14!

Some initial comments inline.

examples/rest-assured-itest-java/pom.xml Outdated Show resolved Hide resolved
examples/scala-mock-mvc-example/pom.xml Outdated Show resolved Hide resolved
examples/scalatra-webapp/pom.xml Outdated Show resolved Hide resolved
Comment on lines +65 to +66
@Test
public void
Copy link

Choose a reason for hiding this comment

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

I think it is generally a good idea to respect whatever formatting conventions the repository has adopted. We are just guests here and so we should not tell the host to re-organize his cupboard because we are like it differently.

It would also be much easier to review without the formatting changes.

Copy link
Author

Choose a reason for hiding this comment

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

True. Auto format on save is my problem. Will revert the format.

pom.xml Show resolved Hide resolved
pom.xml Outdated
</ignoredClassPatterns>
</configuration>
</plugin>
<!-- TODO return off this beautifull plugin-->
Copy link

Choose a reason for hiding this comment

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

Do we need this comment?

Copy link
Author

Choose a reason for hiding this comment

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

Yes as a reminder to add the plugin back once finished. Can you help me with this one?

Copy link

Choose a reason for hiding this comment

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

Sorry, no idea what it is supposed to be doing.

pom.xml Outdated Show resolved Hide resolved
pom.xml Outdated Show resolved Hide resolved
pom.xml Outdated Show resolved Hide resolved
@appiepollo14
Copy link
Author

@ppalaga going for J11, means the modules of Spring can't be updatet to Spring (Security) 6 as they require J17. I made a start on that upgrade, but will revert for now. That should be a different PR.

@ppalaga
Copy link

ppalaga commented Nov 3, 2023

the modules of Spring can't be updatet to Spring (Security) 6 as they require J17.

Hm... REST assured itself depends on Spring? Is it not only only tests or examples? If so, the core can be at <maven.compiler.release>11</maven.compiler.release> and the modules depending on Spring can be at <maven.compiler.release>17</maven.compiler.release>, no?

@appiepollo14
Copy link
Author

appiepollo14 commented Nov 4, 2023

@ppalaga @johanhaleby I'm a bit stuck at this point. I've reverted a lot of changes, and focussed on the core changes to hopefully enable jsonb-3 support. The code at this point uses Yasson 3.0 and a lot of dependencies were updatet. Updates java version to 11. Can do a mvn clean package without an issue. When doing mvn Verify, the module: rest-assured-itest-java does not compile completely. A few tests fail, because a Java exception is expected, but a groovy.runtime exception is thrown referencing that java exception. I assume this is groovy behavior introduced by using the gmavenplus plugin?? Not familiar with this, please help.

Besides this, when doing a mvn install, I've the new RA version locally. When using that version in a JEE10 project, I still get the error: JSONB-3 is not found on the classpath. So I have my doubts whether what I'm doing is enough to support JSONB-3. Any thoughts on this?

kind regards, Asjer

# Conflicts:
#	json-path/pom.xml
#	pom.xml
#	rest-assured-common/pom.xml
#	rest-assured/pom.xml
#	xml-path/pom.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants