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 JacksonJsonProvider #111

Merged
merged 1 commit into from
Dec 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,11 @@
<artifactId>jackson-jaxrs-json-provider</artifactId>
<version>${revision}</version>
</dependency>
<dependency> <!-- needed for jackson-jaxrs-json-provider -->
<groupId>jakarta.ws.rs</groupId>
<artifactId>jakarta.ws.rs-api</artifactId>
<version>2.1.6</version> <!-- do not upgrade to version 3.x, as that has switched to Jakarta package names -->
</dependency>

<dependency>
<groupId>io.jenkins.plugins</groupId>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package com.fasterxml.jackson.jaxrs.json;

import org.junit.Rule;
import org.junit.Test;
import org.jvnet.hudson.test.RealJenkinsRule;

public class JacksonJsonProviderTest {

@Rule public RealJenkinsRule rr = new RealJenkinsRule();

@Test
public void smokes() throws Throwable {
rr.then(j -> new JacksonJsonProvider());
}
}