jamesnetherton commented on issue #5887:
URL: https://github.com/apache/camel-quarkus/issues/5887#issuecomment-2102151640

   This appears to be trickier than it first seems. I was hoping to just add a 
property for `<maven.deploy.skip>true</maven.deploy.skip>` to the parent of the 
modules mentioned above.
   
   But due to the parent that the sub-modules use, it has no effect. You have 
to explicitly add the property in each sub-module pom.xml. Which is a pain to 
maintain.
   
   So I thought of adding something extra to the `cq-maven-plugin` format mojo 
that could configure the property automatically like:
   
   ```xml
   <mavenDeploySkip>
       <basedir>${project.basedir}</basedir>
       <includes>
           <include>integration-test-groups/**/pom.xml</include>
           <include>integration-tests-jvm/**/pom.xml</include>
           <include>tooling/perf-regression/pom.xml</include>
       </includes>
   </mavenDeploySkip>
   ```
   
   It 
[works](https://github.com/jamesnetherton/cq-maven-plugin/commit/b0a60ca3663ce94e828773e43875bef5aa108294).
 Just not sure if that's the right way to go. WDYT @ppalaga?


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