[MNG-7650] Reformat

This commit is contained in:
Guillaume Nodet 2022-12-23 20:03:44 +01:00
parent 67941c22d8
commit 8150c62749
822 changed files with 2116 additions and 1196 deletions

View File

@ -18,16 +18,17 @@
*/ */
package org.apache.maven.settings; package org.apache.maven.settings;
import static org.junit.jupiter.api.Assertions.assertTrue;
import java.io.File; import java.io.File;
import java.io.FileInputStream; import java.io.FileInputStream;
import java.io.InputStreamReader; import java.io.InputStreamReader;
import java.io.Reader; import java.io.Reader;
import java.nio.charset.StandardCharsets; import java.nio.charset.StandardCharsets;
import org.apache.maven.settings.v4.SettingsXpp3Reader; import org.apache.maven.settings.v4.SettingsXpp3Reader;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertTrue;
/** /**
* Tests that the global settings.xml shipped with the distribution is in good state. * Tests that the global settings.xml shipped with the distribution is in good state.
* *

View File

@ -19,6 +19,7 @@
package org.apache.maven.api; package org.apache.maven.api;
import java.util.Collection; import java.util.Collection;
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Experimental;
import org.apache.maven.api.annotations.Immutable; import org.apache.maven.api.annotations.Immutable;
import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.Nonnull;

View File

@ -19,6 +19,7 @@
package org.apache.maven.api; package org.apache.maven.api;
import java.util.Optional; import java.util.Optional;
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Experimental;
import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.Nonnull;

View File

@ -19,6 +19,7 @@
package org.apache.maven.api; package org.apache.maven.api;
import java.nio.file.Path; import java.nio.file.Path;
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Experimental;
import org.apache.maven.api.annotations.Immutable; import org.apache.maven.api.annotations.Immutable;
import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.Nonnull;

View File

@ -19,6 +19,7 @@
package org.apache.maven.api; package org.apache.maven.api;
import java.util.Optional; import java.util.Optional;
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Experimental;
import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.Nonnull;
import org.apache.maven.api.model.Plugin; import org.apache.maven.api.model.Plugin;

View File

@ -22,6 +22,7 @@ import java.util.List;
import java.util.Optional; import java.util.Optional;
import java.util.function.Predicate; import java.util.function.Predicate;
import java.util.stream.Stream; import java.util.stream.Stream;
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Experimental;
import org.apache.maven.api.annotations.Immutable; import org.apache.maven.api.annotations.Immutable;
import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.Nonnull;

View File

@ -21,6 +21,7 @@ package org.apache.maven.api;
import java.nio.file.Path; import java.nio.file.Path;
import java.util.List; import java.util.List;
import java.util.Optional; import java.util.Optional;
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Experimental;
import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.Nonnull;
import org.apache.maven.api.model.Build; import org.apache.maven.api.model.Build;

View File

@ -26,6 +26,7 @@ import java.util.Optional;
import java.util.Set; import java.util.Set;
import java.util.stream.Collectors; import java.util.stream.Collectors;
import java.util.stream.Stream; import java.util.stream.Stream;
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Experimental;
/** /**

View File

@ -19,6 +19,7 @@
package org.apache.maven.api; package org.apache.maven.api;
import java.util.Locale; import java.util.Locale;
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Experimental;
/** /**

View File

@ -25,6 +25,7 @@ import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.NoSuchElementException; import java.util.NoSuchElementException;
import java.util.Optional; import java.util.Optional;
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Experimental;
import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.Nonnull;
import org.apache.maven.api.annotations.ThreadSafe; import org.apache.maven.api.annotations.ThreadSafe;

View File

@ -19,6 +19,7 @@
package org.apache.maven.api; package org.apache.maven.api;
import java.util.function.Supplier; import java.util.function.Supplier;
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Experimental;
import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.Nonnull;
import org.apache.maven.api.annotations.Nullable; import org.apache.maven.api.annotations.Nullable;

View File

@ -19,6 +19,7 @@
package org.apache.maven.api; package org.apache.maven.api;
import java.util.Map; import java.util.Map;
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Experimental;
/** /**

View File

@ -24,6 +24,7 @@ import java.lang.annotation.Inherited;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy; import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target; import java.lang.annotation.Target;
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Experimental;
/** /**

View File

@ -24,6 +24,7 @@ import java.lang.annotation.Inherited;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy; import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target; import java.lang.annotation.Target;
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Experimental;
/** /**

View File

@ -24,6 +24,7 @@ import java.lang.annotation.Inherited;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy; import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target; import java.lang.annotation.Target;
import org.apache.maven.api.ResolutionScope; import org.apache.maven.api.ResolutionScope;
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Experimental;

View File

@ -24,6 +24,7 @@ import java.lang.annotation.Inherited;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy; import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target; import java.lang.annotation.Target;
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Experimental;
/** /**

View File

@ -18,8 +18,6 @@
*/ */
package org.apache.maven.api.services; package org.apache.maven.api.services;
import static org.apache.maven.api.services.BaseRequest.nonNull;
import org.apache.maven.api.ArtifactCoordinate; import org.apache.maven.api.ArtifactCoordinate;
import org.apache.maven.api.Session; import org.apache.maven.api.Session;
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Experimental;
@ -27,6 +25,8 @@ import org.apache.maven.api.annotations.Immutable;
import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.Nonnull;
import org.apache.maven.api.annotations.NotThreadSafe; import org.apache.maven.api.annotations.NotThreadSafe;
import static org.apache.maven.api.services.BaseRequest.nonNull;
/** /**
* A request for creating a {@link ArtifactCoordinate} object. * A request for creating a {@link ArtifactCoordinate} object.
* *

View File

@ -19,6 +19,7 @@
package org.apache.maven.api.services; package org.apache.maven.api.services;
import java.util.Collection; import java.util.Collection;
import org.apache.maven.api.Artifact; import org.apache.maven.api.Artifact;
import org.apache.maven.api.RemoteRepository; import org.apache.maven.api.RemoteRepository;
import org.apache.maven.api.Service; import org.apache.maven.api.Service;

View File

@ -18,9 +18,8 @@
*/ */
package org.apache.maven.api.services; package org.apache.maven.api.services;
import static org.apache.maven.api.services.BaseRequest.nonNull;
import java.util.Collection; import java.util.Collection;
import org.apache.maven.api.Artifact; import org.apache.maven.api.Artifact;
import org.apache.maven.api.RemoteRepository; import org.apache.maven.api.RemoteRepository;
import org.apache.maven.api.Session; import org.apache.maven.api.Session;
@ -28,6 +27,8 @@ import org.apache.maven.api.annotations.Experimental;
import org.apache.maven.api.annotations.Immutable; import org.apache.maven.api.annotations.Immutable;
import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.Nonnull;
import static org.apache.maven.api.services.BaseRequest.nonNull;
/** /**
* A request for deploying one or more artifacts to a remote repository. * A request for deploying one or more artifacts to a remote repository.
* *

View File

@ -18,14 +18,14 @@
*/ */
package org.apache.maven.api.services; package org.apache.maven.api.services;
import static org.apache.maven.api.services.BaseRequest.nonNull;
import org.apache.maven.api.Session; import org.apache.maven.api.Session;
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Experimental;
import org.apache.maven.api.annotations.Immutable; import org.apache.maven.api.annotations.Immutable;
import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.Nonnull;
import org.apache.maven.api.annotations.NotThreadSafe; import org.apache.maven.api.annotations.NotThreadSafe;
import static org.apache.maven.api.services.BaseRequest.nonNull;
/** /**
* *
* *

View File

@ -20,6 +20,7 @@ package org.apache.maven.api.services;
import java.util.Collection; import java.util.Collection;
import java.util.Collections; import java.util.Collections;
import org.apache.maven.api.Artifact; import org.apache.maven.api.Artifact;
import org.apache.maven.api.Service; import org.apache.maven.api.Service;
import org.apache.maven.api.Session; import org.apache.maven.api.Session;

View File

@ -18,10 +18,9 @@
*/ */
package org.apache.maven.api.services; package org.apache.maven.api.services;
import static org.apache.maven.api.services.BaseRequest.nonNull;
import java.util.Collection; import java.util.Collection;
import java.util.Collections; import java.util.Collections;
import org.apache.maven.api.Artifact; import org.apache.maven.api.Artifact;
import org.apache.maven.api.Session; import org.apache.maven.api.Session;
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Experimental;
@ -30,6 +29,8 @@ import org.apache.maven.api.annotations.Nonnull;
import org.apache.maven.api.annotations.NotThreadSafe; import org.apache.maven.api.annotations.NotThreadSafe;
import org.apache.maven.api.annotations.Nullable; import org.apache.maven.api.annotations.Nullable;
import static org.apache.maven.api.services.BaseRequest.nonNull;
/** /**
* A request for installing one or more artifacts in the local repository. * A request for installing one or more artifacts in the local repository.
* *

View File

@ -20,6 +20,7 @@ package org.apache.maven.api.services;
import java.nio.file.Path; import java.nio.file.Path;
import java.util.Optional; import java.util.Optional;
import org.apache.maven.api.Artifact; import org.apache.maven.api.Artifact;
import org.apache.maven.api.Service; import org.apache.maven.api.Service;
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Experimental;

View File

@ -19,6 +19,7 @@
package org.apache.maven.api.services; package org.apache.maven.api.services;
import java.util.Collection; import java.util.Collection;
import org.apache.maven.api.ArtifactCoordinate; import org.apache.maven.api.ArtifactCoordinate;
import org.apache.maven.api.Service; import org.apache.maven.api.Service;
import org.apache.maven.api.Session; import org.apache.maven.api.Session;

View File

@ -18,9 +18,8 @@
*/ */
package org.apache.maven.api.services; package org.apache.maven.api.services;
import static org.apache.maven.api.services.BaseRequest.nonNull;
import java.util.Collection; import java.util.Collection;
import org.apache.maven.api.ArtifactCoordinate; import org.apache.maven.api.ArtifactCoordinate;
import org.apache.maven.api.Session; import org.apache.maven.api.Session;
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Experimental;
@ -28,6 +27,8 @@ import org.apache.maven.api.annotations.Immutable;
import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.Nonnull;
import org.apache.maven.api.annotations.NotThreadSafe; import org.apache.maven.api.annotations.NotThreadSafe;
import static org.apache.maven.api.services.BaseRequest.nonNull;
/** /**
* A request for resolving an artifact. * A request for resolving an artifact.
* *

View File

@ -20,6 +20,7 @@ package org.apache.maven.api.services;
import java.nio.file.Path; import java.nio.file.Path;
import java.util.Map; import java.util.Map;
import org.apache.maven.api.Artifact; import org.apache.maven.api.Artifact;
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Experimental;
import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.Nonnull;

View File

@ -21,6 +21,7 @@ package org.apache.maven.api.services;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collection; import java.util.Collection;
import java.util.Collections; import java.util.Collections;
import org.apache.maven.api.Session; import org.apache.maven.api.Session;
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Experimental;
import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.Nonnull;

View File

@ -18,13 +18,12 @@
*/ */
package org.apache.maven.api.services; package org.apache.maven.api.services;
import static org.apache.maven.api.services.BaseRequest.nonNull;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collection; import java.util.Collection;
import java.util.Collections; import java.util.Collections;
import java.util.List; import java.util.List;
import java.util.Optional; import java.util.Optional;
import org.apache.maven.api.Artifact; import org.apache.maven.api.Artifact;
import org.apache.maven.api.DependencyCoordinate; import org.apache.maven.api.DependencyCoordinate;
import org.apache.maven.api.Project; import org.apache.maven.api.Project;
@ -35,6 +34,8 @@ import org.apache.maven.api.annotations.Nonnull;
import org.apache.maven.api.annotations.NotThreadSafe; import org.apache.maven.api.annotations.NotThreadSafe;
import org.apache.maven.api.annotations.Nullable; import org.apache.maven.api.annotations.Nullable;
import static org.apache.maven.api.services.BaseRequest.nonNull;
/** /**
* A request to collect the transitive dependencies and to build a dependency graph from them. There are three ways to * A request to collect the transitive dependencies and to build a dependency graph from them. There are three ways to
* create a dependency graph. First, only the root dependency can be given. Second, a root dependency and direct * create a dependency graph. First, only the root dependency can be given. Second, a root dependency and direct

View File

@ -19,6 +19,7 @@
package org.apache.maven.api.services; package org.apache.maven.api.services;
import java.util.List; import java.util.List;
import org.apache.maven.api.Node; import org.apache.maven.api.Node;
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Experimental;

View File

@ -18,11 +18,10 @@
*/ */
package org.apache.maven.api.services; package org.apache.maven.api.services;
import static org.apache.maven.api.services.BaseRequest.nonNull;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collection; import java.util.Collection;
import java.util.Collections; import java.util.Collections;
import org.apache.maven.api.ArtifactCoordinate; import org.apache.maven.api.ArtifactCoordinate;
import org.apache.maven.api.Dependency; import org.apache.maven.api.Dependency;
import org.apache.maven.api.Exclusion; import org.apache.maven.api.Exclusion;
@ -32,6 +31,8 @@ import org.apache.maven.api.annotations.Immutable;
import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.Nonnull;
import org.apache.maven.api.annotations.NotThreadSafe; import org.apache.maven.api.annotations.NotThreadSafe;
import static org.apache.maven.api.services.BaseRequest.nonNull;
/** /**
* *
* @since 4.0 * @since 4.0

View File

@ -19,6 +19,7 @@
package org.apache.maven.api.services; package org.apache.maven.api.services;
import java.nio.file.Path; import java.nio.file.Path;
import org.apache.maven.api.Artifact; import org.apache.maven.api.Artifact;
import org.apache.maven.api.LocalRepository; import org.apache.maven.api.LocalRepository;
import org.apache.maven.api.RemoteRepository; import org.apache.maven.api.RemoteRepository;

View File

@ -20,6 +20,7 @@ package org.apache.maven.api.services;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import org.apache.maven.api.Service; import org.apache.maven.api.Service;
public interface Lookup extends Service { public interface Lookup extends Service {

View File

@ -19,6 +19,7 @@
package org.apache.maven.api.services; package org.apache.maven.api.services;
import java.nio.file.Path; import java.nio.file.Path;
import org.apache.maven.api.Artifact; import org.apache.maven.api.Artifact;
import org.apache.maven.api.ArtifactCoordinate; import org.apache.maven.api.ArtifactCoordinate;
import org.apache.maven.api.Service; import org.apache.maven.api.Service;

View File

@ -18,10 +18,9 @@
*/ */
package org.apache.maven.api.services; package org.apache.maven.api.services;
import static org.apache.maven.api.services.BaseRequest.nonNull;
import java.nio.file.Path; import java.nio.file.Path;
import java.util.Optional; import java.util.Optional;
import org.apache.maven.api.Artifact; import org.apache.maven.api.Artifact;
import org.apache.maven.api.ArtifactCoordinate; import org.apache.maven.api.ArtifactCoordinate;
import org.apache.maven.api.Session; import org.apache.maven.api.Session;
@ -31,6 +30,8 @@ import org.apache.maven.api.annotations.Nonnull;
import org.apache.maven.api.annotations.NotThreadSafe; import org.apache.maven.api.annotations.NotThreadSafe;
import org.apache.maven.api.annotations.Nullable; import org.apache.maven.api.annotations.Nullable;
import static org.apache.maven.api.services.BaseRequest.nonNull;
/** /**
* Request used to build a {@link org.apache.maven.api.Project} using * Request used to build a {@link org.apache.maven.api.Project} using
* the {@link ProjectBuilder} service. * the {@link ProjectBuilder} service.

View File

@ -21,6 +21,7 @@ package org.apache.maven.api.services;
import java.nio.file.Path; import java.nio.file.Path;
import java.util.Collection; import java.util.Collection;
import java.util.Optional; import java.util.Optional;
import org.apache.maven.api.Project; import org.apache.maven.api.Project;
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Experimental;
import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.Nonnull;

View File

@ -22,6 +22,7 @@ import java.nio.file.Path;
import java.util.Collection; import java.util.Collection;
import java.util.List; import java.util.List;
import java.util.Optional; import java.util.Optional;
import org.apache.maven.api.Artifact; import org.apache.maven.api.Artifact;
import org.apache.maven.api.Node; import org.apache.maven.api.Node;
import org.apache.maven.api.Project; import org.apache.maven.api.Project;

View File

@ -19,6 +19,7 @@
package org.apache.maven.api.services; package org.apache.maven.api.services;
import java.util.List; import java.util.List;
import org.apache.maven.api.Service; import org.apache.maven.api.Service;
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Experimental;

View File

@ -19,6 +19,7 @@
package org.apache.maven.api.services; package org.apache.maven.api.services;
import java.nio.file.Path; import java.nio.file.Path;
import org.apache.maven.api.LocalRepository; import org.apache.maven.api.LocalRepository;
import org.apache.maven.api.RemoteRepository; import org.apache.maven.api.RemoteRepository;
import org.apache.maven.api.Service; import org.apache.maven.api.Service;

View File

@ -19,6 +19,7 @@
package org.apache.maven.api.services; package org.apache.maven.api.services;
import java.nio.file.Path; import java.nio.file.Path;
import org.apache.maven.api.Service; import org.apache.maven.api.Service;
import org.apache.maven.api.Session; import org.apache.maven.api.Session;
import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.Nonnull;

View File

@ -18,10 +18,9 @@
*/ */
package org.apache.maven.api.services; package org.apache.maven.api.services;
import static org.apache.maven.api.services.BaseRequest.nonNull;
import java.nio.file.Path; import java.nio.file.Path;
import java.util.Optional; import java.util.Optional;
import org.apache.maven.api.Session; import org.apache.maven.api.Session;
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Experimental;
import org.apache.maven.api.annotations.Immutable; import org.apache.maven.api.annotations.Immutable;
@ -29,6 +28,8 @@ import org.apache.maven.api.annotations.Nonnull;
import org.apache.maven.api.annotations.NotThreadSafe; import org.apache.maven.api.annotations.NotThreadSafe;
import org.apache.maven.api.annotations.Nullable; import org.apache.maven.api.annotations.Nullable;
import static org.apache.maven.api.services.BaseRequest.nonNull;
/** /**
* Collects settings that control the building of effective settings. * Collects settings that control the building of effective settings.
*/ */

