[ 
https://issues.apache.org/jira/browse/BEAM-4744?focusedWorklogId=122118&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-122118
 ]

ASF GitHub Bot logged work on BEAM-4744:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 12/Jul/18 00:58
            Start Date: 12/Jul/18 00:58
    Worklog Time Spent: 10m 
      Work Description: apilloud commented on a change in pull request #5936: 
[BEAM-4744] Enable parallel publishing/release
URL: https://github.com/apache/beam/pull/5936#discussion_r201881744
 
 

 ##########
 File path: 
buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
 ##########
 @@ -663,9 +662,14 @@ class BeamModulePlugin implements Plugin<Project> {
         testCompile.extendsFrom shadowTest
       }
 
+      project.jar {
+        classifier = "unshaded"
+        zip64 true
+      }
+
       // Always configure the shadowJar classifier and merge service files.
       project.shadowJar({
-        classifier = "shaded"
+        classifier = null
 
 Review comment:
   This will make @kennknowles happy I think.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 122118)
    Time Spent: 0.5h  (was: 20m)

> Jars are overwritten during release with -Ppublishing
> -----------------------------------------------------
>
>                 Key: BEAM-4744
>                 URL: https://issues.apache.org/jira/browse/BEAM-4744
>             Project: Beam
>          Issue Type: Bug
>          Components: build-system
>            Reporter: Mark Liu
>            Assignee: Alan Myrvold
>            Priority: Blocker
>             Fix For: 2.6.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> +cc [~pabloem] [~boyuanz] [~lukecwik]
> Few jars (*-shaded.jar and *-tests.jar) are missing if I run `./gradlew 
> -Ppublishing :publishToMavenLocal`. 
> However, I can get them through assemble and shadowJar. For example, 
> `./gradlew :beam-sdks-java-core:assemble :beam-sdks-java-core:shadowJar`.
> This could be the reason why we can't run parallel build during release.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to