start work on getting maven working..

This commit is contained in:
kimchy 2010-03-01 17:19:07 +02:00
parent bd8d52f3f8
commit aef5aa0b33
1 changed files with 14 additions and 0 deletions

View File

@ -3,6 +3,7 @@ import java.text.SimpleDateFormat
dependsOn(':test-testng')
usePlugin 'java'
usePlugin 'maven'
archivesBaseName = "$project.archivesBaseName"
@ -62,3 +63,16 @@ test {
options.listeners = ["org.elasticsearch.util.testng.Listeners"]
options.systemProperties = ["es.test.log.conf": System.getProperty("es.test.log.conf", "log4j-gradle.properties")]
}
configure(install.repositories.mavenInstaller) {
// pom.name = "ElasticSearch"
// pom.description = "Open Source, Distributed, RESTful, Search Engine"
// pom.url = "http://www.elasticsearch.org"
}
uploadArchives {
repositories.mavenDeployer {
// repository(url: "file://localhost/" + rootProject.projectDir.absolutePath + "/build/maven/repository")
// snapshotRepository(url: "file://localhost/" + rootProject.projectDir.absolutePath + "/build/maven/snapshotRepository")
}
}