LendingClub / gradle-maven-plugin

maven plugin to invoke gradle
73 stars 36 forks source link

Multi module maven dependencies are not available in gradle #34

Open ben-gineer opened 8 years ago

ben-gineer commented 8 years ago

I have a multi-module maven project, and my gradle project has a dependency on a maven project within the same build. The problem I have is that the Maven reactor will not provide the maven artifacts to the gradle project unless the install goal is run. This creates a problem for our feature builds, as we don't wish to install the artifacts as they would impact other builds using the same build system. Is there anyway gradle could resolve these dependent maven artifacts without requiring them to be installed in a local repository?

if6was9 commented 8 years ago

I always use install for this very reason. And for isolation always use workspace-local .m2 repo configuration in CI.