[ https://issues.apache.org/jira/browse/FLINK-3832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16178296#comment-16178296 ]
ASF GitHub Bot commented on FLINK-3832: --------------------------------------- GitHub user yew1eb opened a pull request: https://github.com/apache/flink/pull/4718 [FLINK-3832][build] POM Cleanup flink-streaming-scala ## What is the purpose of the change This PR changes the flink-streaming-scala pom to - not contain unused dependencies - contain all used dependencies ## Brief change log ## Verifying this change _mvn dependency:analyze_ ``` [INFO] --- maven-dependency-plugin:2.10:analyze (default-cli) @ flink-streaming-scala_2.11 --- [WARNING] Used undeclared dependencies found: [WARNING] org.apache.flink:flink-core:jar:1.4-SNAPSHOT:compile [WARNING] com.esotericsoftware.kryo:kryo:jar:2.24.0:compile [WARNING] org.apache.flink:flink-test-utils-junit:jar:1.4-SNAPSHOT:test [WARNING] org.apache.flink:flink-annotations:jar:1.4-SNAPSHOT:compile [WARNING] org.apache.flink:flink-runtime_2.11:jar:1.4-SNAPSHOT:compile [WARNING] org.apache.flink:flink-java:jar:1.4-SNAPSHOT:compile [WARNING] Unused declared dependencies found: [WARNING] org.hamcrest:hamcrest-all:jar:1.3:test [WARNING] org.apache.flink:force-shading:jar:1.4-SNAPSHOT:compile [WARNING] com.google.code.findbugs:jsr305:jar:1.3.9:compile [WARNING] log4j:log4j:jar:1.2.17:test [WARNING] org.powermock:powermock-api-mockito:jar:1.6.5:test [WARNING] org.slf4j:slf4j-log4j12:jar:1.7.7:test [WARNING] org.scala-lang:scala-compiler:jar:2.11.11:compile [WARNING] org.powermock:powermock-module-junit4:jar:1.6.5:test [WARNING] org.mockito:mockito-all:jar:1.10.19:test [WARNING] org.scala-lang:scala-reflect:jar:2.11.11:compile [WARNING] org.slf4j:slf4j-api:jar:1.7.7:compile [WARNING] org.apache.flink:flink-runtime_2.11:test-jar:tests:1.4-SNAPSHOT:test ``` After the change: ``` [INFO] --- maven-dependency-plugin:2.10:analyze (default-cli) @ flink-streaming-scala_2.11 --- [WARNING] Unused declared dependencies found: [WARNING] org.hamcrest:hamcrest-all:jar:1.3:test [WARNING] org.apache.flink:force-shading:jar:1.4-SNAPSHOT:compile [WARNING] org.powermock:powermock-module-junit4:jar:1.6.5:test [WARNING] com.google.code.findbugs:jsr305:jar:1.3.9:compile [WARNING] log4j:log4j:jar:1.2.17:test [WARNING] org.mockito:mockito-all:jar:1.10.19:test [WARNING] org.powermock:powermock-api-mockito:jar:1.6.5:test [WARNING] org.slf4j:slf4j-api:jar:1.7.7:compile [WARNING] org.slf4j:slf4j-log4j12:jar:1.7.7:test ``` ## Does this pull request potentially affect one of the following parts: - Dependencies (does it add or upgrade a dependency): (yes) ## Documentation none You can merge this pull request into a Git repository by running: $ git pull https://github.com/yew1eb/flink FLINK-3832 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/4718.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #4718 ---- commit 8e0ff9db6c1b9c0896655135c1fdf2240d9bc3f4 Author: yew1eb <yew...@gmail.com> Date: 2017-09-24T18:06:34Z POM Cleanup flink-streaming-scala ---- > flink-streaming-scala > --------------------- > > Key: FLINK-3832 > URL: https://issues.apache.org/jira/browse/FLINK-3832 > Project: Flink > Issue Type: Sub-task > Components: Build System > Reporter: Till Rohrmann > Assignee: Hai Zhou_UTC+8 > > [INFO] --- maven-dependency-plugin:2.10:analyze (default-cli) @ > flink-streaming-scala_2.11 --- > [WARNING] Used undeclared dependencies found: > [WARNING] org.apache.flink:flink-core:jar:1.4-SNAPSHOT:compile > [WARNING] com.esotericsoftware.kryo:kryo:jar:2.24.0:compile > [WARNING] org.apache.flink:flink-test-utils-junit:jar:1.4-SNAPSHOT:test > [WARNING] org.apache.flink:flink-annotations:jar:1.4-SNAPSHOT:compile > [WARNING] org.apache.flink:flink-runtime_2.11:jar:1.4-SNAPSHOT:compile > [WARNING] org.apache.flink:flink-java:jar:1.4-SNAPSHOT:compile > [WARNING] Unused declared dependencies found: > [WARNING] org.hamcrest:hamcrest-all:jar:1.3:test > [WARNING] org.apache.flink:force-shading:jar:1.4-SNAPSHOT:compile > [WARNING] com.google.code.findbugs:jsr305:jar:1.3.9:compile > [WARNING] log4j:log4j:jar:1.2.17:test > [WARNING] org.powermock:powermock-api-mockito:jar:1.6.5:test > [WARNING] org.slf4j:slf4j-log4j12:jar:1.7.7:test > [WARNING] org.scala-lang:scala-compiler:jar:2.11.11:compile > [WARNING] org.powermock:powermock-module-junit4:jar:1.6.5:test > [WARNING] org.mockito:mockito-all:jar:1.10.19:test > [WARNING] org.scala-lang:scala-reflect:jar:2.11.11:compile > [WARNING] org.slf4j:slf4j-api:jar:1.7.7:compile > [WARNING] > org.apache.flink:flink-runtime_2.11:test-jar:tests:1.4-SNAPSHOT:test -- This message was sent by Atlassian JIRA (v6.4.14#64029)