[
https://issues.apache.org/jira/browse/BEAM-2280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Baptiste Onofré resolved BEAM-2280.
----------------------------------------
Resolution: Duplicate
Fix Version/s: Not applicable
> 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
> Fix For: Not applicable
>
>
> 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)