From 52dfdfc753e0c379e01c525b3cabaa71d8815033 Mon Sep 17 00:00:00 2001 From: Ryan Skraba Date: Thu, 27 Jan 2022 11:14:02 +0100 Subject: [PATCH] refactor: Apply spotless --- core-scala/pom.xml | 10 +- core/pom.xml | 4 +- io-files/pom.xml | 10 +- pom.xml | 393 ++++++++++++++++++++++----------------------- 4 files changed, 205 insertions(+), 212 deletions(-) diff --git a/core-scala/pom.xml b/core-scala/pom.xml index a966b02..8165fb7 100644 --- a/core-scala/pom.xml +++ b/core-scala/pom.xml @@ -1,7 +1,5 @@ - + 4.0.0 @@ -13,13 +11,13 @@ beam-enchiridion-core-scala jar + Beam Enchiridion :: Core :: Scala + Beam core examples using Scala (but not scio). + false - Beam Enchiridion :: Core :: Scala - Beam core examples using Scala (but not scio). - com.skraba.beam.enchiridion diff --git a/core/pom.xml b/core/pom.xml index fd47ba7..d7ded6f 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -1,7 +1,5 @@ - + 4.0.0 diff --git a/io-files/pom.xml b/io-files/pom.xml index d5100d3..42c9756 100644 --- a/io-files/pom.xml +++ b/io-files/pom.xml @@ -1,7 +1,5 @@ - + 4.0.0 @@ -13,13 +11,13 @@ beam-enchiridion-io-files jar + Beam Enchiridion :: IO :: Files + Working with files. + false - Beam Enchiridion :: IO :: Files - Working with files. - org.apache.beam diff --git a/pom.xml b/pom.xml index 0a7c332..d940cfd 100644 --- a/pom.xml +++ b/pom.xml @@ -1,14 +1,19 @@ - + + 4.0.0 com.skraba.beam.enchiridion beam-enchiridion 0.0.1-SNAPSHOT + pom Beam Enchiridion :: Parent - pom + + + core + core-scala + io-files + @@ -53,72 +58,125 @@ 2.2 - - - - local-snapshots - - - local.snapshots - Local Snapshot Repository - file:///tmp//snapshots/ - - false - - - true - - - - + + + + + org.apache.beam + beam-runners-spark + ${beam.version} + + + org.apache.beam + beam-runners-direct-java + ${beam.version} + + + org.apache.beam + beam-sdks-java-core + ${beam.version} + + + org.apache.beam + beam-sdks-java-nexmark + ${beam.version} + + + org.apache.beam + beam-sdks-java-io-amazon-web-services + ${beam.version} + + + org.apache.hadoop + hadoop-common + ${hadoop.version} + + + org.apache.hadoop + hadoop-mapreduce-client-core + ${hadoop.version} + - - - apache-snapshots - - - apache.snapshots - Apache Development Snapshot Repository - https://repository.apache.org/content/repositories/snapshots/ - - false - - - true - - - - + + + org.scala-lang + scala-library + ${scala.version} + + + com.typesafe.play + play-json_${scala.minor.version} + ${play.json.version} + - - - apache-staging - - - apache.staging - Apache Development Staging Repository - https://repository.apache.org/content/repositories/staging/ - - true - - - - - - apache.staging - Apache Development Staging Repository - https://repository.apache.org/content/repositories/staging/ - - - - + + + junit + junit + ${junit4.version} + test + + + org.hamcrest + hamcrest-core + ${hamcrest.version} + test + + + org.hamcrest + hamcrest-library + ${hamcrest.version} + test + + + org.scalatest + scalatest_${scala.minor.version} + ${scalatest.version} + test + + + org.slf4j + slf4j-simple + ${slf4j.version} + test + + + + + + + + junit + junit + test + + + + org.apache.beam + beam-runners-direct-java + test + + + org.hamcrest + hamcrest-core + test + + + org.hamcrest + hamcrest-library + test + + + org.scalatest + scalatest_${scala.minor.version} + test + + + org.slf4j + slf4j-simple + test + + @@ -213,10 +271,10 @@ - package shade + package @@ -260,18 +318,18 @@ scala-compile-first - process-resources add-source compile + process-resources scala-test-compile - process-test-resources testCompile + process-test-resources @@ -283,8 +341,8 @@ ${plugin.spotless.version} - - + + @@ -348,91 +406,6 @@ - - - - - org.apache.beam - beam-runners-spark - ${beam.version} - - - org.apache.beam - beam-runners-direct-java - ${beam.version} - - - org.apache.beam - beam-sdks-java-core - ${beam.version} - - - org.apache.beam - beam-sdks-java-nexmark - ${beam.version} - - - org.apache.beam - beam-sdks-java-io-amazon-web-services - ${beam.version} - - - org.apache.hadoop - hadoop-common - ${hadoop.version} - - - org.apache.hadoop - hadoop-mapreduce-client-core - ${hadoop.version} - - - - - org.scala-lang - scala-library - ${scala.version} - - - com.typesafe.play - play-json_${scala.minor.version} - ${play.json.version} - - - - - junit - junit - ${junit4.version} - test - - - org.hamcrest - hamcrest-core - ${hamcrest.version} - test - - - org.hamcrest - hamcrest-library - ${hamcrest.version} - test - - - org.scalatest - scalatest_${scala.minor.version} - ${scalatest.version} - test - - - org.slf4j - slf4j-simple - ${slf4j.version} - test - - - - @@ -442,45 +415,71 @@ - - - - junit - junit - test - - - - org.apache.beam - beam-runners-direct-java - test - - - org.hamcrest - hamcrest-core - test - - - org.hamcrest - hamcrest-library - test - - - org.scalatest - scalatest_${scala.minor.version} - test - - - org.slf4j - slf4j-simple - test - - + + + + local-snapshots + + + + false + + + true + + local.snapshots + Local Snapshot Repository + file:///tmp//snapshots/ + + + - - core - core-scala - io-files - + + + apache-snapshots + + + + false + + + true + + apache.snapshots + Apache Development Snapshot Repository + https://repository.apache.org/content/repositories/snapshots/ + + + + + + + apache-staging + + + + true + + apache.staging + Apache Development Staging Repository + https://repository.apache.org/content/repositories/staging/ + + + + + apache.staging + Apache Development Staging Repository + https://repository.apache.org/content/repositories/staging/ + + + +