我正在尝试在 quarkus 上设置一个遗留(jboss-eap)项目
我找不到对 CXF 的 maven 依赖项,但我知道它在我的一个公共库中是“提供的”依赖项,因为 CXF 是由 JBOSS 提供的。
现在我在构建过程中遇到警告:
INFO] --- quarkus-maven-plugin:1.10.5.Final:build (default) @ gmw_rest_dispatch ---
[INFO] [org.jboss.threads] JBoss Threads version 3.1.1.Final
[INFO] [org.hibernate.Version] HHH000412: Hibernate ORM core version 5.4.26.Final
[WARNING] [io.quarkus.arc.processor.BeanArchives] Failed to index org.apache.cxf.phase.AbstractPhaseInterceptor: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader
[INFO] [io.quarkus.arc.processor.IndexClassLookupUtils] Class for name: org.apache.cxf.phase.AbstractPhaseInterceptor was not found in Jandex index. Please ensure the class is part of the index.
[WARNING] [io.quarkus.arc.processor.BeanArchives] Failed to index org.apache.cxf.feature.AbstractFeature: Class does not exist in ClassLoader QuarkusClassLoader:Deployment Class Loader
[INFO] [io.quarkus.arc.processor.IndexClassLookupUtils] Class for name: org.apache.cxf.feature.AbstractFeature was not found in Jandex index. Please ensure the class is part of the index.
我希望我的构建尽可能干净。所以我想摆脱这个警告。我怎样才能做到这一点?
作为旁注:我无法查看 jandex 写入其 jandex.idx 的内容。所以我没有办法调试。请注意,提到的(org.apache.xf.phase.AbstractPhaseIntercepter 和 org.apache.cxf.feature.AbstractFeature)类也不是注释(AFAIK)。