Update year and developer info in generated POMs. (#444)
Signed-off-by: Rabi Panda <pandarab@amazon.com>
This commit is contained in:
parent
58321fd2fa
commit
4f6507510b
|
@ -76,7 +76,7 @@ subprojects {
|
|||
all {
|
||||
pom.withXml { XmlProvider xml ->
|
||||
Node node = xml.asNode()
|
||||
node.appendNode('inceptionYear', '2009')
|
||||
node.appendNode('inceptionYear', '2021')
|
||||
|
||||
Node license = node.appendNode('licenses').appendNode('license')
|
||||
license.appendNode('name', project.licenseName)
|
||||
|
@ -84,8 +84,8 @@ subprojects {
|
|||
license.appendNode('distribution', 'repo')
|
||||
|
||||
Node developer = node.appendNode('developers').appendNode('developer')
|
||||
developer.appendNode('name', 'Elastic')
|
||||
developer.appendNode('url', 'https://www.elastic.co')
|
||||
developer.appendNode('name', 'OpenSearch')
|
||||
developer.appendNode('url', 'https://github.com/opensearch-project/OpenSearch')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue