Skip to content

Commit 07fdfce

Browse files
authored
Merge pull request #15 from newrelic/jkeller/fix-pom-validation-failure
Update build.gradle to fix POM validation failures
2 parents 40e6941 + fed40d0 commit 07fdfce

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

build.gradle

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,34 @@ uploadSonatype.doFirst {
102102
println(project.name + " uploading: " + it)
103103
}
104104
}
105+
106+
def customizePom(pom, nameIn, descriptionIn) {
107+
pom.project {
108+
url 'https://newrelic.com/'
109+
name nameIn
110+
description descriptionIn
111+
112+
licenses {
113+
license { url 'https://github.com/newrelic/java-aws-lambda/blob/master/LICENSE' }
114+
}
115+
116+
scm {
117+
url "git@github.com:newrelic/java-aws-lambda.git"
118+
connection "scm:git:git@github.com:newrelic/java-aws-lambda.git"
119+
}
120+
121+
developers {
122+
developer {
123+
id 'newrelic'
124+
name 'New Relic'
125+
email 'support@newrelic.com'
126+
}
127+
}
128+
}
129+
}
130+
131+
// For external deploys (e.g. - release)
132+
modifyPom { pom ->
133+
customizePom(pom, 'AWS Lambda OpenTracing Java SDK',
134+
'OpenTracing Java SDK for instrumenting AWS Lambda functions.')
135+
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy