Skip to content

adapting the project according to equivalent changes in sarif-report-plugin #3

@jole431f

Description

@jole431f
  • CodeClimateReportPlugin.java:
    - ObjectMapper.setSerializationInclusion() is deprecated due to new jackson version
    -> replace with: private static final ObjectMapper OBJECT_MAPPER = new ObjectMapper().setDefaultPropertyInclusion(NON_NULL);
    -> add .writerWithDefaultPrettyPrinter() to ObjectMapper Call

     - getLocation(): path attribute for codeclimate report should be set after checking whether sourceLocation is an instance of FileLocation
    

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions