[
https://issues.apache.org/jira/browse/CAMEL-21579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18049840#comment-18049840
]
Aurélien Pupier commented on CAMEL-21579:
-----------------------------------------
Still same warning:
{noformat}
jbang --fresh '-Dcamel.jbang.version=4.17.0-SNAPSHOT' camel@apache/camel init
'test.camel.yaml'
jbang --fresh '-Dcamel.jbang.version=4.17.0-SNAPSHOT' camel@apache/camel
kubernetes export test.camel.yaml --cluster-type=openshift
./mvnw oc:deploy
{noformat}
{noformat}
[INFO] --- oc:1.18.1:resource (default) @ test ---
[INFO] oc: Using container image name of namespace: apupier-dev
[INFO] oc: Using resource templates from /home/apupier/tests/src/main/jkube
[INFO] oc: jkube-service-discovery: Using first mentioned service port '80'
[INFO] oc: jkube-revision-history: Adding revision history limit to 2
[INFO] oc: validating
/home/apupier/tests/target/classes/META-INF/jkube/openshift/test-service.yml
resource
[WARNING] Unknown keyword serializer - you should define your own Meta Schema.
If the keyword is irrelevant for validation, just use a NonValidationKeyword or
if it should generate annotations AnnotationKeyword
[WARNING] Unknown keyword deserializer - you should define your own Meta
Schema. If the keyword is irrelevant for validation, just use a
NonValidationKeyword or if it should generate annotations AnnotationKeyword
{noformat}
note that there is another warning which appeared:
{noformat}
[INFO] --- quarkus:3.30.4:build (default) @ test ---
[WARNING] [io.quarkus.config] Unrecognized configuration key
"quarkus.management.port" was provided; it will be ignored; verify that the
dependency extension for this configuration is set or that you did not make a
typo
{noformat}
> Avoid "Unknown keyword serializer" and "Unknown keyword deserializer" when
> exporting project with JBang
> -------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-21579
> URL: https://issues.apache.org/jira/browse/CAMEL-21579
> Project: Camel
> Issue Type: Improvement
> Components: camel-jbang
> Affects Versions: 4.9.0
> Reporter: Aurélien Pupier
> Priority: Minor
>
> jbang '-Dcamel.jbang.version=4.9.0' camel@apache/camel init
> 'test-from-vscode.camel.yaml'
> jbang '-Dcamel.jbang.version=4.9.0' camel@apache/camel kubernetes run
> test-from-vscode.camel.yaml --camel-version=4.9.0 --cluster-type=openshift
> {noformat}
> [WARNING] Unknown keyword serializer - you should define your own Meta
> Schema. If the keyword is irrelevant for validation, just use a
> NonValidationKeyword or if it should generate annotations AnnotationKeyword
> [WARNING] Unknown keyword deserializer - you should define your own Meta
> Schema. If the keyword is irrelevant for validation, just use a
> NonValidationKeyword or if it should generate annotations AnnotationKeyword
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)