-
Notifications
You must be signed in to change notification settings - Fork 4.5k
[BEAM-154] Use dependencyManagement and pluginManagement to keep all … #267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
pom.xml
Outdated
| <executions> | ||
| <execution> | ||
| <id>attach-sources</id> | ||
| <phase>compile</phase> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we attach this to a later phase, such as package, to speed up compile?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, let me do it.
|
One little thought: if we are moving to one common |
|
It's what I'm planning once the checkstyle errors will be fixed (I'm working on it). Actually, I plan to define some plugin by default, and a BOM for the dependencies. This is the first step. |
|
LGTM to get the big picture setup and forward-fix any little things, but I think Davor will probably want to take a close look. R: @davorbonaci |
|
Yup, thanks for the review @kennknowles ! Much appreciated ! |
pom.xml
Outdated
| <dependencyManagement> | ||
| <dependencies> | ||
|
|
||
| <!-- Beam SDK --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd probably remove these comments, because we aren't consistent (some artifacts have it and others don't), and they aren't particularly informative.
I'd leave comment at the beginning of the testing scope section, and those that describe the exclusions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It makes sense, let me do it.
|
This is a great improvement! Separately, I think we should think about build speed and potentially adjust plugins to make sure things are optimized for the development workflow, while the CI tools execute everything. We can defer this to a later point. |
runners/flink/examples/pom.xml
Outdated
| <plugin> | ||
| <groupId>org.apache.maven.plugins</groupId> | ||
| <artifactId>maven-source-plugin</artifactId> | ||
| </plugin> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's enough to include this in the root Flink Runner pom.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea, let me update this way.
|
Rebased and updated according to the comments. |
|
LGTM, modulo resolution of the comment regarding google-http-client-jackson's exclusion of transitive dependencies. |
|
+1 from me as well. Perhaps we could add the minimum version check to the project pom but it is not super pressing. |
|
Agree: I will put the enforcer on the main parent pom. |
…modules sync in term of version
|
Rebased and updated according to the comments. FYI, checkstyle and enforcer will be submitted in other PRs. |
|
LGTM. Merge in progress. |
|
Awesome thanks ! |
Upgrade kafka to 1.0.0
… runners (#23164) * Updated typescript_tests workflow (#178) Co-authored-by: Elias Segundo <elias.segundo@luisrazo.local> * Added master changes in typescript_tests to avoid merge conflicts * Updated typescript_xlang_tests job to runs-on self-hosted ubuntu runner. * Switching trigger to pull_request (#267) * Switching trigger to pull_request * Removing ref from checkout Co-authored-by: Elias Segundo Antonio <eliassegundo.segundo@gmail.com> Co-authored-by: Elias Segundo <elias.segundo@luisrazo.local> Co-authored-by: elink22 <103056145+elink22@users.noreply.github.com>
… runners (apache#23164) * Updated typescript_tests workflow (apache#178) Co-authored-by: Elias Segundo <elias.segundo@luisrazo.local> * Added master changes in typescript_tests to avoid merge conflicts * Updated typescript_xlang_tests job to runs-on self-hosted ubuntu runner. * Switching trigger to pull_request (apache#267) * Switching trigger to pull_request * Removing ref from checkout Co-authored-by: Elias Segundo Antonio <eliassegundo.segundo@gmail.com> Co-authored-by: Elias Segundo <elias.segundo@luisrazo.local> Co-authored-by: elink22 <103056145+elink22@users.noreply.github.com>
Be sure to do all of the following to help us incorporate your contribution
quickly and easily:
[BEAM-<Jira issue #>] Description of pull requestmvn clean verify. (Even better, enableTravis-CI on your fork and ensure the whole test matrix passes).
<Jira issue #>in the title with the actual Jira issuenumber, if there is one.
Individual Contributor License Agreement.
Use of dependencyManagement and pluginManagement to align versions between modules.
There's checkstyle errors in several modules, I will fix in new commits.