Alexander Kitaev wrote:
> 
> Another issue with maven deployment is that there is no way to configure
> location of the local maven repository for mavenDeployer. It always uses
> ~/.m2 path. To work this around I had to provide my own
> CustomDeployTaskFactory where I set custom location of the local maven
> repository.
> 

You should be using mavenInstaller for this. mavenInstaller knows about
Maven's settings.xml and gets the local repository location from there.

--
Peter Niederwieser 
Developer, Gradle
http://www.gradle.org
Trainer & Consultant, Gradleware
http://www.gradleware.com
Creator, Spock Framework
http://spockframework.org


--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Issues-with-deploying-multiple-artifacts-to-maven-tp4341354p4341837.html
Sent from the gradle-user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to