Skip to content

Commit b07f012

Browse files
authored
Merge pull request #53 from anypointcloud/dependabot/maven/org.jsonschema2pojo-jsonschema2pojo-maven-plugin-1.2.2
Bump org.jsonschema2pojo:jsonschema2pojo-maven-plugin from 0.5.1 to 1.2.2
2 parents 0522187 + 99b4ef6 commit b07f012

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<plugin>
5454
<groupId>org.jsonschema2pojo</groupId>
5555
<artifactId>jsonschema2pojo-maven-plugin</artifactId>
56-
<version>0.5.1</version>
56+
<version>1.2.2</version>
5757
<dependencies>
5858
<dependency>
5959
<groupId>io.github.mulesoft-consulting</groupId>
@@ -67,7 +67,7 @@
6767
<sourceDirectory>${basedir}/src/main/resources/schema</sourceDirectory>
6868
<outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
6969
<targetPackage>org.mule.extension.jsonlogger.api.pojos</targetPackage>
70-
<useCommonsLang3>true</useCommonsLang3>
70+
<usePrimitives>true</usePrimitives>
7171
</configuration>
7272
<executions>
7373
<execution>

src/main/resources/schema/loggerConfig.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
"properties": {
4343
"prettyPrint": {
4444
"type": "boolean",
45-
"javaType": "boolean",
4645
"sdk": {
4746
"summary": "Indicate if log entries should be formatted or single line",
4847
"default": true,
@@ -52,7 +51,6 @@
5251
},
5352
"logLocationInfo": {
5453
"type": "boolean",
55-
"javaType": "boolean",
5654
"sdk": {
5755
"summary": "Indicate if location information should be logged",
5856
"default": true,
@@ -62,7 +60,6 @@
6260
},
6361
"parseContentFieldsInJsonOutput": {
6462
"type": "boolean",
65-
"javaType": "boolean",
6663
"sdk": {
6764
"summary": "Indicate if Content fields should be parsed as part of the JSON logger output",
6865
"default": true,
@@ -97,4 +94,4 @@
9794
}
9895
}
9996
}
100-
}
97+
}

src/main/resources/schema/loggerProcessor.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
},
2323
"content": {
2424
"type": "string",
25-
"javaType": "org.mule.runtime.extension.api.runtime.parameter.ParameterResolver<org.mule.runtime.api.metadata.TypedValue<java.io.InputStream>>",
25+
"existingJavaType": "org.mule.runtime.extension.api.runtime.parameter.ParameterResolver<org.mule.runtime.api.metadata.TypedValue<java.io.InputStream>>",
2626
"sdk": {
2727
"default": "#[import modules::JSONLoggerModule output application/json ---\n{\n payload: JSONLoggerModule::stringifyNonJSON(payload) \n}]",
2828
"summary": "NOTE: Writing the entire payload every time across your application can cause serious performance issues",
@@ -73,4 +73,4 @@
7373
"note": "This field is mandatory. DON'T REMOVE"
7474
}
7575
}
76-
}
76+
}

src/main/resources/schema/loggerScopeProcessor.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
}
1818
}
1919
}
20-
}
20+
}

0 commit comments

Comments
 (0)