This is an automated email from the ASF dual-hosted git repository. slachiewicz pushed a commit to branch maven-4.0.x in repository https://gitbox.apache.org/repos/asf/maven.git
commit b5e7863962701b85d5bab14c006ab8528d1d54fc Author: Sylwester Lachiewicz <[email protected]> AuthorDate: Sat Nov 21 16:18:45 2026 +0100 Apply spotless formatting from PR #14085 CI --- .../apache/maven/lifecycle/internal/MojoExecutorEmptyScopeTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/MojoExecutorEmptyScopeTest.java b/impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/MojoExecutorEmptyScopeTest.java index 6f5de8c5c4..8a5003c0ae 100644 --- a/impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/MojoExecutorEmptyScopeTest.java +++ b/impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/MojoExecutorEmptyScopeTest.java @@ -62,8 +62,7 @@ class MojoExecutorEmptyScopeTest { private final MojoExecutor executor = new MojoExecutor(null, null, resolver, null, null, null); private static Artifact artifact(String artifactId, String scope) { - return new DefaultArtifact( - "g", artifactId, "1", scope, "jar", null, new DefaultArtifactHandler("jar")); + return new DefaultArtifact("g", artifactId, "1", scope, "jar", null, new DefaultArtifactHandler("jar")); } private void setUpResolver() throws Exception { @@ -107,7 +106,8 @@ void emptyScopeStepKeepsResolvedArtifacts() throws Exception { clearInvocations(resolver); // A fresh step with no scopes must not resolve (and therefore must not clear) the artifacts. - DependencyContext noScopeStep = new DependencyContext(project, Collections.emptyList(), Collections.emptyList()); + DependencyContext noScopeStep = + new DependencyContext(project, Collections.emptyList(), Collections.emptyList()); executor.ensureDependenciesAreResolved(mojo(null), session, noScopeStep); verifyNoInteractions(resolver);
