You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ever since we merged #394, I'm getting this warning in OpenShift Maven Plugin resource goal. It seems to be happening for all projects using OpenShift maven Plugin.
quarkus-customized-image : $ mvn oc:resource -Popenshift
[INFO] Scanning for projects...
[INFO]
[INFO] ----< org.eclipse.jkube.quickstarts.maven:quarkus-customized-image >----
[INFO] Building Eclipse JKube :: Quickstarts :: Maven :: Quarkus customized Image 1.0.0
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- openshift-maven-plugin:1.0.1-SNAPSHOT:resource (default-cli) @ quarkus-customized-image ---
[INFO] oc: Using docker image name of namespace: default
[INFO] oc: jkube-controller: Adding a default DeploymentConfig
[INFO] oc: jkube-service: Adding a default service 'quarkus-customized-image' with ports [8080]
[INFO] oc: jkube-revision-history: Adding revision history limit to 2
[INFO] oc: validating /home/rohaan/work/repos/jkube/quickstarts/maven/quarkus-customized-image/target/classes/META-INF/jkube/openshift/quarkus-customized-image-route.yml resource
[WARNING] oc: Failed to validate resources: Unknown MetaSchema: https://json-schema.org/schema
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.768 s
[INFO] Finished at: 2020-09-29T20:02:16+05:30
[INFO] ------------------------------------------------------------------------
I tried with several projects, but I'm unable to reproduce:
$ mvn clean package oc:resource -Popenshift
# ...
[INFO] --- openshift-maven-plugin:1.0.1-SNAPSHOT:resource (default-cli) @ quarkus-customized-image ---
[INFO] oc: Using docker image name of namespace: default
[INFO] oc: jkube-controller: Adding a default DeploymentConfig
[INFO] oc: jkube-service: Adding a default service 'quarkus-customized-image' with ports [8080]
[INFO] oc: jkube-revision-history: Adding revision history limit to 2
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.760 s
[INFO] Finished at: 2020-09-30T07:19:01+02:00
[INFO] ------------------------------------------------------------------------
Could you provide more details (contents of quarkus-customized-image-route.yml)?
The issue can make sense since now JsonSchemaFactory is initialized using a static method (empty constructor is deprecated).
Description
Ever since we merged #394, I'm getting this warning in OpenShift Maven Plugin resource goal. It seems to be happening for all projects using OpenShift maven Plugin.
Is this desired behavior?
Info
mvn -v
) :Kubernetes / Red Hat OpenShift setup and version :
If it's a bug, how to reproduce : Hit
oc:resource
on any quickstart using SNAPSHOT version of master, you would be able to see this warning.If it's a feature request, what is your use case :
Sample Reproducer Project : [GitHub Clone URL]
The text was updated successfully, but these errors were encountered: