debezium-server-iceberg icon indicating copy to clipboard operation
debezium-server-iceberg copied to clipboard

throw an error when execute package

Open baisui1981 opened this issue 3 years ago • 2 comments
trafficstars

when I execute mvn -Passembly -Dmaven.test.skip package -X, an error

[INFO] Reactor Summary for Debezium Server Parent 0.1.0-SNAPSHOT:
[INFO]
[INFO] Debezium Server Parent ............................. SUCCESS [  0.007 s]
[INFO] Debezium Server Iceberg Consumer ................... SUCCESS [  7.618 s]
[INFO] Debezium Server Distribution ....................... FAILURE [  0.937 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------

throw an exception:

Caused by: io.quarkus.bootstrap.BootstrapDependencyProcessingException: Quarkus extension deployment artifact io.quarkus:quarkus-logging-json-deployment:jar:2.5.3.Final does not appear to depend on the corresponding runtime artifact io.quarkus:quarkus-logging-json:jar:2.5.3.Final
    at io.quarkus.bootstrap.resolver.maven.DeploymentInjectingDependencyVisitor.injectDeploymentDependencies (DeploymentInjectingDependencyVisitor.java:349)
    at io.quarkus.bootstrap.resolver.maven.DeploymentInjectingDependencyVisitor.injectDeploymentDependencies (DeploymentInjectingDependencyVisitor.java:153)
    at io.quarkus.bootstrap.resolver.BootstrapAppModelResolver.doResolveModel (BootstrapAppModelResolver.java:239)

java -version:

java version "11.0.10" 2021-01-19 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.10+8-LTS-162)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.10+8-LTS-162, mixed mode)

how can i fix it ,thanks

baisui1981 avatar Jan 09 '22 11:01 baisui1981

that's strange, could you please try to run build first before packaging? reading similar issue here https://github.com/quarkusio/quarkus/issues/3268#issuecomment-513223594

mvn clean install -Dmaven.test.skip=true
mvn -Passembly -Dmaven.test.skip package -X

ismailsimsek avatar Jan 10 '22 17:01 ismailsimsek