[ 
https://issues.apache.org/jira/browse/CAMEL-25967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aurélien Pupier updated CAMEL-25967:
------------------------------------
    Description: 
in [CAMEL-14628], a recompile goal has been provided to ensure that when 
generated code has been created, it is picked up.
I'm not sure that it is still needed at all. But at least we should be able to 
restrict to only modules which has some generated code.

this could save almost 5 minutes of compute time (not all on critical path for 
a parallel build so will be less on global but potentially several minutes)

https://develocity.apache.org/s/kd5see66h3wls/timeline?toggled=WyIxMTc4Il0&view=by-type#1178

https://github.com/apache/camel/blob/bf99380213fc1f76cbbf1f44c604538b67a2f4c5/core/pom.xml#L97
https://github.com/apache/camel/blob/bf99380213fc1f76cbbf1f44c604538b67a2f4c5/components/pom.xml#L437

  was:
in [CAMEL-14628], a recompile goal has been provided to ensure that when 
generated code has been created, it is picked up.
I'm not sure that it is still needed at all. But at least we should be able to 
restrict to only modules which has some generated code.

this could save almost 10 minutes of compute time (not all on critical path for 
a parallel build so will be less on global but surely several minutes)

https://develocity.apache.org/s/kd5see66h3wls/timeline?toggled=WyIxMTc4Il0&view=by-type#1178

https://github.com/apache/camel/blob/bf99380213fc1f76cbbf1f44c604538b67a2f4c5/core/pom.xml#L97
https://github.com/apache/camel/blob/bf99380213fc1f76cbbf1f44c604538b67a2f4c5/components/pom.xml#L437


> Avoid to recompile when not needed
> ----------------------------------
>
>                 Key: CAMEL-25967
>                 URL: https://issues.apache.org/jira/browse/CAMEL-25967
>             Project: Camel
>          Issue Type: Task
>    Affects Versions: 4.24.0
>            Reporter: Aurélien Pupier
>            Priority: Major
>
> in [CAMEL-14628], a recompile goal has been provided to ensure that when 
> generated code has been created, it is picked up.
> I'm not sure that it is still needed at all. But at least we should be able 
> to restrict to only modules which has some generated code.
> this could save almost 5 minutes of compute time (not all on critical path 
> for a parallel build so will be less on global but potentially several 
> minutes)
> https://develocity.apache.org/s/kd5see66h3wls/timeline?toggled=WyIxMTc4Il0&view=by-type#1178
> https://github.com/apache/camel/blob/bf99380213fc1f76cbbf1f44c604538b67a2f4c5/core/pom.xml#L97
> https://github.com/apache/camel/blob/bf99380213fc1f76cbbf1f44c604538b67a2f4c5/components/pom.xml#L437



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to