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: [email protected]

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


Reply via email to