javaduke opened a new issue, #4230:
URL: https://github.com/apache/camel-quarkus/issues/4230

   One of the artifacts in my POM has `ehcache` as a dependency, but when I'm 
trying to exclude it as follows:
   ```
           <dependency>
               <groupId>io.quarkiverse.cxf</groupId>
               <artifactId>quarkus-cxf-rt-ws-security</artifactId>
               <exclusions>
                   <exclusion>
                       <groupId>org.ehcache</groupId>
                       <artifactId>ehcache</artifactId>
                   </exclusion>
               </exclusions>
           </dependency>
   ```
   I'm getting this error:
   ```
   [ERROR]         [error]: Build step 
io.quarkus.deployment.index.ApplicationArchiveBuildStep#build threw an 
exception: java.lang.RuntimeException: Could not resolve artifact 
org.ehcache:ehcache::jar among the runtime dependencies of the application
   [ERROR]         at 
io.quarkus.deployment.index.ApplicationArchiveBuildStep.addIndexDependencyPaths(ApplicationArchiveBuildStep.java:188)
   [ERROR]         at 
io.quarkus.deployment.index.ApplicationArchiveBuildStep.scanForOtherIndexes(ApplicationArchiveBuildStep.java:151)
   [ERROR]         at 
io.quarkus.deployment.index.ApplicationArchiveBuildStep.build(ApplicationArchiveBuildStep.java:108)
   [ERROR]         at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   [ERROR]         at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   [ERROR]         at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   [ERROR]         at java.base/java.lang.reflect.Method.invoke(Method.java:567)
   [ERROR]         at 
io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:909)
   [ERROR]         at io.quarkus.builder.BuildContext.run(BuildContext.java:281)
   [ERROR]         at 
org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)
   [ERROR]         at 
org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)
   [ERROR]         at 
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478)
   [ERROR]         at java.base/java.lang.Thread.run(Thread.java:835)
   [ERROR]         at org.jboss.threads.JBossThread.run(JBossThread.java:501)
   [ERROR] -> [Help 1]
   ```
   
   Is it a known bug?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to