1- The class "%1$s" needs to be configured or excluded for reflection / serialization and was not mentioned in one of the following resources :
1+ The following classes need to be configured or excluded for reflection / serialization:
22
3- Please do one of the following:
4- 1. add "%1$s" to serialization.json and / or reflect-config.json
5- 2. add "%1$s" to no-reflect-and-serialization-list
3+ %1$s
64
7- DO NOT do both.
5+ For each class, please do one of the following:
6+ 1. add it to serialization.json and / or reflect-config.json
7+ 2. add it to no-reflect-and-serialization-list
8+
9+ DO NOT do both.
810
911Option 1:
10- The class is serialized or reflected over. Includes "GH*" classes the are populated using Jackson.
11- Does not include Builders and other classes that are only used locally.
12+ The class is serialized or reflected over. Includes "GH*" classes that are populated using Jackson.
13+ Does not include Builders and other classes that are only used locally.
1214
1315src/main/resources/META-INF/reflect-config.json - example:
1416
1517 {
16- "name": "%1$s ",
18+ "name": "org.kohsuke.github.GHExample ",
1719 "allPublicFields": true,
1820 "allDeclaredFields": true,
1921 "queryAllPublicConstructors": true,
@@ -31,15 +33,15 @@ src/main/resources/META-INF/reflect-config.json - example:
3133src/main/resources/META-INF/serialization.json - example:
3234
3335 {
34- "name": "%1$s "
36+ "name": "org.kohsuke.github.GHExample "
3537 }
3638
3739Option 2:
3840The class is not serialized or reflected over. This is less common.
3941
4042src/test/resources/no-reflect-and-serialization-list - example:
4143
42- %1$s
44+ org.kohsuke.github.GHExample
4345
4446
4547
0 commit comments