Permalink
Browse files

Deploy to the repo-server

With correct way of auth'ing for deployment
  • Loading branch information...
1 parent 1b89708 commit af259500dc851019ae62a0adfd9ce8883d2694f6 Konstantin Boudnik committed Nov 15, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 build.gradle
View
5 build.gradle
@@ -37,7 +37,10 @@ task deploy (dependsOn: [importTasksRunInOrder, rename, uploadArchives]) << {
uploadArchives {
repositories {
mavenDeployer {
- repository(url: "file:///Users/cos/temp/myRepo/")
+ repository(url: "http://archiva:8290/archiva/repository/snapshots/") {
+ // Make sure to have correctly configured user/password in
+ // ~/.m2/settings.xml to access the repository above
+ }
pom.project {
inceptionYear '2011'
licenses {

0 comments on commit af25950

Please sign in to comment.