From 6c4d616a89c32eee7295bb40ddc5abaf9cc300f3 Mon Sep 17 00:00:00 2001 From: evanchooly Date: Fri, 1 Sep 2023 16:02:01 -0400 Subject: [PATCH] change version --- config/findbugs-exclude.xml | 0 integration-tests/pom.xml | 2 +- .../com/antwerkz/graven/maven/MavenProcessInvoker.java | 4 ++-- .../resources/maven/projects/doubleQuotes/build.gradle.kts | 2 -- .../kotlin/com/antwerkz/{build => graven}/DoubleQuotes.kt | 0 .../kotlin/com/antwerkz/{build => graven}/GradleDummy.kt | 4 +--- .../src/test/kotlin/com/antwerkz/build/DummyTest.kt | 4 +--- .../main/kotlin/com/antwerkz/graven/NoRegexSampleClass.kt} | 4 +--- .../main/kotlin/com/antwerkz/graven/PropertiesSampleClass.kt | 3 +++ .../src/main/kotlin/com/antwerkz/build/SampleClass.kt | 5 ----- .../src/main/kotlin/com/antwerkz/graven/SingleQuote.kt} | 4 +--- mojo/pom.xml | 2 +- pom.xml | 4 ++-- 13 files changed, 13 insertions(+), 25 deletions(-) create mode 100644 config/findbugs-exclude.xml rename integration-tests/src/test/resources/maven/projects/doubleQuotes/src/main/kotlin/com/antwerkz/{build => graven}/DoubleQuotes.kt (100%) rename integration-tests/src/test/resources/maven/projects/gradleInvoke/src/main/kotlin/com/antwerkz/{build => graven}/GradleDummy.kt (54%) rename integration-tests/src/test/resources/maven/projects/{properties/src/main/kotlin/com/antwerkz/build/SampleClass.kt => noRegex/src/main/kotlin/com/antwerkz/graven/NoRegexSampleClass.kt} (50%) create mode 100644 integration-tests/src/test/resources/maven/projects/properties/src/main/kotlin/com/antwerkz/graven/PropertiesSampleClass.kt delete mode 100644 integration-tests/src/test/resources/maven/projects/singleQuotes/src/main/kotlin/com/antwerkz/build/SampleClass.kt rename integration-tests/src/test/resources/maven/projects/{noRegex/src/main/kotlin/com/antwerkz/build/SampleClass.kt => singleQuotes/src/main/kotlin/com/antwerkz/graven/SingleQuote.kt} (54%) diff --git a/config/findbugs-exclude.xml b/config/findbugs-exclude.xml new file mode 100644 index 0000000..e69de29 diff --git a/integration-tests/pom.xml b/integration-tests/pom.xml index 96425e3..deb3986 100644 --- a/integration-tests/pom.xml +++ b/integration-tests/pom.xml @@ -7,7 +7,7 @@ com.antwerkz.graven graven-parent - 0.5.0-SNAPSHOT + 0.4.1-SNAPSHOT ../pom.xml diff --git a/integration-tests/src/test/kotlin/com/antwerkz/graven/maven/MavenProcessInvoker.java b/integration-tests/src/test/kotlin/com/antwerkz/graven/maven/MavenProcessInvoker.java index 6fb8b12..8eafed7 100644 --- a/integration-tests/src/test/kotlin/com/antwerkz/graven/maven/MavenProcessInvoker.java +++ b/integration-tests/src/test/kotlin/com/antwerkz/graven/maven/MavenProcessInvoker.java @@ -1,13 +1,13 @@ package com.antwerkz.graven.maven; +import java.io.File; + import org.apache.maven.shared.invoker.*; import org.apache.maven.shared.utils.cli.CommandLineException; import org.apache.maven.shared.utils.cli.Commandline; import org.apache.maven.shared.utils.cli.StreamConsumer; import org.apache.maven.shared.utils.cli.StreamPumper; -import java.io.File; - /** * An implementation of {@link DefaultInvoker} launching Maven, but does not wait for the termination of the process. * The launched process is passed in the {@link InvocationResult}. diff --git a/integration-tests/src/test/resources/maven/projects/doubleQuotes/build.gradle.kts b/integration-tests/src/test/resources/maven/projects/doubleQuotes/build.gradle.kts index 964603c..b47f155 100644 --- a/integration-tests/src/test/resources/maven/projects/doubleQuotes/build.gradle.kts +++ b/integration-tests/src/test/resources/maven/projects/doubleQuotes/build.gradle.kts @@ -1,5 +1,3 @@ -import jdk.tools.jlink.resources.plugins - buildscript { dependencies { classpath("org.apache.maven:maven-model:2.3.1") diff --git a/integration-tests/src/test/resources/maven/projects/doubleQuotes/src/main/kotlin/com/antwerkz/build/DoubleQuotes.kt b/integration-tests/src/test/resources/maven/projects/doubleQuotes/src/main/kotlin/com/antwerkz/graven/DoubleQuotes.kt similarity index 100% rename from integration-tests/src/test/resources/maven/projects/doubleQuotes/src/main/kotlin/com/antwerkz/build/DoubleQuotes.kt rename to integration-tests/src/test/resources/maven/projects/doubleQuotes/src/main/kotlin/com/antwerkz/graven/DoubleQuotes.kt diff --git a/integration-tests/src/test/resources/maven/projects/gradleInvoke/src/main/kotlin/com/antwerkz/build/GradleDummy.kt b/integration-tests/src/test/resources/maven/projects/gradleInvoke/src/main/kotlin/com/antwerkz/graven/GradleDummy.kt similarity index 54% rename from integration-tests/src/test/resources/maven/projects/gradleInvoke/src/main/kotlin/com/antwerkz/build/GradleDummy.kt rename to integration-tests/src/test/resources/maven/projects/gradleInvoke/src/main/kotlin/com/antwerkz/graven/GradleDummy.kt index a2c9e00..a781867 100644 --- a/integration-tests/src/test/resources/maven/projects/gradleInvoke/src/main/kotlin/com/antwerkz/build/GradleDummy.kt +++ b/integration-tests/src/test/resources/maven/projects/gradleInvoke/src/main/kotlin/com/antwerkz/graven/GradleDummy.kt @@ -1,5 +1,3 @@ package com.antwerkz.graven -class GradleDummy { - -} +class GradleDummy {} diff --git a/integration-tests/src/test/resources/maven/projects/gradleInvoke/src/test/kotlin/com/antwerkz/build/DummyTest.kt b/integration-tests/src/test/resources/maven/projects/gradleInvoke/src/test/kotlin/com/antwerkz/build/DummyTest.kt index 51b2759..35a8bc5 100644 --- a/integration-tests/src/test/resources/maven/projects/gradleInvoke/src/test/kotlin/com/antwerkz/build/DummyTest.kt +++ b/integration-tests/src/test/resources/maven/projects/gradleInvoke/src/test/kotlin/com/antwerkz/build/DummyTest.kt @@ -1,5 +1,3 @@ package com.antwerkz.graven -class DummyTest { - -} +class DummyTest {} diff --git a/integration-tests/src/test/resources/maven/projects/properties/src/main/kotlin/com/antwerkz/build/SampleClass.kt b/integration-tests/src/test/resources/maven/projects/noRegex/src/main/kotlin/com/antwerkz/graven/NoRegexSampleClass.kt similarity index 50% rename from integration-tests/src/test/resources/maven/projects/properties/src/main/kotlin/com/antwerkz/build/SampleClass.kt rename to integration-tests/src/test/resources/maven/projects/noRegex/src/main/kotlin/com/antwerkz/graven/NoRegexSampleClass.kt index 0e3304f..c1d3683 100644 --- a/integration-tests/src/test/resources/maven/projects/properties/src/main/kotlin/com/antwerkz/build/SampleClass.kt +++ b/integration-tests/src/test/resources/maven/projects/noRegex/src/main/kotlin/com/antwerkz/graven/NoRegexSampleClass.kt @@ -1,5 +1,3 @@ package com.antwerkz.graven -class SampleClass { - -} +class NoRegexSampleClass {} diff --git a/integration-tests/src/test/resources/maven/projects/properties/src/main/kotlin/com/antwerkz/graven/PropertiesSampleClass.kt b/integration-tests/src/test/resources/maven/projects/properties/src/main/kotlin/com/antwerkz/graven/PropertiesSampleClass.kt new file mode 100644 index 0000000..40e3974 --- /dev/null +++ b/integration-tests/src/test/resources/maven/projects/properties/src/main/kotlin/com/antwerkz/graven/PropertiesSampleClass.kt @@ -0,0 +1,3 @@ +package com.antwerkz.graven + +class PropertiesSampleClass {} diff --git a/integration-tests/src/test/resources/maven/projects/singleQuotes/src/main/kotlin/com/antwerkz/build/SampleClass.kt b/integration-tests/src/test/resources/maven/projects/singleQuotes/src/main/kotlin/com/antwerkz/build/SampleClass.kt deleted file mode 100644 index 394934e..0000000 --- a/integration-tests/src/test/resources/maven/projects/singleQuotes/src/main/kotlin/com/antwerkz/build/SampleClass.kt +++ /dev/null @@ -1,5 +0,0 @@ -package com.antwerkz.graven - -class SampleClass { - i should fail -} diff --git a/integration-tests/src/test/resources/maven/projects/noRegex/src/main/kotlin/com/antwerkz/build/SampleClass.kt b/integration-tests/src/test/resources/maven/projects/singleQuotes/src/main/kotlin/com/antwerkz/graven/SingleQuote.kt similarity index 54% rename from integration-tests/src/test/resources/maven/projects/noRegex/src/main/kotlin/com/antwerkz/build/SampleClass.kt rename to integration-tests/src/test/resources/maven/projects/singleQuotes/src/main/kotlin/com/antwerkz/graven/SingleQuote.kt index 0e3304f..ffad57f 100644 --- a/integration-tests/src/test/resources/maven/projects/noRegex/src/main/kotlin/com/antwerkz/build/SampleClass.kt +++ b/integration-tests/src/test/resources/maven/projects/singleQuotes/src/main/kotlin/com/antwerkz/graven/SingleQuote.kt @@ -1,5 +1,3 @@ package com.antwerkz.graven -class SampleClass { - -} +class SingleQuote {} diff --git a/mojo/pom.xml b/mojo/pom.xml index 8a52930..6968257 100644 --- a/mojo/pom.xml +++ b/mojo/pom.xml @@ -7,7 +7,7 @@ com.antwerkz.graven graven-parent - 0.5.0-SNAPSHOT + 0.4.1-SNAPSHOT ../pom.xml diff --git a/pom.xml b/pom.xml index f6e397d..04fc4c9 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ com.antwerkz antwerkz-parent - 21 + 22 com.antwerkz.graven graven-parent - 0.5.0-SNAPSHOT + 0.4.1-SNAPSHOT pom