-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates to fix maven central pom publishing
- Loading branch information
Showing
6 changed files
with
52 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,3 +31,9 @@ libs += [ | |
logback_classic: "ch.qos.logback:logback-classic:$versions.logback", | ||
mockito_core: "org.mockito:mockito-core:$versions.mockito" | ||
] | ||
|
||
ext { | ||
developerId = 'dehora' | ||
developerEmail = '[email protected]' | ||
developerName = 'Bill de hÓra' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,18 +73,29 @@ publishing { | |
|
||
url = 'https://github.com/dehora/nakadi-java' | ||
|
||
name = project.name | ||
|
||
description = 'Client driver for Nakadi' | ||
|
||
licenses { | ||
license { | ||
name = 'MIT License' | ||
url = 'https://mit-license.org/' | ||
} | ||
} | ||
|
||
scm { | ||
url = '[email protected]:dehora/nakadi-java.git' | ||
} | ||
} | ||
|
||
pom.withXml { | ||
def developersNode = asNode().appendNode('developers') | ||
def developerNode = developersNode.appendNode('developer') | ||
developerNode.appendNode('id', 'dehora') | ||
developerNode.appendNode('email', '[email protected]') | ||
developerNode.appendNode('name', 'Bill de hÓra') | ||
} | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,15 +34,19 @@ publishing { | |
|
||
pom.withXml { | ||
|
||
def _name = project.name.toString() | ||
|
||
asNode().with { | ||
appendNode('url', 'https://github.com/dehora/nakadi-java') | ||
appendNode('description', 'Client driver gson support') | ||
appendNode('name', _name) | ||
appendNode('description', 'Client driver support') | ||
appendNode('scm').with { | ||
appendNode('url', '[email protected]:dehora/nakadi-java.git') | ||
} | ||
appendNode('licenses').with { | ||
appendNode('license').with { | ||
appendNode('name', 'MIT License') | ||
appendNode('url', 'https://mit-license.org/') | ||
} | ||
} | ||
} | ||
|
@@ -54,6 +58,12 @@ publishing { | |
dependencyNode.appendNode('artifactId', it.name) | ||
dependencyNode.appendNode('version', it.version) | ||
} | ||
|
||
def developersNode = asNode().appendNode('developers') | ||
def developerNode = developersNode.appendNode('developer') | ||
developerNode.appendNode('id', developerId) | ||
developerNode.appendNode('email', developerEmail) | ||
developerNode.appendNode('name', developerName) | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,15 +22,19 @@ publishing { | |
|
||
pom.withXml { | ||
|
||
def _name = project.name.toString() | ||
|
||
asNode().with { | ||
appendNode('url', 'https://github.com/dehora/nakadi-java') | ||
appendNode('description', 'Client driver metrics support') | ||
appendNode('name', _name) | ||
appendNode('description', 'Client driver support') | ||
appendNode('scm').with { | ||
appendNode('url', '[email protected]:dehora/nakadi-java.git') | ||
} | ||
appendNode('licenses').with { | ||
appendNode('license').with { | ||
appendNode('name', 'MIT License') | ||
appendNode('url', 'https://mit-license.org/') | ||
} | ||
} | ||
} | ||
|
@@ -42,6 +46,12 @@ publishing { | |
dependencyNode.appendNode('artifactId', it.name) | ||
dependencyNode.appendNode('version', it.version) | ||
} | ||
|
||
def developersNode = asNode().appendNode('developers') | ||
def developerNode = developersNode.appendNode('developer') | ||
developerNode.appendNode('id', developerId) | ||
developerNode.appendNode('email', developerEmail) | ||
developerNode.appendNode('name', developerName) | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,15 +42,19 @@ publishing { | |
|
||
pom.withXml { | ||
|
||
def _name = project.name.toString() | ||
|
||
asNode().with { | ||
appendNode('url', 'https://github.com/dehora/nakadi-java') | ||
appendNode('description', 'Client driver zign support') | ||
appendNode('name', _name) | ||
appendNode('description', 'Client driver support') | ||
appendNode('scm').with { | ||
appendNode('url', '[email protected]:dehora/nakadi-java.git') | ||
} | ||
appendNode('licenses').with { | ||
appendNode('license').with { | ||
appendNode('name', 'MIT License') | ||
appendNode('url', 'https://mit-license.org/') | ||
} | ||
} | ||
} | ||
|
@@ -62,6 +66,12 @@ publishing { | |
dependencyNode.appendNode('artifactId', it.name) | ||
dependencyNode.appendNode('version', it.version) | ||
} | ||
|
||
def developersNode = asNode().appendNode('developers') | ||
def developerNode = developersNode.appendNode('developer') | ||
developerNode.appendNode('id', developerId) | ||
developerNode.appendNode('email', developerEmail) | ||
developerNode.appendNode('name', developerName) | ||
} | ||
} | ||
} | ||
|