diff --git a/devtools/bom-descriptor-json/pom.xml b/devtools/bom-descriptor-json/pom.xml index 79f1e15561eed..66b67abc53c13 100644 --- a/devtools/bom-descriptor-json/pom.xml +++ b/devtools/bom-descriptor-json/pom.xml @@ -200,6 +200,19 @@ + + io.quarkus + quarkus-apicurio-registry-json-schema + ${project.version} + pom + test + + + * + * + + + io.quarkus quarkus-arc diff --git a/docs/pom.xml b/docs/pom.xml index 274c6effd891e..07bf78b6b8df0 100644 --- a/docs/pom.xml +++ b/docs/pom.xml @@ -216,6 +216,19 @@ + + io.quarkus + quarkus-apicurio-registry-json-schema-deployment + ${project.version} + pom + test + + + * + * + + + io.quarkus quarkus-arc-deployment diff --git a/integration-tests/kafka-json-schema-apicurio2/pom.xml b/integration-tests/kafka-json-schema-apicurio2/pom.xml index 88a9216d54975..09b6d334469f6 100644 --- a/integration-tests/kafka-json-schema-apicurio2/pom.xml +++ b/integration-tests/kafka-json-schema-apicurio2/pom.xml @@ -179,14 +179,14 @@ maven-failsafe-plugin - true + false maven-surefire-plugin - true + false diff --git a/integration-tests/kafka-json-schema-apicurio2/src/main/java/io/quarkus/it/kafka/jsonschema/JsonSchemaKafkaCreator.java b/integration-tests/kafka-json-schema-apicurio2/src/main/java/io/quarkus/it/kafka/jsonschema/JsonSchemaKafkaCreator.java index e04adaaaf1fe6..989d2f0e10667 100644 --- a/integration-tests/kafka-json-schema-apicurio2/src/main/java/io/quarkus/it/kafka/jsonschema/JsonSchemaKafkaCreator.java +++ b/integration-tests/kafka-json-schema-apicurio2/src/main/java/io/quarkus/it/kafka/jsonschema/JsonSchemaKafkaCreator.java @@ -101,7 +101,7 @@ private static Properties getApicurioProducerProperties(String bootstrap, String props.put(ProducerConfig.ACKS_CONFIG, "all"); props.put(ProducerConfig.VALUE_SERIALIZER_CLASS_CONFIG, JsonSchemaKafkaSerializer.class.getName()); props.put(SerdeConfig.AUTO_REGISTER_ARTIFACT, true); - props.put(SerdeConfig.SCHEMA_LOCATION, "/io/quarkus/it/kafka/json-schema.json"); + props.put(SerdeConfig.SCHEMA_LOCATION, "json-schema.json"); props.put(SerdeConfig.VALIDATION_ENABLED, "true"); props.put(SerdeConfig.REGISTRY_URL, apicurio); return props; diff --git a/integration-tests/kafka-json-schema-apicurio2/src/main/resources/application.properties b/integration-tests/kafka-json-schema-apicurio2/src/main/resources/application.properties index da7eb6b7cfb26..69d4364f6b1c5 100644 --- a/integration-tests/kafka-json-schema-apicurio2/src/main/resources/application.properties +++ b/integration-tests/kafka-json-schema-apicurio2/src/main/resources/application.properties @@ -2,6 +2,8 @@ quarkus.log.category.kafka.level=WARN quarkus.log.category.\"org.apache.kafka\".level=WARN quarkus.log.category.\"org.apache.zookeeper\".level=WARN +quarkus.native.resources.includes=json-schema.json + # enable health check quarkus.kafka.health.enabled=true diff --git a/integration-tests/kafka-json-schema-apicurio2/src/main/resources/io/quarkus/it/kafka/json-schema.json b/integration-tests/kafka-json-schema-apicurio2/src/main/resources/json-schema.json similarity index 100% rename from integration-tests/kafka-json-schema-apicurio2/src/main/resources/io/quarkus/it/kafka/json-schema.json rename to integration-tests/kafka-json-schema-apicurio2/src/main/resources/json-schema.json