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 2021/11/03 11:55:22 UTC

[GitHub] [camel-quarkus] ppalaga opened a new issue #3258: Cannot run tests against alternative BOMs

ppalaga opened a new issue #3258:
URL: https://github.com/apache/camel-quarkus/issues/3258


   In https://github.com/apache/camel-quarkus/pull/3134 we wanted to make it possible to run our tests against alternative BOMs, such as Quarkus Platform BOMs. The current solution does not work for two reasons:
   
   1. `camel-quarkus-bom-test` version used in `camel-quarkus-build-parent-it` is `${project.version}` - so `camel-quarkus-bom-test` would have to be installed locally to be able to run the test.
   2. Virtual dependencies in the tests, such as 
   
   ```
           <dependency>
               <groupId>org.apache.camel.quarkus</groupId>
               <artifactId>camel-quarkus-direct-deployment</artifactId>
               <version>${project.version}</version>
               <type>pom</type>
               <scope>test</scope>
               <exclusions>
                   <exclusion>
                       <groupId>*</groupId>
                       <artifactId>*</artifactId>
                   </exclusion>
               </exclusions>
           </dependency>
   ```
   
   cannot be resolved too.
   
   For 1. I think the best approach would be to make the `camel-quarkus-bom-test` version in `camel-quarkus-build-parent-it` parametrized, defaulting to `${project.version}`
   
   For 2. I think we should move the virtual deps in tests to a new profile that would be active by default, but still de-activable via a property passed through CLI.


-- 
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] ppalaga closed issue #3258: Cannot run tests against alternative BOMs

Posted by GitBox <gi...@apache.org>.
ppalaga closed issue #3258:
URL: https://github.com/apache/camel-quarkus/issues/3258


   


-- 
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