diff --git a/spring-cloud-data-flow/apache-spark-job/pom.xml b/spring-cloud-data-flow/apache-spark-job/pom.xml
index 65a57671ea..a4816a30ba 100644
--- a/spring-cloud-data-flow/apache-spark-job/pom.xml
+++ b/spring-cloud-data-flow/apache-spark-job/pom.xml
@@ -22,16 +22,6 @@
org.apache.spark
spark-core_${scala.version}
${spark.version}
-
-
- log4j
- log4j
-
-
- org.slf4j
- slf4j-log4j12
-
-
diff --git a/spring-cloud-data-flow/apache-spark-job/src/main/java/com/baeldung/spring/cloud/PiApproximation.java b/spring-cloud-data-flow/apache-spark-job/src/main/java/com/baeldung/spring/cloud/PiApproximation.java
index dfead21728..3f7c3be678 100644
--- a/spring-cloud-data-flow/apache-spark-job/src/main/java/com/baeldung/spring/cloud/PiApproximation.java
+++ b/spring-cloud-data-flow/apache-spark-job/src/main/java/com/baeldung/spring/cloud/PiApproximation.java
@@ -13,7 +13,7 @@ import java.util.stream.IntStream;
public class PiApproximation {
public static void main(String[] args) {
- SparkConf conf = new SparkConf().setAppName("BaeldungPIApproximation");
+ SparkConf conf = new SparkConf().setAppName("BaeldungPIApproximation").setMaster("local[2]");
JavaSparkContext context = new JavaSparkContext(conf);
int slices = args.length >= 1 ? Integer.valueOf(args[0]) : 2;
int n = (100000L * slices) > Integer.MAX_VALUE ? Integer.MAX_VALUE : 100000 * slices;
diff --git a/spring-cloud-data-flow/batch-job/pom.xml b/spring-cloud-data-flow/batch-job/pom.xml
index e11df0df8e..6b02b000e1 100644
--- a/spring-cloud-data-flow/batch-job/pom.xml
+++ b/spring-cloud-data-flow/batch-job/pom.xml
@@ -11,9 +11,8 @@
com.baeldung
- parent-boot-1
+ spring-cloud-data-flow
0.0.1-SNAPSHOT
- ../../parent-boot-1
@@ -21,7 +20,7 @@
org.springframework.cloud
spring-cloud-dependencies
- Brixton.SR5
+ Hoxton.SR4
pom
import
@@ -31,8 +30,7 @@
org.springframework.cloud
- spring-cloud-task-starter
- ${spring-cloud-task-starter.version}
+ spring-cloud-starter-task
@@ -48,7 +46,7 @@
- 1.0.3.RELEASE
+ 2.2.3.RELEASE
diff --git a/spring-cloud-data-flow/pom.xml b/spring-cloud-data-flow/pom.xml
index e2a0664f30..5b516146ae 100644
--- a/spring-cloud-data-flow/pom.xml
+++ b/spring-cloud-data-flow/pom.xml
@@ -9,8 +9,9 @@
com.baeldung
- parent-modules
- 1.0.0-SNAPSHOT
+ parent-boot-2
+ 0.0.1-SNAPSHOT
+ ../parent-boot-2
diff --git a/spring-cloud-data-flow/spring-cloud-data-flow-etl/customer-mongodb-sink/pom.xml b/spring-cloud-data-flow/spring-cloud-data-flow-etl/customer-mongodb-sink/pom.xml
index 9fd378b171..43772505a4 100644
--- a/spring-cloud-data-flow/spring-cloud-data-flow-etl/customer-mongodb-sink/pom.xml
+++ b/spring-cloud-data-flow/spring-cloud-data-flow-etl/customer-mongodb-sink/pom.xml
@@ -9,9 +9,8 @@
com.baeldung
- parent-boot-2
+ spring-cloud-data-flow-etl
0.0.1-SNAPSHOT
- ../../../parent-boot-2
@@ -63,7 +62,7 @@
UTF-8
UTF-8
- Greenwich.RELEASE
+ Hoxton.SR4
diff --git a/spring-cloud-data-flow/spring-cloud-data-flow-etl/customer-transform/pom.xml b/spring-cloud-data-flow/spring-cloud-data-flow-etl/customer-transform/pom.xml
index fdec22f3b3..f0d18a1c4f 100644
--- a/spring-cloud-data-flow/spring-cloud-data-flow-etl/customer-transform/pom.xml
+++ b/spring-cloud-data-flow/spring-cloud-data-flow-etl/customer-transform/pom.xml
@@ -9,9 +9,8 @@
com.baeldung
- parent-boot-2
+ spring-cloud-data-flow-etl
0.0.1-SNAPSHOT
- ../../../parent-boot-2
@@ -55,7 +54,7 @@
UTF-8
UTF-8
- Greenwich.RELEASE
+ Hoxton.SR4
diff --git a/spring-cloud-data-flow/spring-cloud-data-flow-stream-processing/log-sink/pom.xml b/spring-cloud-data-flow/spring-cloud-data-flow-stream-processing/log-sink/pom.xml
index 02d572aeb7..186e5b1886 100644
--- a/spring-cloud-data-flow/spring-cloud-data-flow-stream-processing/log-sink/pom.xml
+++ b/spring-cloud-data-flow/spring-cloud-data-flow-stream-processing/log-sink/pom.xml
@@ -10,9 +10,8 @@
com.baeldung
- parent-boot-1
+ spring-cloud-data-flow-stream-processing
0.0.1-SNAPSHOT
- ../../../parent-boot-1
@@ -35,7 +34,7 @@
- Brixton.SR7
+ Hoxton.SR4
diff --git a/spring-cloud-data-flow/spring-cloud-data-flow-stream-processing/pom.xml b/spring-cloud-data-flow/spring-cloud-data-flow-stream-processing/pom.xml
index 5342049d73..e794287e10 100644
--- a/spring-cloud-data-flow/spring-cloud-data-flow-stream-processing/pom.xml
+++ b/spring-cloud-data-flow/spring-cloud-data-flow-stream-processing/pom.xml
@@ -2,6 +2,7 @@
4.0.0
+ com.baeldung
spring-cloud-data-flow-stream-processing
0.0.1-SNAPSHOT
spring-cloud-data-flow-stream-processing
@@ -9,9 +10,8 @@
com.baeldung
- parent-modules
- 1.0.0-SNAPSHOT
- ../../
+ spring-cloud-data-flow
+ 0.0.1-SNAPSHOT
@@ -21,5 +21,13 @@
time-processor
log-sink
+
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+ test
+
+
diff --git a/spring-cloud-data-flow/spring-cloud-data-flow-stream-processing/time-processor/pom.xml b/spring-cloud-data-flow/spring-cloud-data-flow-stream-processing/time-processor/pom.xml
index f8db434423..b4ad84cfe9 100644
--- a/spring-cloud-data-flow/spring-cloud-data-flow-stream-processing/time-processor/pom.xml
+++ b/spring-cloud-data-flow/spring-cloud-data-flow-stream-processing/time-processor/pom.xml
@@ -10,9 +10,8 @@
com.baeldung
- parent-boot-1
+ spring-cloud-data-flow-stream-processing
0.0.1-SNAPSHOT
- ../../../parent-boot-1
@@ -35,7 +34,7 @@
- Brixton.SR7
+ Hoxton.SR4
diff --git a/spring-cloud-data-flow/spring-cloud-data-flow-stream-processing/time-source/pom.xml b/spring-cloud-data-flow/spring-cloud-data-flow-stream-processing/time-source/pom.xml
index 8194755814..05908d3c52 100644
--- a/spring-cloud-data-flow/spring-cloud-data-flow-stream-processing/time-source/pom.xml
+++ b/spring-cloud-data-flow/spring-cloud-data-flow-stream-processing/time-source/pom.xml
@@ -2,6 +2,7 @@
4.0.0
+ com.baeldung.spring.cloud
time-source
0.0.1-SNAPSHOT
time-source
@@ -10,9 +11,8 @@
com.baeldung
- parent-boot-1
+ spring-cloud-data-flow-stream-processing
0.0.1-SNAPSHOT
- ../../../parent-boot-1
@@ -35,7 +35,7 @@
- Brixton.SR7
+ Hoxton.SR4
diff --git a/spring-cloud/spring-cloud-stream-starters/twitterhdfs/pom.xml b/spring-cloud/spring-cloud-stream-starters/twitterhdfs/pom.xml
index 1cfbf7e7c8..c9a73b9aa1 100644
--- a/spring-cloud/spring-cloud-stream-starters/twitterhdfs/pom.xml
+++ b/spring-cloud/spring-cloud-stream-starters/twitterhdfs/pom.xml
@@ -9,10 +9,10 @@
jar
- com.baeldung
- parent-boot-1
- 0.0.1-SNAPSHOT
- ../../../parent-boot-1
+ org.springframework.boot
+ spring-boot-starter-parent
+ 2.1.13.RELEASE
+
@@ -32,6 +32,11 @@
javax.servlet
jstl
+
+ org.springframework.boot
+ spring-boot-starter-test
+ test
+
@@ -45,7 +50,7 @@
- 1.3.1.RELEASE
+ 2.1.2.RELEASE
\ No newline at end of file