Mark quarkus:go-offline
Maven mojo as thread-safe
#27596
Labels
Milestone
quarkus:go-offline
Maven mojo as thread-safe
#27596
Description
We are using the
quarkus:go-offline
goal to pre-populate the local Maven repo in our CI builds. We have then configured GitLab to cache this Maven repo. Now, we would like to execute this Maven build in parallel (something likemvn dependency:go-offline io.quarkus:quarkus-maven-plugin::go-offline -T8 -Dmaven.artifact.threads=4
). This works, but we see warnings like this printed to the console:Assuming that the
go-offline
goal is thread-safe already, it would only be a matter of changing@Mojo(name = "go-offline")
to `@Mojo(name = "go-offline", threadSafe = true).Implementation ideas
If the mojo is thread-safe, I could provide a PR.
The text was updated successfully, but these errors were encountered: