You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by th...@apache.org on 2018/08/15 19:27:21 UTC

[beam] branch master updated (e2583f5 -> 51f8a29)

This is an automated email from the ASF dual-hosted git repository.

thw pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git.


    from e2583f5  [BEAM-5145] Make PTransform names stable in Join/CoGroupByKey
     new efeb37b  Allow custom server ID for publishing Java artifacts.
     new 51f8a29  Add option to skip signing of release artifacts via -PnoSigning for third-party builds.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy   | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)


[beam] 01/02: Allow custom server ID for publishing Java artifacts.

Posted by th...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

thw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git

commit efeb37b8a58d7c6a3dfc7df4c066462f559f9715
Author: Thomas Weise <th...@apache.org>
AuthorDate: Wed Aug 15 07:23:43 2018 -0700

    Allow custom server ID for publishing Java artifacts.
---
 .../src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
index 5503e6b..630602d 100644
--- a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
+++ b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
@@ -836,7 +836,8 @@ artifactId=${project.name}
               // </settings>
               def settingsXml = new File(System.getProperty('user.home'), '.m2/settings.xml')
               if (settingsXml.exists()) {
-                def serverId = (isRelease(project) ? 'apache.releases.https' : 'apache.snapshots.https')
+                def serverId = (project.properties['distMgmtServerId'] ?: isRelease(project)
+                        ? 'apache.releases.https' : 'apache.snapshots.https')
                 def m2SettingCreds = new XmlSlurper().parse(settingsXml).servers.server.find { server -> serverId.equals(server.id.text()) }
                 if (m2SettingCreds) {
                   credentials {


[beam] 02/02: Add option to skip signing of release artifacts via -PnoSigning for third-party builds.

Posted by th...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

thw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git

commit 51f8a297731bc94a5092337454ce00d3fd84c78e
Author: Thomas Weise <th...@apache.org>
AuthorDate: Wed Aug 15 10:49:06 2018 -0700

    Add option to skip signing of release artifacts via -PnoSigning for third-party builds.
---
 buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
index 630602d..6916ab1 100644
--- a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
+++ b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
@@ -975,7 +975,7 @@ artifactId=${project.name}
           }
         }
         // Only sign artifacts if we are performing a release
-        if (isRelease(project)) {
+        if (isRelease(project) && !project.hasProperty('noSigning')) {
           project.apply plugin: "signing"
           project.signing {
             useGpgCmd()