You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Pei He (JIRA)" <ji...@apache.org> on 2017/05/12 12:44:04 UTC

[jira] [Updated] (BEAM-2280) Examples archetypes build fail when upgrading

     [ https://issues.apache.org/jira/browse/BEAM-2280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pei He updated BEAM-2280:
-------------------------
    Priority: Minor  (was: Major)

> Examples archetypes build fail when upgrading
> ---------------------------------------------
>
>                 Key: BEAM-2280
>                 URL: https://issues.apache.org/jira/browse/BEAM-2280
>             Project: Beam
>          Issue Type: Bug
>          Components: examples-java
>            Reporter: Pei He
>            Assignee: Pei He
>            Priority: Minor
>
> WriteWindowedFilesDoFn.java is removed in 2.0.0, but exists in previous versions.
> However, maven-archetypes/examples/generate-sources.sh only rsync existing files, and won't remove the leftover WriteWindowedFilesDoFn.java.
> So, if users have built the module in 0.6.0, after upgrading the built will fail unless WriteWindowedFilesDoFn.java is removed manually.
> LOG
> [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project basic: Compilation failure: Compilation failure:
> [INFO] [ERROR] /Users/peihe/github/beam/sdks/java/maven-archetypes/examples-java8/target/test-classes/projects/basic/project/basic/src/main/java/it/pkg/common/WriteWindowedFilesDoFn.java:[28,32] cannot find symbol
> [INFO] [ERROR] symbol:   class IOChannelFactory
> [INFO] [ERROR] location: package org.apache.beam.sdk.util
> [INFO] [ERROR] /Users/peihe/github/beam/sdks/java/maven-archetypes/examples-java8/target/test-classes/projects/basic/project/basic/src/main/java/it/pkg/common/WriteWindowedFilesDoFn.java:[29,32] cannot find symbol
> [INFO] [ERROR] symbol:   class IOChannelUtils
> [INFO] [ERROR] location: package org.apache.beam.sdk.util
> [INFO] [ERROR] -> [Help 1]
> [INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project basic: Compilation failure



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)