From 98897efcfb0988a29fa3b6c0f1217e4fbcf3425c Mon Sep 17 00:00:00 2001 From: Sean Katz Date: Wed, 26 Aug 2015 11:33:33 +0300 Subject: [PATCH 1/2] Adding developer fields: Email, Org & Org-URL --- README.md | 3 +++ gradle-mvn-push.gradle | 3 +++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index fa10c57..9debedb 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,9 @@ POM_LICENCE_URL=http://www.apache.org/licenses/LICENSE-2.0.txt POM_LICENCE_DIST=repo POM_DEVELOPER_ID=chrisbanes POM_DEVELOPER_NAME=Chris Banes +POM_DEVELOPER_EMAIL=Sample@email.com [Optional] +POM_DEVELOPER_ORGANIZATION=Org Name [Optional] +POM_DEVELOPER_ORGANIZATION_URL=https://github.com/chrisbanes/ [Optional] ``` The `VERSION_NAME` value is important. If it contains the keyword `SNAPSHOT` then the build will upload to the snapshot server, if not then to the release server. diff --git a/gradle-mvn-push.gradle b/gradle-mvn-push.gradle index f5f4129..b989c3c 100644 --- a/gradle-mvn-push.gradle +++ b/gradle-mvn-push.gradle @@ -80,6 +80,9 @@ afterEvaluate { project -> developer { id POM_DEVELOPER_ID name POM_DEVELOPER_NAME + email POM_DEVELOPER_EMAIL + organization POM_DEVELOPER_ORGANIZATION + organizationUrl POM_DEVELOPER_ORGANIZATION_URL } } } From 289a7a1e238b2668580b8cbe274491e3884e531b Mon Sep 17 00:00:00 2001 From: Sean Katz Date: Wed, 26 Aug 2015 11:46:24 +0300 Subject: [PATCH 2/2] Removing the optional prompt --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9debedb..3eee4c7 100644 --- a/README.md +++ b/README.md @@ -42,9 +42,9 @@ POM_LICENCE_URL=http://www.apache.org/licenses/LICENSE-2.0.txt POM_LICENCE_DIST=repo POM_DEVELOPER_ID=chrisbanes POM_DEVELOPER_NAME=Chris Banes -POM_DEVELOPER_EMAIL=Sample@email.com [Optional] -POM_DEVELOPER_ORGANIZATION=Org Name [Optional] -POM_DEVELOPER_ORGANIZATION_URL=https://github.com/chrisbanes/ [Optional] +POM_DEVELOPER_EMAIL=Sample@email.com +POM_DEVELOPER_ORGANIZATION=Org Name +POM_DEVELOPER_ORGANIZATION_URL=https://github.com/chrisbanes/ ``` The `VERSION_NAME` value is important. If it contains the keyword `SNAPSHOT` then the build will upload to the snapshot server, if not then to the release server.