Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openapi-generator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,476
    • Issues 3,476
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 402
    • Merge requests 402
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenAPI Tools
  • openapi-generator
  • Merge requests
  • !3793

[java] add jackson-databind-nullable dependency to the gradle.build file

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/jmini/pr3474-gradle into master Aug 29, 2019
  • Overview 0
  • Commits 3
  • Pipelines 0
  • Changes 20

Created by: jmini

Follow up of PR #3474: The new dependency org.openapitools:jackson-databind-nullable is missing in the gradle file.


To reproduce the issue:

In samples/client/petstore/java/jersey2 run: ./gradlew build (you might need chmod +x before, see #3792)

Log:

:compileJava
warning: [options] bootstrap class path not set in conjunction with -source 1.7
/...../<openapi-generator-repo>/samples/client/petstore/java/jersey2/src/main/java/org/openapitools/client/JSON.java:6: error: package org.openapitools.jackson.nullable does not exist
import org.openapitools.jackson.nullable.JsonNullableModule;
                                        ^
/...../<openapi-generator-repo>/samples/client/petstore/java/jersey2/src/main/java/org/openapitools/client/JSON.java:31: error: cannot find symbol
    JsonNullableModule jnm = new JsonNullableModule();
    ^
  symbol:   class JsonNullableModule
  location: class JSON
/...../<openapi-generator-repo>/samples/client/petstore/java/jersey2/src/main/java/org/openapitools/client/JSON.java:31: error: cannot find symbol
    JsonNullableModule jnm = new JsonNullableModule();
                                 ^
  symbol:   class JsonNullableModule
  location: class JSON
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
3 errors
1 warning
:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 10.147 secs

This PR adds the requested dependency.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/jmini/pr3474-gradle