Hi,

did you try splitting rust and java code in 2 modules and using
-T$something ? would do it, otherwise you probably need to write an
extension which will capture compiler config, make it skipped to replace it
but a custom lifecycle management in your own plugin but looks more
complicated to achieve this goal.

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>


Le ven. 20 oct. 2023 à 21:28, Adam Cimarosti <cimaro...@gmail.com> a écrit :

> Hello,
>
> I am the author of the rust-maven-plugin (
> https://github.com/questdb/rust-maven-plugin/).
>
> We use this plugin ourselves at QuestDB and in CI `mvn compile` takes
> around 8 minutes.
>
> It appears that the Java and Rust builds happen serially.
>
> Is there a way to parallelise things so our plugin kicks off building Rust
> in parallel while the Kava code is building?
>
> Your advice is much appreciated!
>
> Thanks,
> Adam
>

Reply via email to