I have been trying to get the same JAR uploaded to maven in another file
system directory... I have tried the following

uploadArchives {
    repositories.mavenDeployer {
       name = 'sshDeployer' // optional
        configuration = configurations.deployerJars
        repository(url: "scp://repos.mycompany.com/releases") {
            authentication(userName: "me", password: "myPassword")
        }
    }
    def repoDir = new File("$projectDir/../../../local").canonicalPath
    repositories {
       flatDir(dirs: file(repoDir))
    }
}

My option is "uploadArchives.doLast()" and copy the generated jar... I just
wanted to use the concept of repositories :)

thanks
Marcello

--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Multiple-Upload-Archives-Maven-Jar-in-File-system-dir-tp4673393p4673393.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