Skip to content

Commit f2d1ffe

Browse files
committed
Add all mandatory Maven publishing information
1 parent 5a370bc commit f2d1ffe

File tree

5 files changed

+32
-1
lines changed

5 files changed

+32
-1
lines changed

rhino-all/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ publishing {
4343
pom.withXml {
4444
def root = asNode()
4545

46+
root.appendNode('name', 'rhino-all')
4647
root.appendNode('description', "Rhino JavaScript all-in-one JAR, not for use with modular Java projects")
4748
root.appendNode("url", "https://mozilla.github.io/rhino/")
4849

@@ -63,6 +64,11 @@ publishing {
6364
def o = root.appendNode("organization")
6465
o.appendNode("name", "The Mozilla Foundation")
6566
o.appendNode("url", "http://www.mozilla.org")
67+
68+
def d = root.appendNode("developers")
69+
def dd = d.appendNode("developer")
70+
dd.appendNode("name", "Greg Brail")
71+
dd.appendNode("email", "gbrail@users.noreply.github.com")
6672
}
6773
}
6874
}

rhino-engine/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ publishing {
1414
pom.withXml {
1515
def root = asNode()
1616

17+
root.appendNode('name', 'rhino-engine')
1718
root.appendNode('description', "Rhino ScriptEngine implementation")
1819
root.appendNode("url", "https://mozilla.github.io/rhino/")
1920

@@ -34,6 +35,11 @@ publishing {
3435
def o = root.appendNode("organization")
3536
o.appendNode("name", "The Mozilla Foundation")
3637
o.appendNode("url", "http://www.mozilla.org")
38+
39+
def d = root.appendNode("developers")
40+
def dd = d.appendNode("developer")
41+
dd.appendNode("name", "Greg Brail")
42+
dd.appendNode("email", "gbrail@users.noreply.github.com")
3743
}
3844
}
3945
}

rhino-tools/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ publishing {
1414
pom.withXml {
1515
def root = asNode()
1616

17+
root.appendNode('name', 'rhino-tools')
1718
root.appendNode('description', "Rhino tools, including shell and debugger")
1819
root.appendNode("url", "https://mozilla.github.io/rhino/")
1920

@@ -34,6 +35,11 @@ publishing {
3435
def o = root.appendNode("organization")
3536
o.appendNode("name", "The Mozilla Foundation")
3637
o.appendNode("url", "http://www.mozilla.org")
38+
39+
def d = root.appendNode("developers")
40+
def dd = d.appendNode("developer")
41+
dd.appendNode("name", "Greg Brail")
42+
dd.appendNode("email", "gbrail@users.noreply.github.com")
3743
}
3844
}
3945
}

rhino-xml/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ publishing {
1414
pom.withXml {
1515
def root = asNode()
1616

17+
root.appendNode('name', 'rhino-xml')
1718
root.appendNode('description', "Rhino XML support")
1819
root.appendNode("url", "https://mozilla.github.io/rhino/")
1920

@@ -34,6 +35,11 @@ publishing {
3435
def o = root.appendNode("organization")
3536
o.appendNode("name", "The Mozilla Foundation")
3637
o.appendNode("url", "http://www.mozilla.org")
38+
39+
def d = root.appendNode("developers")
40+
def dd = d.appendNode("developer")
41+
dd.appendNode("name", "Greg Brail")
42+
dd.appendNode("email", "gbrail@users.noreply.github.com")
3743
}
3844
}
3945
}

rhino/build.gradle

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ publishing {
1616
// attribute otherwise, and without it Maven Central verification
1717
// will fail.
1818
pom.withXml {
19-
def root = asNode()
19+
20+
def root = asNode()
2021

22+
root.appendNode('name', 'rhino')
2123
root.appendNode('description', "Rhino JavaScript runtime jar, excludes XML, tools, and ScriptEngine wrapper")
2224
root.appendNode("url", "https://mozilla.github.io/rhino/")
2325

@@ -38,6 +40,11 @@ publishing {
3840
def o = root.appendNode("organization")
3941
o.appendNode("name", "The Mozilla Foundation")
4042
o.appendNode("url", "http://www.mozilla.org")
43+
44+
def d = root.appendNode("developers")
45+
def dd = d.appendNode("developer")
46+
dd.appendNode("name", "Greg Brail")
47+
dd.appendNode("email", "gbrail@users.noreply.github.com")
4148
}
4249
}
4350
}

0 commit comments

Comments
 (0)