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

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

                Author: ASF GitHub Bot
            Created on: 11/Jul/18 15:42
            Start Date: 11/Jul/18 15:42
    Worklog Time Spent: 10m 
      Work Description: lukecwik closed pull request #5928: [BEAM-4764] Fix 
missing reference to project to be able to refer to the zipTree method.
URL: https://github.com/apache/beam/pull/5928
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

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 49147654ba9..80e94f3a7dd 100644
--- a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
+++ b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
@@ -1329,7 +1329,7 @@ artifactId=${project.name}
         inputs.files project.configurations.shadowTest.artifacts.files
         doLast {
           (project.configurations.shadow.artifacts.files + 
project.configurations.shadowTest.artifacts.files).each {
-            FileTree exposedClasses = zipTree(it).matching {
+            FileTree exposedClasses = project.zipTree(it).matching {
               include "**/*.class"
               exclude "org/apache/beam/**"
             }


 

----------------------------------------------------------------
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:
us...@infra.apache.org


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

    Worklog Id:     (was: 121928)
    Time Spent: 20m  (was: 10m)

> Task 
> :beam-model-fn-execution:validateShadedJarDoesntLeakNonOrgApacheBeamClasses 
> broken
> ---------------------------------------------------------------------------------------
>
>                 Key: BEAM-4764
>                 URL: https://issues.apache.org/jira/browse/BEAM-4764
>             Project: Beam
>          Issue Type: Bug
>          Components: build-system
>            Reporter: Henning Rohde
>            Assignee: Luke Cwik
>            Priority: Blocker
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Running from head with no changes:
> $ ./gradlew build
> [...]
> > Task :beam-sdks-java-harness:compileJava
> Note: 
> /Users/herohde/go/src/github.com/apache/beam/sdks/java/harness/src/main/java/org/apache/beam/fn/harness/state/FnApiStateAccessor.java
>  uses or overrides a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> > Task 
> > :beam-model-fn-execution:validateShadedJarDoesntLeakNonOrgApacheBeamClasses 
> > FAILED
> > Task :beam-sdks-go:resolveBuildDependencies
> Resolving google.golang.org/api: 
> commit='386d4e5f4f92f86e6aec85985761bba4b938a2d5', 
> urls=[https://code.googlesource.com/google-api-go-client]
> > Task :beam-sdks-go:resolveBuildDependencies
> Resolving google.golang.org/genproto: 
> commit='2b5a72b8730b0b16380010cfe5286c42108d88e7', 
> urls=[https://github.com/google/go-genproto]
> Resolving google.golang.org/grpc: 
> commit='7646b5360d049a7ca31e9133315db43456f39e2e', 
> urls=[https://github.com/grpc/grpc-go]
> Resolving cached github.com/coreos/etcd: 
> commit='11214aa33bf5a47d3d9d8dafe0f6b97237dfe921', 
> urls=[https://github.com/coreos/etcd.git, g...@github.com:coreos/etcd.git]
> Resolving cached github.com/coreos/etcd: 
> commit='11214aa33bf5a47d3d9d8dafe0f6b97237dfe921', 
> urls=[https://github.com/coreos/etcd.git, g...@github.com:coreos/etcd.git]
> FAILURE: Build failed with an exception.
> * What went wrong:
> Execution failed for task 
> ':beam-model-fn-execution:validateShadedJarDoesntLeakNonOrgApacheBeamClasses'.
> > Could not find method zipTree() for arguments 
> > [/Users/herohde/go/src/github.com/apache/beam/model/fn-execution/build/libs/beam-model-fn-execution-2.6.0-SNAPSHOT-shaded.jar]
> >  on task 
> > ':beam-model-fn-execution:validateShadedJarDoesntLeakNonOrgApacheBeamClasses'
> >  of type org.gradle.api.DefaultTask.
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or 
> --debug option to get more log output. Run with --scan to get full insights.
> * Get more help at https://help.gradle.org
> Deprecated Gradle features were used in this build, making it incompatible 
> with Gradle 5.0.
> See 
> https://docs.gradle.org/4.8/userguide/command_line_interface.html#sec:command_line_warnings
> BUILD FAILED in 4m 7s
> 119 actionable tasks: 88 executed, 6 from cache, 25 up-to-date



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

Reply via email to