Skip to content

Commit 5d5c531

Browse files
committed
more work on maven
1 parent 6ed2374 commit 5d5c531

File tree

1 file changed

+19
-8
lines changed

1 file changed

+19
-8
lines changed

modules/elasticsearch/build.gradle

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,26 @@ test {
6868
systemProperties["es.test.log.conf"] = System.getProperty("es.test.log.conf", "log4j-gradle.properties")
6969
}
7070

71-
configure(install.repositories.mavenInstaller) {
72-
// pom.name = "ElasticSearch"
73-
// pom.description = "Open Source, Distributed, RESTful, Search Engine"
74-
// pom.url = "http://www.elasticsearch.org"
75-
}
76-
7771
uploadArchives {
7872
repositories.mavenDeployer {
79-
// repository(url: "file://localhost/" + rootProject.projectDir.absolutePath + "/build/maven/repository")
80-
// snapshotRepository(url: "file://localhost/" + rootProject.projectDir.absolutePath + "/build/maven/snapshotRepository")
73+
repository(url: "file://localhost/" + rootProject.projectDir.absolutePath + "/build/maven/repository")
74+
snapshotRepository(url: "file://localhost/" + rootProject.projectDir.absolutePath + "/build/maven/snapshotRepository")
75+
pom.project {
76+
inceptionYear '2009'
77+
name 'elasticsearch'
78+
description 'Open Source, Distributed, RESTful Search Engine'
79+
licenses {
80+
license {
81+
name 'The Apache Software License, Version 2.0'
82+
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
83+
distribution 'repo'
84+
}
85+
}
86+
scm {
87+
connection 'git://github.com/elasticsearch/elasticsearch.git'
88+
developerConnection '[email protected]:elasticsearch/elasticsearch.git'
89+
url 'http://github.com/elasticsearch/elasticsearch'
90+
}
91+
}
8192
}
8293
}

0 commit comments

Comments
 (0)