Permalink
Browse files

Mise en place du deploiement d'artefact sur Cloudbees

  • Loading branch information...
1 parent e22aad0 commit df18cbba06a012224ccc84e19331742ce29c6489 @ticetime committed Jul 16, 2012
@@ -16,14 +16,6 @@ grails.project.dependency.resolution = {
log "warn" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
repositories {
grailsCentral()
- // uncomment the below to enable remote dependency resolution
- // from public Maven repositories
- //mavenCentral()
- //mavenLocal()
- //mavenRepo "http://snapshots.repository.codehaus.org"
- //mavenRepo "http://repository.codehaus.org"
- //mavenRepo "http://download.java.net/maven/2/"
- //mavenRepo "http://repository.jboss.com/maven2/"
}
dependencies {
// specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg.
@@ -33,22 +33,23 @@
<repository name='http://repo.grails.org/grails/plugins' url='http://repo.grails.org/grails/plugins/' />
<repository name='http://repo.grails.org/grails/core' url='http://repo.grails.org/grails/core/' />
<repository name='grailsCore' url='http://svn.codehaus.org/grails/trunk/grails-plugins' />
- <repository name='http://dev.ticetime.com/nexus/content/repositories/snapshots/' url='http://dev.ticetime.com/nexus/content/repositories/snapshots/' />
- <repository name='http://dev.ticetime.com/nexus/content/repositories/releases/' url='http://dev.ticetime.com/nexus/content/repositories/releases/' />
+ <repository name='http://repository-ticetime.forge.cloudbees.com/release' url='http://repository-ticetime.forge.cloudbees.com/release/' />
+ <repository name='http://repository-ticetime.forge.cloudbees.com/snapshot' url='http://repository-ticetime.forge.cloudbees.com/snapshot/' />
<repository name='mavenCentral' url='http://repo1.maven.org/maven2/' />
<repository name='http://download.java.net/maven/2/' url='http://download.java.net/maven/2/' />
</repositories>
<dependencies>
<compile>
<dependency group='net.sourceforge.saxon' name='saxon' version='9.1.0.8' />
+ <dependency group='org.apache.maven.wagon' name='wagon-webdav' version='1.0-beta-2' />
<dependency group='org.codehaus.groovy.modules.http-builder' name='http-builder' version='0.5.2' />
</compile>
<runtime>
<dependency group='postgresql' name='postgresql' version='9.1-901.jdbc4' />
</runtime>
<build>
- <dependency group='net.sourceforge.saxon' name='saxon' version='9.1.0.8' />
<dependency group='net.sf.saxon' name='saxon-dom' version='8.7' />
+ <dependency group='net.sourceforge.saxon' name='saxon' version='9.1.0.8' />
</build>
</dependencies>
<plugins>
@@ -37,22 +37,23 @@
<repository name='http://repo.grails.org/grails/plugins' url='http://repo.grails.org/grails/plugins/' />
<repository name='http://repo.grails.org/grails/core' url='http://repo.grails.org/grails/core/' />
<repository name='grailsCore' url='http://svn.codehaus.org/grails/trunk/grails-plugins' />
- <repository name='http://dev.ticetime.com/nexus/content/repositories/snapshots/' url='http://dev.ticetime.com/nexus/content/repositories/snapshots/' />
- <repository name='http://dev.ticetime.com/nexus/content/repositories/releases/' url='http://dev.ticetime.com/nexus/content/repositories/releases/' />
+ <repository name='http://repository-ticetime.forge.cloudbees.com/release' url='http://repository-ticetime.forge.cloudbees.com/release/' />
+ <repository name='http://repository-ticetime.forge.cloudbees.com/snapshot' url='http://repository-ticetime.forge.cloudbees.com/snapshot/' />
<repository name='mavenCentral' url='http://repo1.maven.org/maven2/' />
<repository name='http://download.java.net/maven/2/' url='http://download.java.net/maven/2/' />
</repositories>
<dependencies>
<compile>
<dependency group='net.sourceforge.saxon' name='saxon' version='9.1.0.8' />
+ <dependency group='org.apache.maven.wagon' name='wagon-webdav' version='1.0-beta-2' />
<dependency group='org.codehaus.groovy.modules.http-builder' name='http-builder' version='0.5.2' />
</compile>
<runtime>
<dependency group='postgresql' name='postgresql' version='9.1-901.jdbc4' />
</runtime>
<build>
- <dependency group='net.sourceforge.saxon' name='saxon' version='9.1.0.8' />
<dependency group='net.sf.saxon' name='saxon-dom' version='8.7' />
+ <dependency group='net.sourceforge.saxon' name='saxon' version='9.1.0.8' />
</build>
</dependencies>
<plugins>
@@ -56,8 +56,8 @@ grails.project.dependency.resolution = {
grailsPlugins()
grailsHome()
grailsCentral()
- mavenRepo "http://dev.ticetime.com/nexus/content/repositories/snapshots/"
- mavenRepo "http://dev.ticetime.com/nexus/content/repositories/releases/"
+ mavenRepo "http://repository-ticetime.forge.cloudbees.com/release"
+ mavenRepo "http://repository-ticetime.forge.cloudbees.com/snapshot"
}
/**
@@ -72,6 +72,8 @@ grails.project.dependency.resolution = {
compile('org.codehaus.groovy.modules.http-builder:http-builder:0.5.2') {
excludes "commons-logging", "xml-apis", "groovy"
}
+
+ compile 'org.apache.maven.wagon:wagon-webdav:1.0-beta-2'
}
plugins {
@@ -26,22 +26,23 @@
<repository name='http://repo.grails.org/grails/plugins' url='http://repo.grails.org/grails/plugins/' />
<repository name='http://repo.grails.org/grails/core' url='http://repo.grails.org/grails/core/' />
<repository name='grailsCore' url='http://svn.codehaus.org/grails/trunk/grails-plugins' />
- <repository name='http://dev.ticetime.com/nexus/content/repositories/snapshots/' url='http://dev.ticetime.com/nexus/content/repositories/snapshots/' />
- <repository name='http://dev.ticetime.com/nexus/content/repositories/releases/' url='http://dev.ticetime.com/nexus/content/repositories/releases/' />
+ <repository name='http://repository-ticetime.forge.cloudbees.com/release' url='http://repository-ticetime.forge.cloudbees.com/release/' />
+ <repository name='http://repository-ticetime.forge.cloudbees.com/snapshot' url='http://repository-ticetime.forge.cloudbees.com/snapshot/' />
<repository name='mavenCentral' url='http://repo1.maven.org/maven2/' />
<repository name='http://download.java.net/maven/2/' url='http://download.java.net/maven/2/' />
</repositories>
<dependencies>
<compile>
<dependency group='net.sourceforge.saxon' name='saxon' version='9.1.0.8' />
+ <dependency group='org.apache.maven.wagon' name='wagon-webdav' version='1.0-beta-2' />
<dependency group='org.codehaus.groovy.modules.http-builder' name='http-builder' version='0.5.2' />
</compile>
<runtime>
<dependency group='postgresql' name='postgresql' version='9.1-901.jdbc4' />
</runtime>
<build>
- <dependency group='net.sourceforge.saxon' name='saxon' version='9.1.0.8' />
<dependency group='net.sf.saxon' name='saxon-dom' version='8.7' />
+ <dependency group='net.sourceforge.saxon' name='saxon' version='9.1.0.8' />
</build>
</dependencies>
<plugins>
@@ -12,14 +12,17 @@ apply plugin: 'maven'
repositories {
- mavenCentral()
- mavenLocal()
+
+ //mavenLocal()
maven {
- url "http://dev.ticetime.com/nexus/content/repositories/releases/"
+ url "http://repository-ticetime.forge.cloudbees.com"
+ artifactUrls "http://repository-ticetime.forge.cloudbees.com/release"
}
maven {
- url "http://dev.ticetime.com/nexus/content/repositories/snapshots/"
+ url "http://repository-ticetime.forge.cloudbees.com/snapshot/"
}
+
+ mavenCentral()
}
configurations {
@@ -39,7 +42,8 @@ dependencies {
compile group:'org.lilie.services.eliot', name:'eliot-tice-dbmigration', version:"${version}"
- deploiementArtefact 'org.apache.maven.wagon:wagon-http:1.0-beta-2'
+ //deploiementArtefact 'org.apache.maven.wagon:wagon-http:1.0-beta-2'
+ deploiementArtefact "org.apache.maven.wagon:wagon-webdav:1.0-beta-2"
}
/**
@@ -11,9 +11,6 @@ apply plugin: 'maven'
repositories {
mavenCentral()
- maven {
- url "http://dev.ticetime.com/nexus/content/repositories/releases/"
- }
}
configurations {
@@ -27,7 +24,8 @@ dependencies {
liquibase group: 'org.liquibase', name: 'liquibase-core', version: '2.0.2'
liquibase group: 'postgresql', name: 'postgresql', version: '9.1-901.jdbc4'
- deploiementArtefact 'org.apache.maven.wagon:wagon-http:1.0-beta-2'
+ //deploiementArtefact 'org.apache.maven.wagon:wagon-http:1.0-beta-2'
+ deploiementArtefact "org.apache.maven.wagon:wagon-webdav:1.0-beta-2"
}
/**
@@ -48,9 +48,10 @@ grails.project.dependency.resolution = {
repositories {
grailsCentral()
mavenLocal()
- mavenRepo "http://dev.ticetime.com/nexus/content/repositories/snapshots/"
- mavenRepo "http://dev.ticetime.com/nexus/content/repositories/releases/"
+ mavenRepo "http://repository-ticetime.forge.cloudbees.com/release"
+ mavenRepo "http://repository-ticetime.forge.cloudbees.com/snapshot"
}
+
dependencies {
// specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg.
@@ -92,22 +92,23 @@
<repository name='http://repo.grails.org/grails/plugins' url='http://repo.grails.org/grails/plugins/' />
<repository name='http://repo.grails.org/grails/core' url='http://repo.grails.org/grails/core/' />
<repository name='grailsCore' url='http://svn.codehaus.org/grails/trunk/grails-plugins' />
- <repository name='http://dev.ticetime.com/nexus/content/repositories/snapshots/' url='http://dev.ticetime.com/nexus/content/repositories/snapshots/' />
- <repository name='http://dev.ticetime.com/nexus/content/repositories/releases/' url='http://dev.ticetime.com/nexus/content/repositories/releases/' />
+ <repository name='http://repository-ticetime.forge.cloudbees.com/release' url='http://repository-ticetime.forge.cloudbees.com/release/' />
+ <repository name='http://repository-ticetime.forge.cloudbees.com/snapshot' url='http://repository-ticetime.forge.cloudbees.com/snapshot/' />
<repository name='mavenCentral' url='http://repo1.maven.org/maven2/' />
<repository name='http://download.java.net/maven/2/' url='http://download.java.net/maven/2/' />
</repositories>
<dependencies>
<compile>
<dependency group='net.sourceforge.saxon' name='saxon' version='9.1.0.8' />
+ <dependency group='org.apache.maven.wagon' name='wagon-webdav' version='1.0-beta-2' />
<dependency group='org.codehaus.groovy.modules.http-builder' name='http-builder' version='0.5.2' />
</compile>
<runtime>
<dependency group='postgresql' name='postgresql' version='9.1-901.jdbc4' />
</runtime>
<build>
- <dependency group='net.sourceforge.saxon' name='saxon' version='9.1.0.8' />
<dependency group='net.sf.saxon' name='saxon-dom' version='8.7' />
+ <dependency group='net.sourceforge.saxon' name='saxon' version='9.1.0.8' />
</build>
</dependencies>
<plugins>

0 comments on commit df18cbb

Please sign in to comment.