Details
-
Bug
-
Status: Resolved
-
P3
-
Resolution: Duplicate
-
None
-
None
Description
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
Attachments
Issue Links
- duplicates
-
BEAM-2179 Archetype generate-sources.sh should delete old files
- Resolved
- links to