'How do I use transport-http instead of wagon in maven?

I'd like to use maven-resolver-transport-http in maven instead of the default wagon.
So far I just downloaded the jar and its dependencies and copied it in my maven/3.8.4/libexec/lib installation and it worked.
But I can't find the configuration to make that happen in a cleaner way.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source