Skip to content

Conversation

@bjchambers
Copy link
Contributor

These commits make the following changes to improve reliability of mvn verify and interaction with IDEs:

  1. Add some casts that were causing complaints.
  2. Use separate modules for Java 8 tests (subverted from @kennknowles) and examples (following same pattern).
  3. Stop adding the JAR to the surefire tests, since we have the classes anyways.

bchambers and others added 4 commits March 17, 2016 11:12
This allows easy setting of the compiler source and target version to
1.8 without any fragile plugin configuration. It also allows the
import into Eclipse to easily set separate compliance levels, as this
is done per-Eclipse-project.
This allows easy setting of the compiler source and target version to
1.8 without any fragile plugin configuration. It also allows the
import into Eclipse to easily set separate compliance levels, as this
is done per-Eclipse-project.

This parallels the approach taken with tests to support java 8.

Also fixed some Checkstyle and unused variable warnings in the examples.
These were previously hidden since the code wasn't in a directory like
`src/{main,test}/java`. The warnings got fixed while I had the files
open.
The class files are already available in the tests.

This required moving the Avro plugin to the regular generate-sources
phase. Running it during generate-test-sources was removing the META-INF
from the target/classes directory, which caused test failures due to
removing the generated auto-services definitions.
@bjchambers
Copy link
Contributor Author

R: @kennknowles

*
* <p> Run {@link injector.Injector} to generate pubsub data for this pipeline. The Injector
* documentation provides more detail.
* <p> Run {@literal com.google.cloud.dataflow.examples.complete.game.injector.Injector} to generate
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@code. I'll fix up when merging.

@kennknowles
Copy link
Member

LGTM. I'll wait for CI and then merge.

@asfgit asfgit merged commit e607237 into apache:master Mar 17, 2016
asfgit pushed a commit that referenced this pull request Mar 17, 2016
@bjchambers bjchambers deleted the fix-build branch March 17, 2016 20:53
@davorbonaci
Copy link
Member

We need to fix this up a little -- this is polluting the top-level directory structure.

I think examples/java/... and examples/java8/... would have been a better choice.

iemejia referenced this pull request in iemejia/beam Jan 12, 2018
axelmagn pushed a commit to axelmagn/beam that referenced this pull request Apr 9, 2018
Fix window assignments in the Flink portable runner
alnzng pushed a commit to alnzng/beam that referenced this pull request Dec 25, 2022
* Samza runner support for non unique stateId across multiple ParDos (apache#24276)

* Update version
pl04351820 pushed a commit to pl04351820/beam that referenced this pull request Dec 20, 2023
* feat: integrate limit_to_last changes from apache#57 to async

* fix: whitespace in docs

* fix: whitespace in docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants