Update lf-maven-central macro docs and templates 81/14881/2
authorAnil Belur <abelur@linuxfoundation.org>
Wed, 13 Mar 2019 22:32:38 +0000 (08:32 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Wed, 13 Mar 2019 22:32:38 +0000 (08:32 +1000)
Update lf-maven-central macro docs and templates
with the missing required params.

The change 6a3a8fd3c9430a90f3b8c0c85e7e20b8a318eb8f
missed updating the docs and sample code.

Change-Id: I09b55bbf51cc3ef7c29d50b42e52982dc40e8f72
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
.jjb-test/lf-macros/lf-maven-central-minimal.yaml
docs/jjb/lf-macros.rst
releasenotes/notes/fix-lf-maven-central-macro-docs-ad43756dcd551c30.yaml [new file with mode: 0644]

index 5fb58b0..2a2f691 100644 (file)
@@ -7,6 +7,8 @@
     #####################
 
     mvn-central: true
+    mvn-global-settings: ''
+    mvn-settings: ''
     ossrh-profile-id: ''
 
     #####################
@@ -16,4 +18,6 @@
     builders:
       - lf-maven-central:
           mvn-central: '{mvn-central}'
+          mvn-global-settings: '{mvn-global-settings}'
+          mvn-settings: '{mvn-settings}'
           ossrh-profile-id: '{ossrh-profile-id}'
index 1d7a97b..94fcb1c 100644 (file)
@@ -180,6 +180,10 @@ repository which is to upload to OSSRH.
 :Required parameters:
 
     :mvn-central: Whether or not to upload to mvn-central. (true|false)
+    :mvn-global-settings: The name of the Maven global settings to use for
+        Maven configuration. (default: global-settings)
+    :mvn-settings: The name of settings file containing credentials for the
+        project.
     :ossrh-profile-id: Nexus staging profile ID as provided by OSSRH.
 
 .. literalinclude:: ../../.jjb-test/lf-macros/lf-maven-central-minimal.yaml
diff --git a/releasenotes/notes/fix-lf-maven-central-macro-docs-ad43756dcd551c30.yaml b/releasenotes/notes/fix-lf-maven-central-macro-docs-ad43756dcd551c30.yaml
new file mode 100644 (file)
index 0000000..5d3794f
--- /dev/null
@@ -0,0 +1,5 @@
+---
+fixes:
+  - |
+    Update the lf-maven-cental macro documentation and example templates with
+    the missing requireed params.