You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/10/31 22:29:42 UTC

[GitHub] [camel-quarkus] javaduke opened a new issue, #4230: Quarkus Maven Plugin unable to handle maven exclusions

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: commits-unsubscribe@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] javaduke commented on issue #4230: Quarkus Maven Plugin unable to handle maven exclusions

Posted by GitBox <gi...@apache.org>.
javaduke commented on issue #4230:
URL: https://github.com/apache/camel-quarkus/issues/4230#issuecomment-1297776536

   Sorry, opened in wrong repo, meant to open it in quarkus repo.


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] javaduke closed issue #4230: Quarkus Maven Plugin unable to handle maven exclusions

Posted by GitBox <gi...@apache.org>.
javaduke closed issue #4230: Quarkus Maven Plugin unable to handle maven exclusions
URL: https://github.com/apache/camel-quarkus/issues/4230


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org