From d994ce9e93b5bb795ea695a731e2520e1a96db83 Mon Sep 17 00:00:00 2001 From: Sylwester Lachiewicz Date: Sat, 6 Jan 2024 20:33:27 +0100 Subject: [PATCH] Reformat code with spotless plugin --- pom.xml | 90 +-- .../mojo/cassandra/AbstractCassandraMojo.java | 556 +++++++++--------- .../mojo/cassandra/AbstractCqlExecMojo.java | 24 +- .../mojo/cassandra/AbstractCqlLoadMojo.java | 25 +- .../AbstractSchemaCassandraMojo.java | 18 +- .../mojo/cassandra/CassandraMonitor.java | 68 +-- .../mojo/cassandra/CleanupCassandraMojo.java | 28 +- .../mojo/cassandra/CompactCassandraMojo.java | 28 +- .../mojo/cassandra/ConsoleScanner.java | 66 +-- .../mojo/cassandra/CqlExecCassandraMojo.java | 132 ++--- .../mojo/cassandra/CqlExecutionException.java | 16 +- .../codehaus/mojo/cassandra/CqlOperation.java | 1 - .../mojo/cassandra/DeleteCassandraMojo.java | 30 +- .../cassandra/DropColumnFamiliesMojo.java | 20 +- .../mojo/cassandra/FlushCassandraMojo.java | 27 +- .../mojo/cassandra/LoadCassandraMojo.java | 9 +- .../mojo/cassandra/MavenLogOutputStream.java | 10 +- .../mojo/cassandra/RepairCassandraMojo.java | 28 +- .../mojo/cassandra/RunCassandraMojo.java | 70 +-- .../cassandra/StartCassandraClusterMojo.java | 134 ++--- .../mojo/cassandra/StartCassandraMojo.java | 67 +-- .../cassandra/StopCassandraClusterMojo.java | 37 +- .../mojo/cassandra/StopCassandraMojo.java | 25 +- .../mojo/cassandra/TruncateCassandraMojo.java | 42 +- .../org/codehaus/mojo/cassandra/Utils.java | 73 +-- .../cassandra/AbstractCqlExecMojoTest.java | 15 +- .../CqlExecCassandraMojoBuilder.java | 4 +- .../CqlExecCassandraMojoPowerMockTest.java | 28 +- .../cassandra/CqlExecCassandraMojoTest.java | 35 +- .../cassandra/CqlExecutionExceptionTest.java | 31 +- 30 files changed, 776 insertions(+), 961 deletions(-) diff --git a/pom.xml b/pom.xml index faceddc..212dde6 100644 --- a/pom.xml +++ b/pom.xml @@ -1,5 +1,4 @@ - - 4.0.0 @@ -34,8 +32,8 @@ under the License. Mojo's Cassandra Maven Plugin The Mojo Projects plugin for Apache Maven to allow launching a local Apache Cassandra instance from a Maven build - 2011 https://www.mojohaus.org/cassandra-maven-plugin/ + 2011 Apache License 2 @@ -88,8 +86,8 @@ under the License. scm:git:https://github.com/mojohaus/cassandra-maven-plugin.git scm:git:https://github.com/mojohaus/cassandra-maven-plugin.git - https://github.com/mojohaus/cassandra-maven-plugin HEAD + https://github.com/mojohaus/cassandra-maven-plugin github @@ -106,6 +104,16 @@ under the License. 2023-12-31T19:39:02Z + + + + org.slf4j + slf4j-api + ${slf4jVersion} + + + + org.apache.cassandra @@ -211,6 +219,12 @@ under the License. maven-plugin-testing-harness 3.3.0 test + + + plexus-container-default + org.codehaus.plexus + + org.codehaus.plexus @@ -278,32 +292,6 @@ under the License. - - - org.apache.maven.plugins - maven-failsafe-plugin - - - - integration-test - verify - - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - - cpu-count - - - - - @@ -335,18 +323,34 @@ under the License. + + + org.apache.maven.plugins + maven-failsafe-plugin + + + + integration-test + verify + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + + cpu-count + + + + + - - - - org.slf4j - slf4j-api - ${slf4jVersion} - - - -