View File

@ -19,6 +19,7 @@
package org.apache.maven.api.services; package org.apache.maven.api.services;
import java.util.List; import java.util.List;
import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.Nonnull;
import org.apache.maven.api.settings.Settings; import org.apache.maven.api.settings.Settings;

View File

@ -20,6 +20,7 @@ package org.apache.maven.api.services;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Experimental;
/** /**

View File

@ -21,6 +21,7 @@ package org.apache.maven.api.services;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.Optional; import java.util.Optional;
import org.apache.maven.api.Service; import org.apache.maven.api.Service;
import org.apache.maven.api.Session; import org.apache.maven.api.Session;
import org.apache.maven.api.Toolchain; import org.apache.maven.api.Toolchain;

View File

@ -18,15 +18,16 @@
*/ */
package org.apache.maven.api.services; package org.apache.maven.api.services;
import static org.apache.maven.api.services.BaseRequest.nonNull;
import java.nio.file.Path; import java.nio.file.Path;
import java.util.Optional; import java.util.Optional;
import org.apache.maven.api.Session; import org.apache.maven.api.Session;
import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.Nonnull;
import org.apache.maven.api.annotations.NotThreadSafe; import org.apache.maven.api.annotations.NotThreadSafe;
import org.apache.maven.api.annotations.Nullable; import org.apache.maven.api.annotations.Nullable;
import static org.apache.maven.api.services.BaseRequest.nonNull;
public interface ToolchainsBuilderRequest { public interface ToolchainsBuilderRequest {
@Nonnull @Nonnull
Session getSession(); Session getSession();

View File

@ -19,6 +19,7 @@
package org.apache.maven.api.services; package org.apache.maven.api.services;
import java.util.List; import java.util.List;
import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.Nonnull;
import org.apache.maven.api.toolchain.PersistedToolchains; import org.apache.maven.api.toolchain.PersistedToolchains;

View File

@ -24,6 +24,7 @@ import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets; import java.nio.charset.StandardCharsets;
import java.nio.file.Path; import java.nio.file.Path;
import java.util.Optional; import java.util.Optional;
import org.apache.maven.api.RemoteRepository; import org.apache.maven.api.RemoteRepository;
import org.apache.maven.api.annotations.Consumer; import org.apache.maven.api.annotations.Consumer;
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Experimental;

View File

@ -25,6 +25,7 @@ import java.io.StringReader;
import java.io.StringWriter; import java.io.StringWriter;
import java.io.Writer; import java.io.Writer;
import java.nio.file.Path; import java.nio.file.Path;
import org.apache.maven.api.Service; import org.apache.maven.api.Service;
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Experimental;
import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.Nonnull;

View File

@ -22,6 +22,7 @@ import java.io.InputStream;
import java.io.Reader; import java.io.Reader;
import java.net.URL; import java.net.URL;
import java.nio.file.Path; import java.nio.file.Path;
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Experimental;
import org.apache.maven.api.annotations.Immutable; import org.apache.maven.api.annotations.Immutable;
import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.Nonnull;

View File

@ -21,6 +21,7 @@ package org.apache.maven.api.services.xml;
import java.io.OutputStream; import java.io.OutputStream;
import java.io.Writer; import java.io.Writer;
import java.nio.file.Path; import java.nio.file.Path;
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Experimental;
/** /**

View File

@ -20,6 +20,7 @@ package org.apache.maven.api.xml;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Experimental;
import org.apache.maven.api.annotations.Immutable; import org.apache.maven.api.annotations.Immutable;
import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.Nonnull;

View File

@ -21,6 +21,7 @@ package org.codehaus.modello.plugin.velocity;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Iterator; import java.util.Iterator;
import java.util.List; import java.util.List;
import org.codehaus.modello.ModelloRuntimeException; import org.codehaus.modello.ModelloRuntimeException;
import org.codehaus.modello.model.ModelAssociation; import org.codehaus.modello.model.ModelAssociation;
import org.codehaus.modello.model.ModelClass; import org.codehaus.modello.model.ModelClass;

View File

@ -25,6 +25,7 @@ import java.util.Map;
import java.util.Objects; import java.util.Objects;
import java.util.Properties; import java.util.Properties;
import java.util.stream.Collectors; import java.util.stream.Collectors;
import org.apache.maven.plugins.annotations.LifecyclePhase; import org.apache.maven.plugins.annotations.LifecyclePhase;
import org.apache.maven.plugins.annotations.Mojo; import org.apache.maven.plugins.annotations.Mojo;
import org.apache.maven.plugins.annotations.Parameter; import org.apache.maven.plugins.annotations.Parameter;

View File

@ -27,6 +27,7 @@ import java.nio.file.Paths;
import java.util.Map; import java.util.Map;
import java.util.Objects; import java.util.Objects;
import java.util.Properties; import java.util.Properties;
import org.apache.velocity.Template; import org.apache.velocity.Template;
import org.apache.velocity.VelocityContext; import org.apache.velocity.VelocityContext;
import org.apache.velocity.runtime.RuntimeInstance; import org.apache.velocity.runtime.RuntimeInstance;

View File

@ -22,6 +22,7 @@ import java.io.File;
import java.util.Collection; import java.util.Collection;
import java.util.List; import java.util.List;
import java.util.regex.Pattern; import java.util.regex.Pattern;
import org.apache.maven.artifact.handler.ArtifactHandler; import org.apache.maven.artifact.handler.ArtifactHandler;
import org.apache.maven.artifact.metadata.ArtifactMetadata; import org.apache.maven.artifact.metadata.ArtifactMetadata;
import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.artifact.repository.ArtifactRepository;

View File

@ -24,6 +24,7 @@ import java.util.LinkedHashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.regex.Matcher; import java.util.regex.Matcher;
import org.apache.commons.lang3.Validate; import org.apache.commons.lang3.Validate;
import org.apache.maven.artifact.versioning.VersionRange; import org.apache.maven.artifact.versioning.VersionRange;

View File

@ -24,6 +24,7 @@ import java.util.Collections;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import org.apache.maven.artifact.handler.ArtifactHandler; import org.apache.maven.artifact.handler.ArtifactHandler;
import org.apache.maven.artifact.metadata.ArtifactMetadata; import org.apache.maven.artifact.metadata.ArtifactMetadata;
import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.artifact.repository.ArtifactRepository;

View File

@ -19,6 +19,7 @@
package org.apache.maven.artifact.repository; package org.apache.maven.artifact.repository;
import java.util.List; import java.util.List;
import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.metadata.ArtifactMetadata; import org.apache.maven.artifact.metadata.ArtifactMetadata;
import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout; import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout;

View File

@ -20,6 +20,7 @@ package org.apache.maven.artifact.resolver;
import java.util.Iterator; import java.util.Iterator;
import java.util.List; import java.util.List;
import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.artifact.repository.ArtifactRepository;
import org.apache.maven.artifact.repository.ArtifactRepositoryPolicy; import org.apache.maven.artifact.repository.ArtifactRepositoryPolicy;

View File

@ -19,6 +19,7 @@
package org.apache.maven.artifact.resolver; package org.apache.maven.artifact.resolver;
import java.util.List; import java.util.List;
import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.artifact.repository.ArtifactRepository;

View File

@ -19,6 +19,7 @@
package org.apache.maven.artifact.resolver; package org.apache.maven.artifact.resolver;
import java.util.List; import java.util.List;
import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.artifact.repository.ArtifactRepository;

View File

@ -20,6 +20,7 @@ package org.apache.maven.artifact.resolver;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.artifact.repository.ArtifactRepository;

View File

@ -18,10 +18,10 @@
*/ */
package org.apache.maven.artifact.versioning; package org.apache.maven.artifact.versioning;
import static org.apache.commons.lang3.math.NumberUtils.isDigits;
import java.util.StringTokenizer; import java.util.StringTokenizer;
import static org.apache.commons.lang3.math.NumberUtils.isDigits;
/** /**
* Default implementation of artifact versioning. * Default implementation of artifact versioning.
* *

View File

@ -19,6 +19,7 @@
package org.apache.maven.artifact.versioning; package org.apache.maven.artifact.versioning;
import java.util.List; import java.util.List;
import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.artifact.repository.ArtifactRepository;
import org.apache.maven.artifact.resolver.ArtifactResolutionException; import org.apache.maven.artifact.resolver.ArtifactResolutionException;

View File

@ -25,6 +25,7 @@ import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.Objects; import java.util.Objects;
import java.util.WeakHashMap; import java.util.WeakHashMap;
import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.Artifact;
/** /**

View File

@ -18,17 +18,18 @@
*/ */
package org.apache.maven.artifact; package org.apache.maven.artifact;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.apache.maven.artifact.versioning.VersionRange;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue; import static org.junit.jupiter.api.Assertions.assertTrue;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.apache.maven.artifact.versioning.VersionRange;
import org.junit.jupiter.api.Test;
/** /**
* Tests {@link ArtifactUtils}. * Tests {@link ArtifactUtils}.
* *

View File

@ -18,15 +18,15 @@
*/ */
package org.apache.maven.artifact; package org.apache.maven.artifact;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
import org.apache.maven.artifact.handler.ArtifactHandlerMock; import org.apache.maven.artifact.handler.ArtifactHandlerMock;
import org.apache.maven.artifact.versioning.VersionRange; import org.apache.maven.artifact.versioning.VersionRange;
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
public class DefaultArtifactTest { public class DefaultArtifactTest {
private DefaultArtifact artifact; private DefaultArtifact artifact;

View File

@ -18,8 +18,6 @@
*/ */
package org.apache.maven.artifact.versioning; package org.apache.maven.artifact.versioning;
import static org.junit.jupiter.api.Assertions.assertEquals;
import java.io.IOException; import java.io.IOException;
import java.io.InterruptedIOException; import java.io.InterruptedIOException;
import java.nio.file.FileVisitResult; import java.nio.file.FileVisitResult;
@ -29,8 +27,11 @@ import java.nio.file.Paths;
import java.nio.file.SimpleFileVisitor; import java.nio.file.SimpleFileVisitor;
import java.nio.file.attribute.BasicFileAttributes; import java.nio.file.attribute.BasicFileAttributes;
import java.util.regex.Pattern; import java.util.regex.Pattern;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
public class ComparableVersionIT { public class ComparableVersionIT {
@Test @Test

View File

@ -18,12 +18,13 @@
*/ */
package org.apache.maven.artifact.versioning; package org.apache.maven.artifact.versioning;
import java.util.Locale;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue; import static org.junit.jupiter.api.Assertions.assertTrue;
import java.util.Locale;
import org.junit.jupiter.api.Test;
/** /**
* Test ComparableVersion. * Test ComparableVersion.
* *

View File

@ -18,12 +18,12 @@
*/ */
package org.apache.maven.artifact.versioning; package org.apache.maven.artifact.versioning;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue; import static org.junit.jupiter.api.Assertions.assertTrue;
import org.junit.jupiter.api.Test;
/** /**
* Test DefaultArtifactVersion. * Test DefaultArtifactVersion.
* *

View File

@ -18,6 +18,11 @@
*/ */
package org.apache.maven.artifact.versioning; package org.apache.maven.artifact.versioning;
import java.util.List;
import org.apache.maven.artifact.Artifact;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertNull;
@ -25,10 +30,6 @@ import static org.junit.jupiter.api.Assertions.assertSame;
import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue; import static org.junit.jupiter.api.Assertions.assertTrue;
import java.util.List;
import org.apache.maven.artifact.Artifact;
import org.junit.jupiter.api.Test;
/** /**
* Tests version range construction. * Tests version range construction.
* *

View File

@ -23,7 +23,7 @@ under the License.
<groupId>org.apache.maven</groupId> <groupId>org.apache.maven</groupId>
<artifactId>maven-parent</artifactId> <artifactId>maven-parent</artifactId>
<version>39</version> <version>39</version>
<relativePath/> <relativePath />
</parent> </parent>
<artifactId>maven-bom</artifactId> <artifactId>maven-bom</artifactId>

View File

@ -18,13 +18,13 @@
*/ */
package org.apache.maven.building; package org.apache.maven.building;
import org.apache.maven.building.Problem.Severity;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertNull;
import org.apache.maven.building.Problem.Severity;
import org.junit.jupiter.api.Test;
public class DefaultProblemCollectorTest { public class DefaultProblemCollectorTest {
@Test @Test

View File

@ -18,13 +18,13 @@
*/ */
package org.apache.maven.building; package org.apache.maven.building;
import org.apache.maven.building.Problem.Severity;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertSame;
import org.apache.maven.building.Problem.Severity;
import org.junit.jupiter.api.Test;
public class DefaultProblemTest { public class DefaultProblemTest {
@Test @Test

View File

@ -18,14 +18,15 @@
*/ */
package org.apache.maven.building; package org.apache.maven.building;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertThrows;
import java.io.File; import java.io.File;
import java.io.InputStream; import java.io.InputStream;
import java.util.Scanner; import java.util.Scanner;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertThrows;
public class FileSourceTest { public class FileSourceTest {
@Test @Test

View File

@ -18,12 +18,13 @@
*/ */
package org.apache.maven.building; package org.apache.maven.building;
import java.util.Collections;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotSame; import static org.junit.jupiter.api.Assertions.assertNotSame;
import java.util.Collections;
import org.junit.jupiter.api.Test;
public class ProblemCollectorFactoryTest { public class ProblemCollectorFactoryTest {
@Test @Test

View File

@ -18,12 +18,13 @@
*/ */
package org.apache.maven.building; package org.apache.maven.building;
import static org.junit.jupiter.api.Assertions.assertEquals;
import java.io.InputStream; import java.io.InputStream;
import java.util.Scanner; import java.util.Scanner;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
public class StringSourceTest { public class StringSourceTest {
@Test @Test
public void testGetInputStream() throws Exception { public void testGetInputStream() throws Exception {

View File

@ -18,15 +18,16 @@
*/ */
package org.apache.maven.building; package org.apache.maven.building;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertThrows;
import java.io.File; import java.io.File;
import java.io.InputStream; import java.io.InputStream;
import java.net.URL; import java.net.URL;
import java.util.Scanner; import java.util.Scanner;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertThrows;
public class UrlSourceTest { public class UrlSourceTest {
@Test @Test

View File

@ -19,6 +19,7 @@
package org.apache.maven.artifact.deployer; package org.apache.maven.artifact.deployer;
import java.io.File; import java.io.File;
import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.artifact.repository.ArtifactRepository;

View File

@ -21,6 +21,7 @@ package org.apache.maven.artifact.deployer;
import java.io.File; import java.io.File;
import java.util.Map; import java.util.Map;
import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentHashMap;
import org.apache.maven.RepositoryUtils; import org.apache.maven.RepositoryUtils;
import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.metadata.ArtifactMetadata; import org.apache.maven.artifact.metadata.ArtifactMetadata;

View File

@ -19,6 +19,7 @@
package org.apache.maven.artifact.installer; package org.apache.maven.artifact.installer;
import java.io.File; import java.io.File;
import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.artifact.repository.ArtifactRepository;

View File

@ -19,6 +19,7 @@
package org.apache.maven.artifact.installer; package org.apache.maven.artifact.installer;
import java.io.File; import java.io.File;
import org.apache.maven.RepositoryUtils; import org.apache.maven.RepositoryUtils;
import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.metadata.ArtifactMetadata; import org.apache.maven.artifact.metadata.ArtifactMetadata;

View File

@ -19,6 +19,7 @@
package org.apache.maven.artifact.manager; package org.apache.maven.artifact.manager;
import java.util.List; import java.util.List;
import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.artifact.repository.ArtifactRepository;
import org.apache.maven.artifact.repository.ArtifactRepositoryFactory; import org.apache.maven.artifact.repository.ArtifactRepositoryFactory;

View File

@ -19,6 +19,7 @@
package org.apache.maven.artifact.manager; package org.apache.maven.artifact.manager;
import java.util.List; import java.util.List;
import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.artifact.repository.ArtifactRepository;
import org.apache.maven.wagon.ResourceDoesNotExistException; import org.apache.maven.wagon.ResourceDoesNotExistException;

View File

@ -21,6 +21,7 @@ package org.apache.maven.artifact.repository;
import java.io.File; import java.io.File;
import java.util.Collections; import java.util.Collections;
import java.util.List; import java.util.List;
import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.metadata.ArtifactMetadata; import org.apache.maven.artifact.metadata.ArtifactMetadata;
import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout; import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout;

View File

@ -20,6 +20,7 @@ package org.apache.maven.artifact.repository;
import java.util.Arrays; import java.util.Arrays;
import java.util.List; import java.util.List;
import org.apache.maven.artifact.UnknownRepositoryLayoutException; import org.apache.maven.artifact.UnknownRepositoryLayoutException;
import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout; import org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout;
import org.apache.maven.plugin.LegacySupport; import org.apache.maven.plugin.LegacySupport;

View File

@ -27,6 +27,7 @@ import java.util.Date;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import org.apache.maven.artifact.metadata.ArtifactMetadata; import org.apache.maven.artifact.metadata.ArtifactMetadata;
import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.artifact.repository.ArtifactRepository;
import org.apache.maven.artifact.repository.ArtifactRepositoryPolicy; import org.apache.maven.artifact.repository.ArtifactRepositoryPolicy;

View File

@ -20,6 +20,7 @@ package org.apache.maven.artifact.repository.metadata;
import java.util.Iterator; import java.util.Iterator;
import java.util.List; import java.util.List;
import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.artifact.repository.ArtifactRepository;
/** /**

View File

@ -21,6 +21,7 @@ package org.apache.maven.artifact.repository.metadata;
import java.io.File; import java.io.File;
import java.util.Collections; import java.util.Collections;
import java.util.Map; import java.util.Map;
import org.apache.maven.artifact.metadata.ArtifactMetadata; import org.apache.maven.artifact.metadata.ArtifactMetadata;
import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.artifact.repository.ArtifactRepository;
import org.apache.maven.artifact.repository.DefaultArtifactRepository; import org.apache.maven.artifact.repository.DefaultArtifactRepository;

View File

@ -20,6 +20,7 @@ package org.apache.maven.artifact.resolver;
import java.util.List; import java.util.List;
import java.util.Set; import java.util.Set;
import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.metadata.ArtifactMetadataSource; import org.apache.maven.artifact.metadata.ArtifactMetadataSource;
import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.artifact.repository.ArtifactRepository;

View File

@ -21,6 +21,7 @@ package org.apache.maven.artifact.resolver;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.Set; import java.util.Set;
import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.metadata.ArtifactMetadataSource; import org.apache.maven.artifact.metadata.ArtifactMetadataSource;
import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.artifact.repository.ArtifactRepository;

View File

@ -21,6 +21,7 @@ package org.apache.maven.artifact.resolver;
import java.util.HashSet; import java.util.HashSet;
import java.util.Objects; import java.util.Objects;
import java.util.Set; import java.util.Set;
import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.versioning.VersionRange; import org.apache.maven.artifact.versioning.VersionRange;
import org.codehaus.plexus.logging.Logger; import org.codehaus.plexus.logging.Logger;

View File

@ -35,6 +35,7 @@ import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.atomic.AtomicInteger;
import java.util.regex.Matcher; import java.util.regex.Matcher;
import org.apache.maven.RepositoryUtils; import org.apache.maven.RepositoryUtils;
import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.factory.ArtifactFactory; import org.apache.maven.artifact.factory.ArtifactFactory;

View File

@ -19,6 +19,7 @@
package org.apache.maven.artifact.resolver; package org.apache.maven.artifact.resolver;
import java.util.List; import java.util.List;
import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.artifact.repository.ArtifactRepository;

View File

@ -21,6 +21,7 @@ package org.apache.maven.artifact.resolver.filter;
import java.util.Collection; import java.util.Collection;
import java.util.LinkedHashSet; import java.util.LinkedHashSet;
import java.util.Set; import java.util.Set;
import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.Artifact;
/** /**

View File

@ -21,6 +21,7 @@ package org.apache.maven.artifact.versioning;
import java.util.HashMap; import java.util.HashMap;
import java.util.Iterator; import java.util.Iterator;
import java.util.Map; import java.util.Map;
import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.Artifact;
/** /**

View File

@ -23,6 +23,7 @@ import java.io.IOException;
import java.io.Reader; import java.io.Reader;
import java.io.StringReader; import java.io.StringReader;
import java.io.StringWriter; import java.io.StringWriter;
import org.apache.maven.profiles.io.xpp3.ProfilesXpp3Reader; import org.apache.maven.profiles.io.xpp3.ProfilesXpp3Reader;
import org.codehaus.plexus.component.annotations.Component; import org.codehaus.plexus.component.annotations.Component;
import org.codehaus.plexus.interpolation.EnvarBasedValueSource; import org.codehaus.plexus.interpolation.EnvarBasedValueSource;

View File

@ -23,6 +23,7 @@ import java.util.LinkedHashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.Properties; import java.util.Properties;
import org.apache.maven.model.Activation; import org.apache.maven.model.Activation;
import org.apache.maven.model.Profile; import org.apache.maven.model.Profile;
import org.apache.maven.model.building.ModelProblem; import org.apache.maven.model.building.ModelProblem;

View File

@ -20,6 +20,7 @@ package org.apache.maven.profiles;
import java.io.File; import java.io.File;
import java.io.IOException; import java.io.IOException;
import org.codehaus.plexus.util.xml.pull.XmlPullParserException; import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
/** /**

View File

@ -21,6 +21,7 @@ package org.apache.maven.profiles;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.Properties; import java.util.Properties;
import org.apache.maven.model.Profile; import org.apache.maven.model.Profile;
import org.apache.maven.profiles.activation.ProfileActivationException; import org.apache.maven.profiles.activation.ProfileActivationException;

View File

@ -19,6 +19,7 @@
package org.apache.maven.profiles; package org.apache.maven.profiles;
import java.util.List; import java.util.List;
import org.apache.maven.model.Activation; import org.apache.maven.model.Activation;
import org.apache.maven.model.ActivationFile; import org.apache.maven.model.ActivationFile;
import org.apache.maven.model.ActivationProperty; import org.apache.maven.model.ActivationProperty;

Some files were not shown because too many files have changed in this diff Show More