Update year and developer info in generated POMs. (#444)

Signed-off-by: Rabi Panda <pandarab@amazon.com>
This commit is contained in:
Rabi Panda 2021-03-22 23:17:27 -07:00 committed by GitHub
parent 58321fd2fa
commit 4f6507510b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -76,7 +76,7 @@ subprojects {
all { all {
pom.withXml { XmlProvider xml -> pom.withXml { XmlProvider xml ->
Node node = xml.asNode() Node node = xml.asNode()
node.appendNode('inceptionYear', '2009') node.appendNode('inceptionYear', '2021')
Node license = node.appendNode('licenses').appendNode('license') Node license = node.appendNode('licenses').appendNode('license')
license.appendNode('name', project.licenseName) license.appendNode('name', project.licenseName)
@ -84,8 +84,8 @@ subprojects {
license.appendNode('distribution', 'repo') license.appendNode('distribution', 'repo')
Node developer = node.appendNode('developers').appendNode('developer') Node developer = node.appendNode('developers').appendNode('developer')
developer.appendNode('name', 'Elastic') developer.appendNode('name', 'OpenSearch')
developer.appendNode('url', 'https://www.elastic.co') developer.appendNode('url', 'https://github.com/opensearch-project/OpenSearch')
} }
} }
} }