You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2020/08/05 16:44:16 UTC

[GitHub] [beam] tysonjh edited a comment on pull request #12416: Update google-api-services versions.

tysonjh edited a comment on pull request #12416:
URL: https://github.com/apache/beam/pull/12416#issuecomment-669303736


   > > Failed to publish publication 'mavenJava' to repository 'mavenLocal'
   > > > Invalid publication 'mavenJava': supplied version does not match POM file (cannot edit version directly in the POM file).
   > > 
   > > 
   > > Not sure what this means, will need to investigate unless you know.
   > 
   > May just need to run a ./gradlew clean (https://issues.apache.org/jira/browse/BEAM-9437). Trying that.
   
   What a mess. I spent a good amount of time, ~3hr or so, trying to get the beam-linkage-check.sh to work. I ran into numerous issues from a problem with the ':sdks:java:bom:publishMavenJavaPublicationToMavenLocal' task, problems building flink tests for 1.8 and 1.9, apex runner tasks executing even though the runner is gone, major/minor version mismatches in Java classes, unsupported errorprone versions. I reached out to a @lukecwik and @apilloud for help as well (thank you both).
   
   What worked in the end:
     * ensure using Java 8 (both binary and classpath)
     * a fresh new clone of apache/beam
   
   https://gist.github.com/tysonjh/d8d28689fc18b536b32498cb0fd27382


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org