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

Json Jackon Maven test failing for version 3.1.3 #5681

Closed
vimalchandts opened this issue Jun 20, 2024 · 1 comment · Fixed by #5684
Closed

Json Jackon Maven test failing for version 3.1.3 #5681

vimalchandts opened this issue Jun 20, 2024 · 1 comment · Fixed by #5684

Comments

@vimalchandts
Copy link

Trying to run the unit test for json jackson i.e (org.glassfish.jersey.media:jersey-media-json-jackson) for 3.1.3 version

[ERROR]   The project org.glassfish.jersey.tests:version-agnostic:1.0.8 (/root/json-jack/jersey-3.1.3/tests/version-agnostic/pom.xml) has 3 errors
[ERROR]     Non-resolvable import POM: The following artifacts could not be resolved: org.glassfish.jersey:jersey-bom:pom:3.1.99-SNAPSHOT (absent): Could not transfer artifact org.glassfish.jersey:jersey-bom:pom:3.1.99-SNAPSHOT 
[ERROR]     'dependencies.dependency.version' for org.glassfish.jersey.test-framework.providers:jersey-test-framework-provider-bundle:pom is missing. @ line 120, column 29
[ERROR]     'dependencies.dependency.version' for org.glassfish.jersey.connectors:jersey-jetty-connector:jar is missing. @ line 126, column 29

However the build for the json jackon are work's fine.

Below are the environment used for the maven test/build
Maven - 3.9.4
Java - 17.0.8

@jansupol
Copy link
Contributor

Good point - org.glassfish.jersey.tests:version-agnostic test should not refer to a SNAPSHOT. we will fix that.

In case it troubles you, you may just comment out the test module from the `tests/pom.xml'

@senivam senivam linked a pull request Jun 28, 2024 that will close this issue
@jansupol jansupol closed this as completed Jul 3, 2024
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 a pull request may close this issue.

2 participants