diff --git a/flink-batch-connectors/flink-avro/pom.xml b/flink-batch-connectors/flink-avro/pom.xml
index e9c6499d43c34..9906c48f152f1 100644
--- a/flink-batch-connectors/flink-avro/pom.xml
+++ b/flink-batch-connectors/flink-avro/pom.xml
@@ -30,7 +30,7 @@ under the License.
..
- flink-avro
+ flink-avro_2.10
flink-avro
jar
@@ -45,7 +45,7 @@ under the License.
org.apache.flink
- flink-clients
+ flink-clients_2.10
${project.version}
@@ -65,7 +65,7 @@ under the License.
org.apache.flink
- flink-test-utils
+ flink-test-utils_2.10
${project.version}
test
diff --git a/flink-batch-connectors/flink-hadoop-compatibility/pom.xml b/flink-batch-connectors/flink-hadoop-compatibility/pom.xml
index d98729a2091f3..549bf04e8abbe 100644
--- a/flink-batch-connectors/flink-hadoop-compatibility/pom.xml
+++ b/flink-batch-connectors/flink-hadoop-compatibility/pom.xml
@@ -29,7 +29,7 @@ under the License.
..
- flink-hadoop-compatibility
+ flink-hadoop-compatibility_2.10
flink-hadoop-compatibility
jar
@@ -43,7 +43,7 @@ under the License.
org.apache.flink
- flink-clients
+ flink-clients_2.10
${project.version}
@@ -55,13 +55,13 @@ under the License.
org.apache.flink
- flink-tests
+ flink-tests_2.10
${project.version}
test
org.apache.flink
- flink-test-utils
+ flink-test-utils_2.10
${project.version}
test
diff --git a/flink-batch-connectors/flink-hbase/pom.xml b/flink-batch-connectors/flink-hbase/pom.xml
index ba4cf852ddf2e..ad08457320e23 100644
--- a/flink-batch-connectors/flink-hbase/pom.xml
+++ b/flink-batch-connectors/flink-hbase/pom.xml
@@ -29,7 +29,7 @@ under the License.
..
- flink-hbase
+ flink-hbase_2.10
flink-hbase
jar
@@ -59,13 +59,13 @@ under the License.
org.apache.flink
- flink-streaming-java
+ flink-streaming-java_2.10
${project.version}
org.apache.flink
- flink-clients
+ flink-clients_2.10
${project.version}
test
@@ -78,13 +78,13 @@ under the License.
org.apache.flink
- flink-hadoop-compatibility
+ flink-hadoop-compatibility_2.10
${project.version}
test
org.apache.flink
- flink-shaded-include-yarn
+ flink-shaded-include-yarn_2.10
diff --git a/flink-clients/pom.xml b/flink-clients/pom.xml
index f81dbc00385f2..a8841a2b2e0ba 100644
--- a/flink-clients/pom.xml
+++ b/flink-clients/pom.xml
@@ -30,7 +30,7 @@ under the License.
..
- flink-clients
+ flink-clients_2.10
flink-clients
jar
@@ -52,13 +52,13 @@ under the License.
org.apache.flink
- flink-runtime
+ flink-runtime_2.10
${project.version}
org.apache.flink
- flink-optimizer
+ flink-optimizer_2.10
${project.version}
diff --git a/flink-contrib/flink-connector-wikiedits/pom.xml b/flink-contrib/flink-connector-wikiedits/pom.xml
index 5e4e6d46859a5..1ae4cb8bd3d02 100644
--- a/flink-contrib/flink-connector-wikiedits/pom.xml
+++ b/flink-contrib/flink-connector-wikiedits/pom.xml
@@ -29,7 +29,7 @@ under the License.
..
- flink-connector-wikiedits
+ flink-connector-wikiedits_2.10
flink-connector-wikiedits
jar
@@ -37,7 +37,7 @@ under the License.
org.apache.flink
- flink-streaming-java
+ flink-streaming-java_2.10
${project.version}
diff --git a/flink-contrib/flink-operator-stats/pom.xml b/flink-contrib/flink-operator-stats/pom.xml
index 9e2c7bcbdc68b..2e4230eaf37cc 100644
--- a/flink-contrib/flink-operator-stats/pom.xml
+++ b/flink-contrib/flink-operator-stats/pom.xml
@@ -28,7 +28,7 @@ under the License.
..
- flink-operator-stats
+ flink-operator-stats_2.10
flink-operator-stats
jar
@@ -46,7 +46,7 @@ under the License.
org.apache.flink
- flink-test-utils
+ flink-test-utils_2.10
${project.version}
test
diff --git a/flink-contrib/flink-storm-examples/pom.xml b/flink-contrib/flink-storm-examples/pom.xml
index 61cab70958e1c..921fa6249bc40 100644
--- a/flink-contrib/flink-storm-examples/pom.xml
+++ b/flink-contrib/flink-storm-examples/pom.xml
@@ -29,7 +29,7 @@ under the License.
..
- flink-storm-examples
+ flink-storm-examples_2.10
flink-storm-examples
jar
@@ -37,19 +37,19 @@ under the License.
org.apache.flink
- flink-storm
+ flink-storm_2.10
${project.version}
org.apache.flink
- flink-examples-batch
+ flink-examples-batch_2.10
${project.version}
org.apache.flink
- flink-streaming-java
+ flink-streaming-java_2.10
${project.version}
test
test-jar
@@ -57,7 +57,7 @@ under the License.
org.apache.flink
- flink-test-utils
+ flink-test-utils_2.10
${project.version}
test
@@ -89,7 +89,7 @@ under the License.
org.apache.flink
- flink-examples-batch
+ flink-examples-batch_2.10
${project.version}
jar
false
@@ -98,7 +98,7 @@ under the License.
org.apache.flink
- flink-storm
+ flink-storm_2.10
${project.version}
jar
false
@@ -282,8 +282,8 @@ under the License.
org.yaml:snakeyaml
com.googlecode.json-simple:json-simple
- org.apache.flink:flink-storm
- org.apache.flink:flink-storm-examples
+ org.apache.flink:flink-storm_2.10
+ org.apache.flink:flink-storm-examples_2.10
@@ -308,7 +308,7 @@ under the License.
- org.apache.flink:flink-storm-examples
+ org.apache.flink:flink-storm-examples_2.10
org/apache/flink/storm/wordcount/WordCountRemoteBySubmitter.class
org/apache/flink/storm/wordcount/WordCountTopology.class
@@ -318,7 +318,7 @@ under the License.
- org.apache.flink:flink-storm
+ org.apache.flink:flink-storm_2.10
org/apache/flink/storm/api/*.class
org/apache/flink/storm/util/*.class
diff --git a/flink-contrib/flink-storm/pom.xml b/flink-contrib/flink-storm/pom.xml
index a48716ade4524..6c5c33984e923 100644
--- a/flink-contrib/flink-storm/pom.xml
+++ b/flink-contrib/flink-storm/pom.xml
@@ -29,7 +29,7 @@ under the License.
..
- flink-storm
+ flink-storm_2.10
flink-storm
jar
@@ -44,7 +44,7 @@ under the License.
org.apache.flink
- flink-streaming-java
+ flink-streaming-java_2.10
${project.version}
diff --git a/flink-contrib/flink-streaming-contrib/pom.xml b/flink-contrib/flink-streaming-contrib/pom.xml
index 487a59591450c..e60833413d3ab 100644
--- a/flink-contrib/flink-streaming-contrib/pom.xml
+++ b/flink-contrib/flink-streaming-contrib/pom.xml
@@ -31,7 +31,7 @@ under the License.
..
- flink-streaming-contrib
+ flink-streaming-contrib_2.10
flink-streaming-contrib
jar
@@ -39,23 +39,23 @@ under the License.
org.apache.flink
- flink-streaming-java
+ flink-streaming-java_2.10
${project.version}
org.apache.flink
- flink-clients
+ flink-clients_2.10
${project.version}
org.apache.flink
- flink-test-utils
+ flink-test-utils_2.10
${project.version}
test
org.apache.flink
- flink-tests
+ flink-tests_2.10
${project.version}
test-jar
test
diff --git a/flink-contrib/flink-tweet-inputformat/pom.xml b/flink-contrib/flink-tweet-inputformat/pom.xml
index 12e6c9e0bab66..2403f955c04be 100644
--- a/flink-contrib/flink-tweet-inputformat/pom.xml
+++ b/flink-contrib/flink-tweet-inputformat/pom.xml
@@ -31,7 +31,7 @@ under the License.
..
- flink-tweet-inputformat
+ flink-tweet-inputformat_2.10
flink-tweet-inputformat
jar
@@ -44,12 +44,12 @@ under the License.
org.apache.flink
- flink-clients
+ flink-clients_2.10
${project.version}
org.apache.flink
- flink-test-utils
+ flink-test-utils_2.10
${project.version}
test
diff --git a/flink-dist/pom.xml b/flink-dist/pom.xml
index 7c2b839ce0beb..b30df075c34c0 100644
--- a/flink-dist/pom.xml
+++ b/flink-dist/pom.xml
@@ -29,7 +29,7 @@ under the License.
..
- flink-dist
+ flink-dist_2.10
flink-dist
jar
@@ -49,61 +49,61 @@ under the License.
org.apache.flink
- flink-scala
+ flink-scala_2.10
${project.version}
org.apache.flink
- flink-runtime
+ flink-runtime_2.10
${project.version}
org.apache.flink
- flink-runtime-web
+ flink-runtime-web_2.10
${project.version}
org.apache.flink
- flink-optimizer
+ flink-optimizer_2.10
${project.version}
org.apache.flink
- flink-clients
+ flink-clients_2.10
${project.version}
org.apache.flink
- flink-avro
+ flink-avro_2.10
${project.version}
org.apache.flink
- flink-streaming-java
+ flink-streaming-java_2.10
${project.version}
org.apache.flink
- flink-streaming-scala
+ flink-streaming-scala_2.10
${project.version}
org.apache.flink
- flink-python
+ flink-python_2.10
${project.version}
org.apache.flink
- flink-scala-shell
+ flink-scala-shell_2.10
${project.version}
@@ -122,7 +122,7 @@ under the License.
org.apache.flink
- flink-yarn
+ flink-yarn_2.10
${project.version}
diff --git a/flink-dist/src/main/assemblies/bin.xml b/flink-dist/src/main/assemblies/bin.xml
index c28f01a4609e3..b54c3cd8bcf19 100644
--- a/flink-dist/src/main/assemblies/bin.xml
+++ b/flink-dist/src/main/assemblies/bin.xml
@@ -39,7 +39,7 @@ under the License.
true
- org.apache.flink:flink-python
+ org.apache.flink:flink-python_2.10
org.slf4j:slf4j-log4j12
log4j:log4j
@@ -49,7 +49,7 @@ under the License.
- target/flink-dist-${project.version}.jar
+ target/flink-dist_2.10-${project.version}.jar
lib/
0644
diff --git a/flink-examples/flink-examples-batch/pom.xml b/flink-examples/flink-examples-batch/pom.xml
index d18a6f15ac4eb..094dd92ab2067 100644
--- a/flink-examples/flink-examples-batch/pom.xml
+++ b/flink-examples/flink-examples-batch/pom.xml
@@ -23,12 +23,12 @@ under the License.
org.apache.flink
- flink-examples
+ flink-examples_2.10
1.0-SNAPSHOT
..
- flink-examples-batch
+ flink-examples-batch_2.10
flink-examples-batch
jar
@@ -41,7 +41,7 @@ under the License.
org.apache.flink
- flink-scala
+ flink-scala_2.10
${project.version}
@@ -381,14 +381,14 @@ under the License.
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
diff --git a/flink-examples/flink-examples-streaming/pom.xml b/flink-examples/flink-examples-streaming/pom.xml
index 30f23438b12ff..ba49dc5d5b2cf 100644
--- a/flink-examples/flink-examples-streaming/pom.xml
+++ b/flink-examples/flink-examples-streaming/pom.xml
@@ -24,12 +24,12 @@ under the License.
org.apache.flink
- flink-examples
+ flink-examples_2.10
1.0-SNAPSHOT
..
- flink-examples-streaming
+ flink-examples-streaming_2.10
flink-examples-streaming
jar
@@ -37,31 +37,31 @@ under the License.
org.apache.flink
- flink-streaming-java
+ flink-streaming-java_2.10
${project.version}
org.apache.flink
- flink-streaming-scala
+ flink-streaming-scala_2.10
${project.version}
org.apache.flink
- flink-examples-batch
+ flink-examples-batch_2.10
${project.version}
org.apache.flink
- flink-connector-twitter
+ flink-connector-twitter_2.10
${project.version}
org.apache.flink
- flink-streaming-java
+ flink-streaming-java_2.10
${project.version}
test
test-jar
@@ -69,7 +69,7 @@ under the License.
org.apache.flink
- flink-test-utils
+ flink-test-utils_2.10
${project.version}
test
@@ -121,7 +121,7 @@ under the License.
org.apache.flink
- flink-examples-batch
+ flink-examples-batch_2.10
${project.version}
jar
false
@@ -131,7 +131,7 @@ under the License.
org.apache.flink
- flink-connector-twitter
+ flink-connector-twitter_2.10
${project.version}
jar
false
@@ -508,15 +508,15 @@ under the License.
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
diff --git a/flink-examples/pom.xml b/flink-examples/pom.xml
index ace7ec250ebc9..a5b95fa07f72f 100644
--- a/flink-examples/pom.xml
+++ b/flink-examples/pom.xml
@@ -28,7 +28,7 @@ under the License.
..
- flink-examples
+ flink-examples_2.10
flink-examples
pom
@@ -41,7 +41,7 @@ under the License.
org.apache.flink
- flink-clients
+ flink-clients_2.10
${project.version}
diff --git a/flink-fs-tests/pom.xml b/flink-fs-tests/pom.xml
index f8a2c3f6add46..020eb1d939264 100644
--- a/flink-fs-tests/pom.xml
+++ b/flink-fs-tests/pom.xml
@@ -27,7 +27,7 @@ under the License.
..
- flink-fs-tests
+ flink-fs-tests_2.10
flink-fs-tests
jar
@@ -52,28 +52,28 @@ under the License.
org.apache.flink
- flink-streaming-java
+ flink-streaming-java_2.10
${project.version}
test
org.apache.flink
- flink-examples-batch
+ flink-examples-batch_2.10
${project.version}
test
org.apache.flink
- flink-avro
+ flink-avro_2.10
${project.version}
test
org.apache.flink
- flink-test-utils
+ flink-test-utils_2.10
${project.version}
test
diff --git a/flink-java8/pom.xml b/flink-java8/pom.xml
index 3daba932ded41..b434642be6e65 100644
--- a/flink-java8/pom.xml
+++ b/flink-java8/pom.xml
@@ -30,7 +30,7 @@ under the License.
..
- flink-java8
+ flink-java8_2.10
flink-java8
jar
@@ -48,7 +48,7 @@ under the License.
org.apache.flink
- flink-test-utils
+ flink-test-utils_2.10
${project.version}
@@ -60,13 +60,13 @@ under the License.
org.apache.flink
- flink-streaming-java
+ flink-streaming-java_2.10
${project.version}
org.apache.flink
- flink-examples-batch
+ flink-examples-batch_2.10
${project.version}
@@ -117,7 +117,7 @@ under the License.
org.apache.flink
- flink-examples-batch
+ flink-examples-batch_2.10
${project.version}
jar
false
diff --git a/flink-libraries/flink-gelly-scala/pom.xml b/flink-libraries/flink-gelly-scala/pom.xml
index fce73463a41a0..d8a842ec9a88a 100644
--- a/flink-libraries/flink-gelly-scala/pom.xml
+++ b/flink-libraries/flink-gelly-scala/pom.xml
@@ -28,14 +28,15 @@ under the License.
4.0.0
- flink-gelly-scala
+ flink-gelly-scala_2.10
+ flink-gelly-scala
jar
org.apache.flink
- flink-scala
+ flink-scala_2.10
${project.version}
org.apache.flink
- flink-test-utils
+ flink-test-utils_2.10
${project.version}
test
diff --git a/flink-scala/pom.xml b/flink-scala/pom.xml
index d30dad6fd8b1c..5694e2fd4f2ac 100644
--- a/flink-scala/pom.xml
+++ b/flink-scala/pom.xml
@@ -28,7 +28,7 @@ under the License.
..
- flink-scala
+ flink-scala_2.10
flink-scala
jar
@@ -47,7 +47,7 @@ under the License.
org.apache.flink
- flink-optimizer
+ flink-optimizer_2.10
${project.version}
@@ -80,7 +80,7 @@ under the License.
org.apache.flink
- flink-test-utils
+ flink-test-utils_2.10
${project.version}
test
diff --git a/flink-shaded-hadoop/flink-shaded-hadoop1/pom.xml b/flink-shaded-hadoop/flink-shaded-hadoop1/pom.xml
index e1f6e5805bbad..15082aa3880b8 100644
--- a/flink-shaded-hadoop/flink-shaded-hadoop1/pom.xml
+++ b/flink-shaded-hadoop/flink-shaded-hadoop1/pom.xml
@@ -29,7 +29,7 @@ under the License.
..
- flink-shaded-hadoop1
+ flink-shaded-hadoop1_2.10
flink-shaded-hadoop1
jar
diff --git a/flink-streaming-connectors/flink-connector-elasticsearch/pom.xml b/flink-streaming-connectors/flink-connector-elasticsearch/pom.xml
index c43ca2086a7a6..1c792388d2169 100644
--- a/flink-streaming-connectors/flink-connector-elasticsearch/pom.xml
+++ b/flink-streaming-connectors/flink-connector-elasticsearch/pom.xml
@@ -30,7 +30,7 @@ under the License.
..
- flink-connector-elasticsearch
+ flink-connector-elasticsearch_2.10
flink-connector-elasticsearch
jar
@@ -44,7 +44,7 @@ under the License.
org.apache.flink
- flink-streaming-java
+ flink-streaming-java_2.10
${project.version}
@@ -62,7 +62,7 @@ under the License.
org.apache.flink
- flink-streaming-java
+ flink-streaming-java_2.10
${project.version}
test
test-jar
@@ -70,14 +70,14 @@ under the License.
org.apache.flink
- flink-tests
+ flink-tests_2.10
${project.version}
test
org.apache.flink
- flink-test-utils
+ flink-test-utils_2.10
${project.version}
test
diff --git a/flink-streaming-connectors/flink-connector-filesystem/pom.xml b/flink-streaming-connectors/flink-connector-filesystem/pom.xml
index f4a2a2ea8a44d..6e8169d564252 100644
--- a/flink-streaming-connectors/flink-connector-filesystem/pom.xml
+++ b/flink-streaming-connectors/flink-connector-filesystem/pom.xml
@@ -30,7 +30,7 @@ under the License.
..
- flink-connector-filesystem
+ flink-connector-filesystem_2.10
flink-connector-filesystem
jar
@@ -43,7 +43,7 @@ under the License.
org.apache.flink
- flink-streaming-java
+ flink-streaming-java_2.10
${project.version}
@@ -61,7 +61,7 @@ under the License.
org.apache.flink
- flink-streaming-java
+ flink-streaming-java_2.10
${project.version}
test
test-jar
@@ -69,7 +69,7 @@ under the License.
org.apache.flink
- flink-tests
+ flink-tests_2.10
${project.version}
test
test-jar
@@ -77,7 +77,7 @@ under the License.
org.apache.flink
- flink-test-utils
+ flink-test-utils_2.10
${project.version}
test
@@ -85,7 +85,7 @@ under the License.
org.apache.flink
- flink-runtime
+ flink-runtime_2.10
test
test-jar
${project.version}
diff --git a/flink-streaming-connectors/flink-connector-flume/pom.xml b/flink-streaming-connectors/flink-connector-flume/pom.xml
index e6c357a18480e..1af6991f91786 100644
--- a/flink-streaming-connectors/flink-connector-flume/pom.xml
+++ b/flink-streaming-connectors/flink-connector-flume/pom.xml
@@ -30,7 +30,7 @@ under the License.
..
- flink-connector-flume
+ flink-connector-flume_2.10
flink-connector-flume
jar
@@ -44,7 +44,7 @@ under the License.
org.apache.flink
- flink-streaming-java
+ flink-streaming-java_2.10
${project.version}
diff --git a/flink-streaming-connectors/flink-connector-kafka-0.8/pom.xml b/flink-streaming-connectors/flink-connector-kafka-0.8/pom.xml
index c6367f959579d..0b23994d14763 100644
--- a/flink-streaming-connectors/flink-connector-kafka-0.8/pom.xml
+++ b/flink-streaming-connectors/flink-connector-kafka-0.8/pom.xml
@@ -30,7 +30,7 @@ under the License.
..
- flink-connector-kafka-0.8
+ flink-connector-kafka-0.8_2.10
flink-connector-kafka-0.8
jar
@@ -44,13 +44,13 @@ under the License.
org.apache.flink
- flink-connector-kafka-base
+ flink-connector-kafka-base_2.10
${project.version}
org.apache.flink
- flink-connector-kafka-base
+ flink-connector-kafka-base_2.10
${project.version}
test-jar
test
@@ -59,7 +59,7 @@ under the License.
org.apache.flink
- flink-streaming-java
+ flink-streaming-java_2.10
${project.version}
@@ -128,14 +128,14 @@ under the License.
org.apache.flink
- flink-test-utils
+ flink-test-utils_2.10
${project.version}
test
org.apache.flink
- flink-tests
+ flink-tests_2.10
${project.version}
test-jar
test
diff --git a/flink-streaming-connectors/flink-connector-kafka-0.9/pom.xml b/flink-streaming-connectors/flink-connector-kafka-0.9/pom.xml
index c60cc13f5bd6c..c9391efd6cf42 100644
--- a/flink-streaming-connectors/flink-connector-kafka-0.9/pom.xml
+++ b/flink-streaming-connectors/flink-connector-kafka-0.9/pom.xml
@@ -30,7 +30,7 @@ under the License.
..
- flink-connector-kafka-0.9
+ flink-connector-kafka-0.9_2.10
flink-connector-kafka-0.9
jar
@@ -44,7 +44,7 @@ under the License.
org.apache.flink
- flink-connector-kafka-base
+ flink-connector-kafka-base_2.10
${project.version}
@@ -56,7 +56,7 @@ under the License.
org.apache.flink
- flink-connector-kafka-base
+ flink-connector-kafka-base_2.10
${project.version}
@@ -86,7 +86,7 @@ under the License.
org.apache.flink
- flink-tests
+ flink-tests_2.10
${project.version}
test-jar
test
@@ -94,7 +94,7 @@ under the License.
org.apache.flink
- flink-streaming-java
+ flink-streaming-java_2.10
${project.version}
@@ -107,7 +107,7 @@ under the License.
org.apache.flink
- flink-test-utils
+ flink-test-utils_2.10
${project.version}
test
diff --git a/flink-streaming-connectors/flink-connector-kafka-base/pom.xml b/flink-streaming-connectors/flink-connector-kafka-base/pom.xml
index e5d40789418ba..9d0b394a2d31f 100644
--- a/flink-streaming-connectors/flink-connector-kafka-base/pom.xml
+++ b/flink-streaming-connectors/flink-connector-kafka-base/pom.xml
@@ -30,7 +30,7 @@ under the License.
..
- flink-connector-kafka-base
+ flink-connector-kafka-base_2.10
flink-connector-kafka-base
jar
@@ -44,7 +44,7 @@ under the License.
org.apache.flink
- flink-streaming-java
+ flink-streaming-java_2.10
${project.version}
@@ -115,7 +115,7 @@ under the License.
org.apache.flink
- flink-tests
+ flink-tests_2.10
${project.version}
test-jar
test
@@ -123,7 +123,7 @@ under the License.
org.apache.flink
- flink-test-utils
+ flink-test-utils_2.10
${project.version}
test
diff --git a/flink-streaming-connectors/flink-connector-nifi/pom.xml b/flink-streaming-connectors/flink-connector-nifi/pom.xml
index 10da7f58817e3..ae59a2d54e842 100644
--- a/flink-streaming-connectors/flink-connector-nifi/pom.xml
+++ b/flink-streaming-connectors/flink-connector-nifi/pom.xml
@@ -30,7 +30,7 @@ under the License.
..
- flink-connector-nifi
+ flink-connector-nifi_2.10
flink-connector-nifi
jar
@@ -48,25 +48,25 @@ under the License.
org.apache.flink
- flink-streaming-java
+ flink-streaming-java_2.10
${project.version}
org.apache.flink
- flink-streaming-java
+ flink-streaming-java_2.10
${project.version}
test
test-jar
org.apache.flink
- flink-tests
+ flink-tests_2.10
${project.version}
test
org.apache.flink
- flink-test-utils
+ flink-test-utils_2.10
${project.version}
test
diff --git a/flink-streaming-connectors/flink-connector-rabbitmq/pom.xml b/flink-streaming-connectors/flink-connector-rabbitmq/pom.xml
index 39e2bb029a184..58b845959882d 100644
--- a/flink-streaming-connectors/flink-connector-rabbitmq/pom.xml
+++ b/flink-streaming-connectors/flink-connector-rabbitmq/pom.xml
@@ -30,7 +30,7 @@ under the License.
..
- flink-connector-rabbitmq
+ flink-connector-rabbitmq_2.10
flink-connector-rabbitmq
jar
@@ -44,7 +44,7 @@ under the License.
org.apache.flink
- flink-streaming-java
+ flink-streaming-java_2.10
${project.version}
diff --git a/flink-streaming-connectors/flink-connector-twitter/pom.xml b/flink-streaming-connectors/flink-connector-twitter/pom.xml
index 5477415845ea1..22b36287bad7d 100644
--- a/flink-streaming-connectors/flink-connector-twitter/pom.xml
+++ b/flink-streaming-connectors/flink-connector-twitter/pom.xml
@@ -30,7 +30,7 @@ under the License.
..
- flink-connector-twitter
+ flink-connector-twitter_2.10
flink-connector-twitter
jar
@@ -39,7 +39,7 @@ under the License.
org.apache.flink
- flink-streaming-java
+ flink-streaming-java_2.10
${project.version}
diff --git a/flink-streaming-java/pom.xml b/flink-streaming-java/pom.xml
index c32a58b759e77..60e305d5c4099 100644
--- a/flink-streaming-java/pom.xml
+++ b/flink-streaming-java/pom.xml
@@ -29,7 +29,7 @@ under the License.
..
- flink-streaming-java
+ flink-streaming-java_2.10
flink-streaming-java
jar
@@ -44,13 +44,13 @@ under the License.
org.apache.flink
- flink-runtime
+ flink-runtime_2.10
${project.version}
org.apache.flink
- flink-clients
+ flink-clients_2.10
${project.version}
@@ -62,7 +62,7 @@ under the License.
org.apache.flink
- flink-test-utils
+ flink-test-utils_2.10
${project.version}
test
diff --git a/flink-streaming-scala/pom.xml b/flink-streaming-scala/pom.xml
index 2792d837d960c..5f36dce0975e1 100644
--- a/flink-streaming-scala/pom.xml
+++ b/flink-streaming-scala/pom.xml
@@ -28,20 +28,20 @@ under the License.
..
- flink-streaming-scala
+ flink-streaming-scala_2.10
flink-streaming-scala
jar
org.apache.flink
- flink-streaming-java
+ flink-streaming-java_2.10
${project.version}
org.apache.flink
- flink-scala
+ flink-scala_2.10
${project.version}
@@ -75,7 +75,7 @@ under the License.
org.apache.flink
- flink-tests
+ flink-tests_2.10
${project.version}
test
test-jar
@@ -84,7 +84,7 @@ under the License.
org.apache.flink
- flink-test-utils
+ flink-test-utils_2.10
${project.version}
test
@@ -92,7 +92,7 @@ under the License.
org.apache.flink
- flink-streaming-java
+ flink-streaming-java_2.10
${project.version}
test
test-jar
diff --git a/flink-test-utils/pom.xml b/flink-test-utils/pom.xml
index b5b8403b5996c..b9b81a6da9d7f 100644
--- a/flink-test-utils/pom.xml
+++ b/flink-test-utils/pom.xml
@@ -29,7 +29,7 @@ under the License.
..
- flink-test-utils
+ flink-test-utils_2.10
flink-test-utils
jar
@@ -42,12 +42,12 @@ under the License.
org.apache.flink
- flink-optimizer
+ flink-optimizer_2.10
${project.version}
org.apache.flink
- flink-runtime
+ flink-runtime_2.10
${project.version}
@@ -58,13 +58,13 @@ under the License.
org.apache.flink
- flink-runtime
+ flink-runtime_2.10
${project.version}
test-jar
org.apache.flink
- flink-clients
+ flink-clients_2.10
${project.version}
diff --git a/flink-tests/pom.xml b/flink-tests/pom.xml
index 22c03513737cf..fe34aea157018 100644
--- a/flink-tests/pom.xml
+++ b/flink-tests/pom.xml
@@ -30,7 +30,7 @@ under the License.
..
- flink-tests
+ flink-tests_2.10
flink-tests
jar
@@ -46,28 +46,28 @@ under the License.
org.apache.flink
- flink-optimizer
+ flink-optimizer_2.10
${project.version}
test
org.apache.flink
- flink-runtime
+ flink-runtime_2.10
${project.version}
test
org.apache.flink
- flink-runtime-web
+ flink-runtime-web_2.10
${project.version}
test
org.apache.flink
- flink-clients
+ flink-clients_2.10
${project.version}
test
@@ -81,28 +81,28 @@ under the License.
org.apache.flink
- flink-scala
+ flink-scala_2.10
${project.version}
test
org.apache.flink
- flink-streaming-java
+ flink-streaming-java_2.10
${project.version}
test
org.apache.flink
- flink-test-utils
+ flink-test-utils_2.10
${project.version}
test
org.apache.flink
- flink-examples-batch
+ flink-examples-batch_2.10
${project.version}
test
@@ -125,7 +125,7 @@ under the License.
org.apache.flink
- flink-optimizer
+ flink-optimizer_2.10
${project.version}
test-jar
test
@@ -133,7 +133,7 @@ under the License.
org.apache.flink
- flink-runtime
+ flink-runtime_2.10
${project.version}
test-jar
test
diff --git a/flink-yarn-tests/pom.xml b/flink-yarn-tests/pom.xml
index 5954327050d6b..f19c6c87f763f 100644
--- a/flink-yarn-tests/pom.xml
+++ b/flink-yarn-tests/pom.xml
@@ -33,7 +33,7 @@ under the License.
We need the YARN fat jar build by flink-dist for the tests.
-->
- flink-yarn-tests
+ flink-yarn-tests_2.10
flink-yarn-tests
jar
@@ -41,32 +41,32 @@ under the License.
org.apache.flink
- flink-runtime
+ flink-runtime_2.10
${project.version}
org.apache.flink
- flink-clients
+ flink-clients_2.10
${project.version}
org.apache.flink
- flink-streaming-java
+ flink-streaming-java_2.10
${project.version}
org.apache.flink
- flink-yarn
+ flink-yarn_2.10
${project.version}
org.apache.flink
- flink-test-utils
+ flink-test-utils_2.10
${project.version}
diff --git a/flink-yarn/pom.xml b/flink-yarn/pom.xml
index c2487034fac2a..fcb3dc62cadca 100644
--- a/flink-yarn/pom.xml
+++ b/flink-yarn/pom.xml
@@ -27,14 +27,14 @@ under the License.
..
- flink-yarn
+ flink-yarn_2.10
flink-yarn
jar
org.apache.flink
- flink-runtime
+ flink-runtime_2.10
${project.version}
@@ -46,7 +46,7 @@ under the License.
org.apache.flink
- flink-clients
+ flink-clients_2.10
${project.version}
@@ -58,7 +58,7 @@ under the License.
org.apache.flink
- flink-test-utils
+ flink-test-utils_2.10
${project.version}
test
diff --git a/pom.xml b/pom.xml
index bad12da328c12..1f1a772b1885b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -407,7 +407,7 @@ under the License.
${hadoop-one.version}
- flink-shaded-hadoop1
+ flink-shaded-hadoop1_2.10
flink-shaded-hadoop1
diff --git a/tools/change-scala-version.sh b/tools/change-scala-version.sh
index 4956a144ff0db..cfe355dacd593 100755
--- a/tools/change-scala-version.sh
+++ b/tools/change-scala-version.sh
@@ -47,11 +47,11 @@ check_scala_version() {
check_scala_version "$TO_VERSION"
if [ $TO_VERSION = "2.11" ]; then
- FROM_SUFFIX=""
- TO_SUFFIX="_2.11"
+ FROM_SUFFIX="_2\.10"
+ TO_SUFFIX="_2\.11"
else
FROM_SUFFIX="_2\.11"
- TO_SUFFIX=""
+ TO_SUFFIX="_2\.10"
fi
sed_i() {