diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/assertj/TestClientOutput.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/assertj/TestClientOutput.java index 07e5578c0..1daa9c317 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/assertj/TestClientOutput.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/assertj/TestClientOutput.java @@ -76,6 +76,6 @@ public void assertContainsMatchingSubsequence(String... patterns) { } public List messagesToString() { - return messages.stream().map(m -> m.toString()).collect(Collectors.toList()); + return messages.stream().map(Object::toString).collect(Collectors.toList()); } } diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/AlpineLinuxNativeIT.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/AlpineLinuxNativeIT.java index 271648871..4fc9e9356 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/AlpineLinuxNativeIT.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/AlpineLinuxNativeIT.java @@ -31,7 +31,7 @@ @TestInstance(TestInstance.Lifecycle.PER_CLASS) @Testcontainers(disabledWithoutDocker = true) -public class AlpineLinuxNativeIT { +class AlpineLinuxNativeIT { private ImageFromDockerfile image; private String mvndHome; diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/AlpineLinuxTest.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/AlpineLinuxTest.java index bfda17935..63c57cb51 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/AlpineLinuxTest.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/AlpineLinuxTest.java @@ -23,7 +23,7 @@ @TestInstance(TestInstance.Lifecycle.PER_CLASS) @Testcontainers(disabledWithoutDocker = true) -public class AlpineLinuxTest extends AlpineLinuxNativeIT { +class AlpineLinuxTest extends AlpineLinuxNativeIT { @Override protected boolean isNative() { diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/AttachedArtifactResolutionTest.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/AttachedArtifactResolutionTest.java index c65b1d1e3..59311cc20 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/AttachedArtifactResolutionTest.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/AttachedArtifactResolutionTest.java @@ -26,7 +26,7 @@ import org.mvndaemon.mvnd.junit.MvndTest; @MvndTest(projectDir = "src/test/projects/attached-artifact-resolution") -public class AttachedArtifactResolutionTest { +class AttachedArtifactResolutionTest { @Inject Client client; diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/BootstrapPluginTest.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/BootstrapPluginTest.java index 57a8d67c6..c349f4f66 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/BootstrapPluginTest.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/BootstrapPluginTest.java @@ -37,7 +37,7 @@ @MvndTest(projectDir = "src/test/projects/bootstrap-plugin") @DisabledOnOs(OS.WINDOWS) -public class BootstrapPluginTest { +class BootstrapPluginTest { @Inject Client client; diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/CompletionNativeIT.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/CompletionNativeIT.java index d06ea9a5c..675ea0ed7 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/CompletionNativeIT.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/CompletionNativeIT.java @@ -29,7 +29,7 @@ import org.mvndaemon.mvnd.junit.MvndTestExtension; @MvndNativeTest(projectDir = MvndTestExtension.TEMP_EXTERNAL) -public class CompletionNativeIT { +class CompletionNativeIT { @Inject Client client; diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/CompletionTest.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/CompletionTest.java index 293a5be72..b970eaf70 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/CompletionTest.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/CompletionTest.java @@ -22,4 +22,4 @@ import org.mvndaemon.mvnd.junit.MvndTestExtension; @MvndTest(projectDir = MvndTestExtension.TEMP_EXTERNAL) -public class CompletionTest extends CompletionNativeIT {} +class CompletionTest extends CompletionNativeIT {} diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ConcurrentDownloadsTest.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ConcurrentDownloadsTest.java index 8a98f67a7..bdecd66aa 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ConcurrentDownloadsTest.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ConcurrentDownloadsTest.java @@ -33,7 +33,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; @MvndTest(projectDir = "src/test/projects/concurrent-downloads") -public class ConcurrentDownloadsTest { +class ConcurrentDownloadsTest { @Inject ClientFactory clientFactory; diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/DaemonCrashTest.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/DaemonCrashTest.java index 6ade3a0f8..1cc3232a8 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/DaemonCrashTest.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/DaemonCrashTest.java @@ -38,7 +38,7 @@ @MvndTest(projectDir = "src/test/projects/daemon-crash", keepAlive = "100ms", maxLostKeepAlive = "30") @Timeout(60) -public class DaemonCrashTest { +class DaemonCrashTest { @Inject Client client; diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/DeleteRepoNativeIT.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/DeleteRepoNativeIT.java index 610cb8df5..75e27af52 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/DeleteRepoNativeIT.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/DeleteRepoNativeIT.java @@ -33,7 +33,7 @@ import org.mvndaemon.mvnd.junit.TestUtils; @MvndNativeTest(projectDir = "src/test/projects/delete-repo") -public class DeleteRepoNativeIT { +class DeleteRepoNativeIT { @Inject Client client; diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/DeleteRepoTest.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/DeleteRepoTest.java index a9628e909..e7777a297 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/DeleteRepoTest.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/DeleteRepoTest.java @@ -21,4 +21,4 @@ import org.mvndaemon.mvnd.junit.MvndTest; @MvndTest(projectDir = "src/test/projects/delete-repo") -public class DeleteRepoTest extends DeleteRepoNativeIT {} +class DeleteRepoTest extends DeleteRepoNativeIT {} diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/DistroIT.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/DistroIT.java index f26344a0a..b52173ebb 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/DistroIT.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/DistroIT.java @@ -33,7 +33,7 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; -public class DistroIT { +class DistroIT { /** * Asserts that we do not have the same libs in lib/ext and in lib or boot directories. diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/DupGATest.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/DupGATest.java index 89494a53c..888c234a3 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/DupGATest.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/DupGATest.java @@ -29,7 +29,7 @@ import org.mvndaemon.mvnd.junit.MvndTest; @MvndTest(projectDir = "src/test/projects/dup-ga") -public class DupGATest { +class DupGATest { @Inject Client client; diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/EnvironmentTest.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/EnvironmentTest.java index 6e3f993a0..7bb635aff 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/EnvironmentTest.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/EnvironmentTest.java @@ -36,7 +36,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; @MvndTest(projectDir = "src/test/projects/environment") -public class EnvironmentTest { +class EnvironmentTest { @Inject TestRegistry registry; diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ExecOutputTest.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ExecOutputTest.java index 23eceedd4..0bc94bd0a 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ExecOutputTest.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ExecOutputTest.java @@ -31,7 +31,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; @MvndTest(projectDir = "src/test/projects/exec-output") -public class ExecOutputTest { +class ExecOutputTest { @Inject Client client; diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ExtensionWithApiNativeIT.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ExtensionWithApiNativeIT.java index 7dcaab5e3..9e63826e2 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ExtensionWithApiNativeIT.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ExtensionWithApiNativeIT.java @@ -27,7 +27,7 @@ import org.mvndaemon.mvnd.junit.MvndNativeTest; @MvndNativeTest(projectDir = "src/test/projects/extension-with-api") -public class ExtensionWithApiNativeIT { +class ExtensionWithApiNativeIT { @Inject Client client; diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ExtensionsNativeIT.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ExtensionsNativeIT.java index 719f13db4..66ffee87b 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ExtensionsNativeIT.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ExtensionsNativeIT.java @@ -34,7 +34,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; @MvndNativeTest(projectDir = "src/test/projects/extensions") -public class ExtensionsNativeIT { +class ExtensionsNativeIT { @Inject Client client; diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ExtensionsTest.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ExtensionsTest.java index 91ab9847b..b84948e9e 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ExtensionsTest.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ExtensionsTest.java @@ -21,4 +21,4 @@ import org.mvndaemon.mvnd.junit.MvndTest; @MvndTest(projectDir = "src/test/projects/extensions") -public class ExtensionsTest extends ExtensionsNativeIT {} +class ExtensionsTest extends ExtensionsNativeIT {} diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ForkedTest.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ForkedTest.java index 7fb232967..ee844ff04 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ForkedTest.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ForkedTest.java @@ -31,7 +31,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; @MvndTest(projectDir = "src/test/projects/forked") -public class ForkedTest { +class ForkedTest { @Inject Client client; diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/InteractiveTest.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/InteractiveTest.java index 3a0fa6f41..46ea1afab 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/InteractiveTest.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/InteractiveTest.java @@ -34,7 +34,7 @@ @MvndTest(projectDir = "src/test/projects/single-module") @Timeout(300) -public class InteractiveTest { +class InteractiveTest { @Inject Client client; diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/InvokerNativeIT.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/InvokerNativeIT.java index 0e8059f71..48e2bd800 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/InvokerNativeIT.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/InvokerNativeIT.java @@ -35,7 +35,7 @@ import org.mvndaemon.mvnd.junit.MvndNativeTest; @MvndNativeTest(projectDir = "src/test/projects/invoker") -public class InvokerNativeIT { +class InvokerNativeIT { @Inject Client client; diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/InvokerTest.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/InvokerTest.java index a944f69b7..6a45de959 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/InvokerTest.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/InvokerTest.java @@ -21,4 +21,4 @@ import org.mvndaemon.mvnd.junit.MvndTest; @MvndTest(projectDir = "src/test/projects/invoker") -public class InvokerTest extends InvokerNativeIT {} +class InvokerTest extends InvokerNativeIT {} diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/JUnitPlatformTest.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/JUnitPlatformTest.java index 0f14094e6..4be0c14f5 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/JUnitPlatformTest.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/JUnitPlatformTest.java @@ -30,7 +30,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; @MvndTest(projectDir = "src/test/projects/junit-platform") -public class JUnitPlatformTest { +class JUnitPlatformTest { @Inject Client client; diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/MavenConfNativeIT.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/MavenConfNativeIT.java index f1543958b..75c84bde0 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/MavenConfNativeIT.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/MavenConfNativeIT.java @@ -31,7 +31,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; @MvndNativeTest(projectDir = "src/test/projects/maven-conf") -public class MavenConfNativeIT { +class MavenConfNativeIT { @Inject Client client; diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/MavenConfTest.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/MavenConfTest.java index 5f2dc10a0..eb9326850 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/MavenConfTest.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/MavenConfTest.java @@ -21,4 +21,4 @@ import org.mvndaemon.mvnd.junit.MvndTest; @MvndTest(projectDir = "src/test/projects/maven-conf") -public class MavenConfTest extends MavenConfNativeIT {} +class MavenConfTest extends MavenConfNativeIT {} diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/MaxHeapNativeIT.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/MaxHeapNativeIT.java index 4e0173b57..43a08c206 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/MaxHeapNativeIT.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/MaxHeapNativeIT.java @@ -36,7 +36,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; -public class MaxHeapNativeIT { +class MaxHeapNativeIT { static class BaseTest { diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/MaxHeapTest.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/MaxHeapTest.java index b21f552ce..87538265c 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/MaxHeapTest.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/MaxHeapTest.java @@ -20,7 +20,7 @@ import org.mvndaemon.mvnd.junit.MvndTest; -public class MaxHeapTest extends MaxHeapNativeIT { +class MaxHeapTest extends MaxHeapNativeIT { @MvndTest(projectDir = "src/test/projects/max-heap/default-heap") static class DefaultConfig extends MaxHeapNativeIT.DefaultConfig {} diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ModuleAndPluginNativeIT.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ModuleAndPluginNativeIT.java index ff20b9d35..aaa695ed3 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ModuleAndPluginNativeIT.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ModuleAndPluginNativeIT.java @@ -35,7 +35,7 @@ import org.mvndaemon.mvnd.junit.TestUtils; @MvndNativeTest(projectDir = "src/test/projects/module-and-plugin") -public class ModuleAndPluginNativeIT { +class ModuleAndPluginNativeIT { @Inject Client client; diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ModuleAndPluginTest.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ModuleAndPluginTest.java index b3d920dd9..3c48e4239 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ModuleAndPluginTest.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ModuleAndPluginTest.java @@ -21,4 +21,4 @@ import org.mvndaemon.mvnd.junit.MvndTest; @MvndTest(projectDir = "src/test/projects/module-and-plugin") -public class ModuleAndPluginTest extends ModuleAndPluginNativeIT {} +class ModuleAndPluginTest extends ModuleAndPluginNativeIT {} diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/MultiLookupTest.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/MultiLookupTest.java index 85c4b6111..c94c2ad4c 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/MultiLookupTest.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/MultiLookupTest.java @@ -29,7 +29,7 @@ import org.mvndaemon.mvnd.junit.TestParameters; @MvndTest(projectDir = "src/test/projects/multi-lookup") -public class MultiLookupTest { +class MultiLookupTest { @Inject ClientFactory clientFactory; diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/MultiModuleTest.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/MultiModuleTest.java index 12cf18449..e4e463ae9 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/MultiModuleTest.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/MultiModuleTest.java @@ -40,7 +40,7 @@ import org.mvndaemon.mvnd.junit.MvndTest; @MvndTest(projectDir = "src/test/projects/multi-module") -public class MultiModuleTest { +class MultiModuleTest { @Inject Client client; diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/NewManagedModuleNativeIT.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/NewManagedModuleNativeIT.java index b00188b12..e061ddb4b 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/NewManagedModuleNativeIT.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/NewManagedModuleNativeIT.java @@ -37,7 +37,7 @@ import org.mvndaemon.mvnd.junit.TestRegistry; @MvndNativeTest(projectDir = "src/test/projects/new-managed-module") -public class NewManagedModuleNativeIT { +class NewManagedModuleNativeIT { @Inject TestParameters parameters; diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/NewManagedModuleTest.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/NewManagedModuleTest.java index c525f5f6b..9a8470825 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/NewManagedModuleTest.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/NewManagedModuleTest.java @@ -21,4 +21,4 @@ import org.mvndaemon.mvnd.junit.MvndTest; @MvndTest(projectDir = "src/test/projects/new-managed-module") -public class NewManagedModuleTest extends NewManagedModuleNativeIT {} +class NewManagedModuleTest extends NewManagedModuleNativeIT {} diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ParentWithPropertyTest.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ParentWithPropertyTest.java index 66ad833c3..9fd2abf75 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ParentWithPropertyTest.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ParentWithPropertyTest.java @@ -32,7 +32,7 @@ import org.mvndaemon.mvnd.junit.TestUtils; @MvndTest(projectDir = "src/test/projects/parent-with-property") -public class ParentWithPropertyTest { +class ParentWithPropertyTest { @Inject Client client; diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/RawStreamsTest.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/RawStreamsTest.java index 889ed265c..9a9510d13 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/RawStreamsTest.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/RawStreamsTest.java @@ -33,7 +33,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; @MvndTest(projectDir = "src/test/projects/raw-streams") -public class RawStreamsTest { +class RawStreamsTest { @Inject Client client; diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ResidentExtensionsTest.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ResidentExtensionsTest.java index ffd72a987..4631592fa 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ResidentExtensionsTest.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ResidentExtensionsTest.java @@ -35,7 +35,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; @MvndTest(projectDir = "src/test/projects/resident-extensions") -public class ResidentExtensionsTest { +class ResidentExtensionsTest { @Inject ClientFactory clientFactory; diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/SingleModuleNativeIT.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/SingleModuleNativeIT.java index 87e65955c..fa98b88cf 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/SingleModuleNativeIT.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/SingleModuleNativeIT.java @@ -37,7 +37,7 @@ import org.mvndaemon.mvnd.junit.MvndNativeTest; @MvndNativeTest(projectDir = "src/test/projects/single-module") -public class SingleModuleNativeIT { +class SingleModuleNativeIT { @Inject Client client; diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/SingleModuleTest.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/SingleModuleTest.java index 9a7d524d3..d2b66cacf 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/SingleModuleTest.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/SingleModuleTest.java @@ -29,12 +29,12 @@ import org.mvndaemon.mvnd.junit.MvndTest; @MvndTest(projectDir = "src/test/projects/single-module") -public class SingleModuleTest extends SingleModuleNativeIT { +class SingleModuleTest extends SingleModuleNativeIT { protected void assertJVM(TestClientOutput o, Properties props) { final List filteredMessages = o.getMessages().stream() .filter(m -> m.getType() == Message.MOJO_STARTED) - .map(m -> m.toString()) + .map(Object::toString) .collect(Collectors.toList()); Assertions.assertThat(filteredMessages) diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/SpecificFileNativeIT.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/SpecificFileNativeIT.java index 59a3d96b7..6930047ea 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/SpecificFileNativeIT.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/SpecificFileNativeIT.java @@ -40,7 +40,7 @@ * in the test iself. */ @MvndNativeTest(projectDir = "src/test/projects/specific-file") -public class SpecificFileNativeIT { +class SpecificFileNativeIT { @Inject ClientFactory clientFactory; diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/StopStatusTest.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/StopStatusTest.java index b2a096d8f..c00f5ef2f 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/StopStatusTest.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/StopStatusTest.java @@ -32,7 +32,7 @@ import org.mvndaemon.mvnd.junit.TestRegistry; @MvndTest(projectDir = "src/test/projects/single-module") -public class StopStatusTest { +class StopStatusTest { @Inject Client client; diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ThreadOptionNativeIT.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ThreadOptionNativeIT.java index baa896abc..015c92c77 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ThreadOptionNativeIT.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ThreadOptionNativeIT.java @@ -29,7 +29,7 @@ import org.mvndaemon.mvnd.junit.MvndNativeTest; @MvndNativeTest(projectDir = "src/test/projects/multi-module") -public class ThreadOptionNativeIT { +class ThreadOptionNativeIT { @Inject Client client; diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ThreadOptionTest.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ThreadOptionTest.java index 4c880c76c..57801c606 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ThreadOptionTest.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/ThreadOptionTest.java @@ -21,4 +21,4 @@ import org.mvndaemon.mvnd.junit.MvndTest; @MvndTest(projectDir = "src/test/projects/multi-module") -public class ThreadOptionTest extends ThreadOptionNativeIT {} +class ThreadOptionTest extends ThreadOptionNativeIT {} diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/TypeDescriptionTest.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/TypeDescriptionTest.java index 83b818804..f4fbc6cf8 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/TypeDescriptionTest.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/TypeDescriptionTest.java @@ -29,7 +29,7 @@ import org.mvndaemon.mvnd.junit.MvndTest; @MvndTest(projectDir = "src/test/projects/type-description") -public class TypeDescriptionTest { +class TypeDescriptionTest { @Inject Client client; diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/UpgradesInBomNativeIT.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/UpgradesInBomNativeIT.java index b9b6a51b5..685883254 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/UpgradesInBomNativeIT.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/UpgradesInBomNativeIT.java @@ -36,7 +36,7 @@ import org.mvndaemon.mvnd.junit.TestUtils; @MvndNativeTest(projectDir = "src/test/projects/upgrades-in-bom") -public class UpgradesInBomNativeIT { +class UpgradesInBomNativeIT { @Inject TestParameters parameters; diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/UpgradesInBomTest.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/UpgradesInBomTest.java index 90c040259..5e82c1a47 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/UpgradesInBomTest.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/UpgradesInBomTest.java @@ -21,4 +21,4 @@ import org.mvndaemon.mvnd.junit.MvndTest; @MvndTest(projectDir = "src/test/projects/upgrades-in-bom") -public class UpgradesInBomTest extends UpgradesInBomNativeIT {} +class UpgradesInBomTest extends UpgradesInBomNativeIT {} diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/VersionNativeIT.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/VersionNativeIT.java index 010fd9272..6f787616c 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/VersionNativeIT.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/VersionNativeIT.java @@ -30,7 +30,7 @@ import org.mvndaemon.mvnd.junit.MvndTestExtension; @MvndNativeTest(projectDir = MvndTestExtension.TEMP_EXTERNAL) -public class VersionNativeIT { +class VersionNativeIT { @Inject Client client; diff --git a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/VersionTest.java b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/VersionTest.java index 50d632140..02e41e9ee 100644 --- a/integration-tests/src/test/java/org/mvndaemon/mvnd/it/VersionTest.java +++ b/integration-tests/src/test/java/org/mvndaemon/mvnd/it/VersionTest.java @@ -22,7 +22,7 @@ import org.mvndaemon.mvnd.junit.MvndTestExtension; @MvndTest(projectDir = MvndTestExtension.TEMP_EXTERNAL) -public class VersionTest extends VersionNativeIT { +class VersionTest extends VersionNativeIT { protected boolean isNative() { return false; }