gnodet opened a new pull request, #305: URL: https://github.com/apache/camel-examples/pull/305
## Problem The main build CI has been failing since `32a8d3b` with: ``` Unmapped target property: "kind" ``` The `Beverage` model is generated from `beverage.json` via the `jsonschema2pojo` plugin and contains a `kind` field. MapStruct's annotation processor raises an error for unmapped target properties, causing the build to fail. ## Fix Add `@Mapping(target = "kind", constant = "beer")` to `BeerMapper.toBeverage()`. This matches the value already set in `beverage.json` (`"kind": "beer"`) and is semantically correct — this mapper always produces a Beer-typed Beverage. ## Verification Built and tested locally: ``` [INFO] BUILD SUCCESS [INFO] Total time: 5.785 s ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
