diff --git a/apache-maven/src/conf/settings.xml b/apache-maven/src/conf/settings.xml
index 204e33492f..19d7a97799 100644
--- a/apache-maven/src/conf/settings.xml
+++ b/apache-maven/src/conf/settings.xml
@@ -22,7 +22,7 @@ under the License.
-
-
+
@@ -157,20 +157,20 @@ under the License.
-->
-
+
false
-
+
compile
diff --git a/maven-compat/src/test/resources/inheritance-repo/t12scm/p0/modules/p1/pom.xml b/maven-compat/src/test/resources/inheritance-repo/t12scm/p0/modules/p1/pom.xml
index e9ddf0d78c..736b51539b 100644
--- a/maven-compat/src/test/resources/inheritance-repo/t12scm/p0/modules/p1/pom.xml
+++ b/maven-compat/src/test/resources/inheritance-repo/t12scm/p0/modules/p1/pom.xml
@@ -7,5 +7,5 @@
4.0.0p1
-
+
diff --git a/maven-compat/src/test/resources/inheritance-repo/t12scm/p0/pom.xml b/maven-compat/src/test/resources/inheritance-repo/t12scm/p0/pom.xml
index 97bf7ccc22..a22df68eac 100644
--- a/maven-compat/src/test/resources/inheritance-repo/t12scm/p0/pom.xml
+++ b/maven-compat/src/test/resources/inheritance-repo/t12scm/p0/pom.xml
@@ -4,13 +4,13 @@
p0pom1.0
-
+
scm:svn:http://host/p0scm:svn:https://host/p0http://host/viewer?path=/p0
-
+
modules/p1
diff --git a/maven-core/lifecycle-executor.txt b/maven-core/lifecycle-executor.txt
index 13ac5454a5..41e98bfdb5 100644
--- a/maven-core/lifecycle-executor.txt
+++ b/maven-core/lifecycle-executor.txt
@@ -36,7 +36,7 @@ We need to turn this list of phases into a set of plugin objects that have an xm
.
.
-
+
We need this form so that the model builder can make the first pass at merging. Full merging cannot be done because we don't know what the version of the plugin is yet that the user has requested. For plugins in the default lifecycle they are typically defined in the plugin management section of the parent POM. When the merging is complete we are going to have something that looks like the following:
@@ -57,11 +57,11 @@ We need this form so that the model builder can make the first pass at merging.
.
-Once we have the version of the plugins the appropriate call to the plugin manager can be made to get the MojoDescriptor for the goal that needs to be run. In the MojoDescriptor we are interested in the element and element. From these elements we need to make a component configuration for the MojoExecution. The actual DOM like structure we create is of type PlexusConfiguration and is the type we use with the ComponentConfigurator to initialize fields in a Plexus component. Typically this is done within Plexus with the configuration supplied with component configuration, but in Maven we take configuration values from the POM. So we have to use the ComponentConfigurator outside of Plexus in order to configurure the Maven Mojo which is just a Plexus component. We can use the information from the MojoDescriptor along with the merged configuration information that is now present in the POM to create the complete PlexusConfiguration used to populate values in the Maven Mojo.
+Once we have the version of the plugins the appropriate call to the plugin manager can be made to get the MojoDescriptor for the goal that needs to be run. In the MojoDescriptor we are interested in the element and element. From these elements we need to make a component configuration for the MojoExecution. The actual DOM like structure we create is of type PlexusConfiguration and is the type we use with the ComponentConfigurator to initialize fields in a Plexus component. Typically this is done within Plexus with the configuration supplied with component configuration, but in Maven we take configuration values from the POM. So we have to use the ComponentConfigurator outside of Plexus in order to configurure the Maven Mojo which is just a Plexus component. We can use the information from the MojoDescriptor along with the merged configuration information that is now present in the POM to create the complete PlexusConfiguration used to populate values in the Maven Mojo.
foreach configuration element:
- if read only and being set squawk
-
+
- find the parameter
- get value from expression or default
- if required and null squawk
diff --git a/maven-core/plugin-manager.txt b/maven-core/plugin-manager.txt
index 43cccd3ed1..f3fcf8e962 100644
--- a/maven-core/plugin-manager.txt
+++ b/maven-core/plugin-manager.txt
@@ -47,50 +47,50 @@ i'l
// - plugins with a dependency the same as the core but different versions, make it fail then fix it
/*
- *
+ *
* h2. Concerns for the plugin manager
- *
+ *
* h3. resolving the dependencies of a plugin - these could be resolved remotely at runtime or, -
* they could be resolved from a local repository - i think we need a simple dependency model here
* that is more mercury related and not Maven related i.e no POMs - workspace resolver - we need
* tools to pre-populate this repository
- *
+ *
* h3. create an isolated classloader
- *
+ *
* h3. lookup the plugin with a configuration
- *
+ *
* h3. execute the plugin
- *
+ *
* h3. plugins may have to deal with particular actions when a plugin is - installed - loaded -
* unloaded - update - uninstalled
- *
+ *
* h3. plugins should be able to have specific metadata for a plugin model and that be translated -
* dependencies - resources - configuration - extension points of plugins
- *
+ *
* For a particular application plugin there will be a declarative descriptor for that plugin type.
- *
+ *
* - nexus - the plugin class - UI to contribute - what JS to hook into the UI - what resources to
* load into the UI - having packed or unpacked plugins, and positioning resources if necessary -
* maven can work out of the classloader, nexus plugins probably couldn't given the js and image
* resources
- *
+ *
* We need to look at Maven, and Nexus as use cases and figure out what each of them needs to be
* able to do
- *
+ *
* - now what is really the difference between this and loading a component in plexus - custom
* classloading capability - remote resolution of dependencies - do we want a model for sharing
* information among plugins, is this more like an extension point - do we need a sort of bus for
* application data - do we need a dictionary for our applications like Apple does. We could easily
* hook into this and this is the model we need to follow - how many of our REST services do not map
* directory to a method in the application interface?
- *
+ *
* - research extension points versus plugins
- *
+ *
* from igor: two plugins A and B, both depend on the same library but use different versions, say
* lib 1.0 and lib 2.0 when debugger hits a breakpoint inside a class from the library, IDE needs to
* know which version of library the class comes from
*/
-
+
This document outlines the concerns of a general plugin manager that would be used in conjunction with any Plexus-based application. The following outlined concerns are an attempt to describe what a plugin manager would need to do for Maven and for Nexus.
h2. Concerns for the plugin manager
@@ -144,8 +144,8 @@ Each application will have its own model for plugins. Much of this model will be
* Configuration metadata and default configuration values
* Extension points that plugins might expose
-h3. The plugin manager may have to deal with particular actions when a plugin is
-
+h3. The plugin manager may have to deal with particular actions when a plugin is
+
* installation
* activation
* update
@@ -158,7 +158,7 @@ We might want to separate between installation and activation, it might be nice
These particular phases in a plugin’s lifecycle can probably be generalized to all plugins so could be something implemented in all plugins. Here we could have the descriptor either point to methods for each of these phases to execute or we could create a lifecycle in Plexus for these phases.
-For a particular application plugin there will be a declarative descriptor for that plugin type.
+For a particular application plugin there will be a declarative descriptor for that plugin type.
h3. Some general notes on Nexus
@@ -168,11 +168,11 @@ The plugin metadata:
* what JS to hook into the UI
* what resources to load into the UI
* having packed or unpacked plugins, and positioning resources if necessary
-* maven can work out of the classloader, nexus plugins probably couldn't given the js and image resources
-
+* maven can work out of the classloader, nexus plugins probably couldn't given the js and image resources
+
h3. Other issues
-We need to look at Maven, and Nexus as use cases and figure out what each of them needs to be able to do
+We need to look at Maven, and Nexus as use cases and figure out what each of them needs to be able to do
* now what is really the difference between this and loading a component in plexus
* do we want a model for sharing information among plugins, is this more like an extension point
@@ -182,4 +182,3 @@ We need to look at Maven, and Nexus as use cases and figure out what each of the
- an example of adding js
- an example of adding a URI
-
\ No newline at end of file
diff --git a/maven-core/src/main/java/org/apache/maven/AbstractMavenLifecycleParticipant.java b/maven-core/src/main/java/org/apache/maven/AbstractMavenLifecycleParticipant.java
index 03db5e6c6f..84b5298755 100644
--- a/maven-core/src/main/java/org/apache/maven/AbstractMavenLifecycleParticipant.java
+++ b/maven-core/src/main/java/org/apache/maven/AbstractMavenLifecycleParticipant.java
@@ -69,7 +69,7 @@ public abstract class AbstractMavenLifecycleParticipant
* code.
*/
public void afterSessionEnd( MavenSession session )
- throws MavenExecutionException
+ throws MavenExecutionException
{
// do nothing
}
diff --git a/maven-core/src/main/java/org/apache/maven/DefaultArtifactFilterManager.java b/maven-core/src/main/java/org/apache/maven/DefaultArtifactFilterManager.java
index da88508e2c..dda35bd90f 100644
--- a/maven-core/src/main/java/org/apache/maven/DefaultArtifactFilterManager.java
+++ b/maven-core/src/main/java/org/apache/maven/DefaultArtifactFilterManager.java
@@ -38,7 +38,7 @@ import org.codehaus.plexus.component.repository.exception.ComponentLookupExcepti
* @todo this should probably be a component with some dynamic control of filtering
*/
@Component( role = ArtifactFilterManager.class )
-public class DefaultArtifactFilterManager
+public class DefaultArtifactFilterManager
implements ArtifactFilterManager
{
diff --git a/maven-core/src/main/java/org/apache/maven/DefaultMaven.java b/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
index fb70bfef61..8fc35e8adc 100644
--- a/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
+++ b/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
@@ -145,7 +145,7 @@ public class DefaultMaven
@Requirement
private SessionScope sessionScope;
-
+
public MavenExecutionResult execute( MavenExecutionRequest request )
{
MavenExecutionResult result;
@@ -176,7 +176,7 @@ public class DefaultMaven
return result;
}
- //
+ //
// 1) Setup initial properties.
//
// 2) Validate local repository directory is accessible.
@@ -208,7 +208,7 @@ public class DefaultMaven
private MavenExecutionResult doExecute( MavenExecutionRequest request )
{
request.setStartTime( new Date() );
-
+
MavenExecutionResult result = new DefaultMavenExecutionResult();
try
@@ -223,14 +223,14 @@ public class DefaultMaven
DefaultRepositorySystemSession repoSession = (DefaultRepositorySystemSession) newRepositorySession( request );
MavenSession session = new MavenSession( container, repoSession, request, result );
-
+
//
// We enter the session scope right after the MavenSession creation and before any of the AbstractLifecycleParticipant lookups
// so that @SessionScoped components can be @Injected into AbstractLifecycleParticipants.
- //
+ //
sessionScope.enter();
sessionScope.seed( MavenSession.class, session );
-
+
legacySupport.setSession( session );
try
@@ -285,7 +285,7 @@ public class DefaultMaven
{
return addExceptionToResult( result, e );
}
-
+
WorkspaceReader reactorWorkspace;
try
{
@@ -295,14 +295,14 @@ public class DefaultMaven
{
return addExceptionToResult( result, e );
}
-
+
//
// Desired order of precedence for local artifact repositories
//
// Reactor
// Workspace
// User Local Repository
- //
+ //
repoSession.setWorkspaceReader( ChainedWorkspaceReader.newInstance( reactorWorkspace,
repoSession.getWorkspaceReader() ) );
@@ -380,7 +380,7 @@ public class DefaultMaven
return result;
}
- private void afterSessionEnd( Collection projects, MavenSession session )
+ private void afterSessionEnd( Collection projects, MavenSession session )
throws MavenExecutionException
{
ClassLoader originalClassLoader = Thread.currentThread().getContextClassLoader();
@@ -641,7 +641,7 @@ public class DefaultMaven
throws ProjectBuildingException
{
MavenExecutionRequest request = session.getRequest();
-
+
request.getProjectBuildingRequest().setRepositorySession( session.getRepositorySession() );
List projects = new ArrayList();
@@ -761,7 +761,7 @@ public class DefaultMaven
for ( MavenProject project : projects )
{
- // MNG-1911 / MNG-5572: Building plugins with extensions cannot be part of reactor
+ // MNG-1911 / MNG-5572: Building plugins with extensions cannot be part of reactor
for ( Plugin plugin : project.getBuildPlugins() )
{
if ( plugin.isExtensions() )
@@ -940,7 +940,7 @@ public class DefaultMaven
return result;
}
-
+
private List trimExcludedProjects( List projects, MavenExecutionRequest request )
throws MavenExecutionException
{
diff --git a/maven-core/src/main/java/org/apache/maven/DuplicateProjectException.java b/maven-core/src/main/java/org/apache/maven/DuplicateProjectException.java
index c58749dde2..b13987295b 100644
--- a/maven-core/src/main/java/org/apache/maven/DuplicateProjectException.java
+++ b/maven-core/src/main/java/org/apache/maven/DuplicateProjectException.java
@@ -26,7 +26,7 @@ import java.util.Map;
/**
* Signals a collision of two or more projects with the same g:a:v during a reactor build.
- *
+ *
* @author Benjamin Bentmann
*/
public class DuplicateProjectException
@@ -37,7 +37,7 @@ public class DuplicateProjectException
/**
* Creates a new exception with specified details.
- *
+ *
* @param message The message text, may be {@code null}.
* @param collisions The POM files of the projects that collided, indexed by their g:a:v, may be {@code null}.
*/
@@ -50,7 +50,7 @@ public class DuplicateProjectException
/**
* Gets the POM files of the projects that collided.
- *
+ *
* @return The POM files of the projects that collided, indexed by their g:a:v, never {@code null}.
*/
public Map> getCollisions()
diff --git a/maven-core/src/main/java/org/apache/maven/FilteredProjectDependencyGraph.java b/maven-core/src/main/java/org/apache/maven/FilteredProjectDependencyGraph.java
index 8d748c9664..e5db6bdfe4 100644
--- a/maven-core/src/main/java/org/apache/maven/FilteredProjectDependencyGraph.java
+++ b/maven-core/src/main/java/org/apache/maven/FilteredProjectDependencyGraph.java
@@ -30,7 +30,7 @@ import org.apache.maven.project.MavenProject;
/**
* Provides a sub view of another dependency graph.
- *
+ *
* @author Benjamin Bentmann
*/
class FilteredProjectDependencyGraph
@@ -45,7 +45,7 @@ class FilteredProjectDependencyGraph
/**
* Creates a new project dependency graph from the specified graph.
- *
+ *
* @param projectDependencyGraph The project dependency graph to create a sub view from, must not be {@code null}.
* @param whiteList The projects on which the dependency view should focus, must not be {@code null}.
*/
diff --git a/maven-core/src/main/java/org/apache/maven/InternalErrorException.java b/maven-core/src/main/java/org/apache/maven/InternalErrorException.java
index 1fd7a78986..afe92c1b31 100644
--- a/maven-core/src/main/java/org/apache/maven/InternalErrorException.java
+++ b/maven-core/src/main/java/org/apache/maven/InternalErrorException.java
@@ -21,7 +21,7 @@ package org.apache.maven;
/**
* Signals an internal error in Maven itself, e.g. a programming bug.
- *
+ *
* @author Benjamin Bentmann
*/
public class InternalErrorException
diff --git a/maven-core/src/main/java/org/apache/maven/Maven.java b/maven-core/src/main/java/org/apache/maven/Maven.java
index 05fb6edb11..85638476c6 100644
--- a/maven-core/src/main/java/org/apache/maven/Maven.java
+++ b/maven-core/src/main/java/org/apache/maven/Maven.java
@@ -30,5 +30,5 @@ public interface Maven
@Deprecated
String POMv4 = "pom.xml";
- MavenExecutionResult execute( MavenExecutionRequest request );
+ MavenExecutionResult execute( MavenExecutionRequest request );
}
\ No newline at end of file
diff --git a/maven-core/src/main/java/org/apache/maven/ReactorReader.java b/maven-core/src/main/java/org/apache/maven/ReactorReader.java
index de31eb8f8f..3aca28d17d 100644
--- a/maven-core/src/main/java/org/apache/maven/ReactorReader.java
+++ b/maven-core/src/main/java/org/apache/maven/ReactorReader.java
@@ -43,7 +43,7 @@ import org.eclipse.aether.util.artifact.ArtifactIdUtils;
/**
* An implementation of a workspace reader that knows how to search the Maven reactor for artifacts, either
* as packaged jar if it has been built, or only compile output directory if packaging hasn't happened yet.
- *
+ *
* @author Jason van Zyl
*/
@Named( ReactorReader.HINT )
@@ -52,7 +52,7 @@ class ReactorReader
implements WorkspaceReader
{
public static final String HINT = "reactor";
-
+
private static final Collection COMPILE_PHASE_TYPES = Arrays.asList( "jar", "ejb-client" );
private Map projectsByGAV;
@@ -193,7 +193,7 @@ class ReactorReader
/**
* Tries to resolve the specified artifact from the artifacts of the given project.
- *
+ *
* @param project The project to try to resolve the artifact from, must not be null.
* @param requestedArtifact The artifact to resolve, must not be null.
* @return The matching artifact from the project or null if not found. Note that this
@@ -234,7 +234,7 @@ class ReactorReader
/**
* Determines whether the specified artifact refers to test classes.
- *
+ *
* @param artifact The artifact to check, must not be {@code null}.
* @return {@code true} if the artifact refers to test classes, {@code false} otherwise.
*/
diff --git a/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java b/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
index 9190c0c230..d7fd88e27e 100644
--- a/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
+++ b/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
@@ -49,7 +49,7 @@ import org.eclipse.aether.util.repository.AuthenticationBuilder;
/**
* Warning: This is an internal utility class that is only public for technical reasons, it is not part
* of the public API. In particular, this class can be changed or deleted without prior notice.
- *
+ *
* @author Benjamin Bentmann
*/
public class RepositoryUtils
diff --git a/maven-core/src/main/java/org/apache/maven/SessionScoped.java b/maven-core/src/main/java/org/apache/maven/SessionScoped.java
index 3a1692ff3e..f44ddbf996 100644
--- a/maven-core/src/main/java/org/apache/maven/SessionScoped.java
+++ b/maven-core/src/main/java/org/apache/maven/SessionScoped.java
@@ -29,7 +29,7 @@ import com.google.inject.ScopeAnnotation;
/**
* Indicates that annotated component should be instantiated before session starts and discarded after session execution completes.
- *
+ *
* @author Jason van Zyl
* @since 3.2.0
*/
diff --git a/maven-core/src/main/java/org/apache/maven/artifact/repository/DefaultRepositoryRequest.java b/maven-core/src/main/java/org/apache/maven/artifact/repository/DefaultRepositoryRequest.java
index 16cdeffbf2..6b18789dea 100644
--- a/maven-core/src/main/java/org/apache/maven/artifact/repository/DefaultRepositoryRequest.java
+++ b/maven-core/src/main/java/org/apache/maven/artifact/repository/DefaultRepositoryRequest.java
@@ -27,7 +27,7 @@ import org.apache.maven.project.MavenProject;
/**
* Collects basic settings to access the repository system.
- *
+ *
* @author Benjamin Bentmann
*/
public class DefaultRepositoryRequest
@@ -52,7 +52,7 @@ public class DefaultRepositoryRequest
/**
* Creates a shallow copy of the specified repository request.
- *
+ *
* @param repositoryRequest The repository request to copy from, must not be {@code null}.
*/
public DefaultRepositoryRequest( RepositoryRequest repositoryRequest )
diff --git a/maven-core/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java b/maven-core/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java
index 159d3e3f33..f56fb45949 100644
--- a/maven-core/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java
+++ b/maven-core/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java
@@ -47,7 +47,7 @@ import org.eclipse.aether.repository.RemoteRepository;
/**
* Warning: This is an internal utility class that is only public for technical reasons, it is not part
* of the public API. In particular, this class can be changed or deleted without prior notice.
- *
+ *
* @author Benjamin Bentmann
*/
public class LegacyLocalRepositoryManager
diff --git a/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java b/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java
index 8f4744388b..8e45b20305 100644
--- a/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java
+++ b/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java
@@ -142,7 +142,7 @@ public class MavenArtifactRepository
{
sb.append( " proxy: " ).append( proxy.getHost() ).append( ":" ).append( proxy.getPort() ).append( "\n" );
}
-
+
if ( snapshots != null )
{
sb.append( "snapshots: [enabled => " ).append( snapshots.isEnabled() );
diff --git a/maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryCache.java b/maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryCache.java
index 3afe33d359..bf79d69857 100644
--- a/maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryCache.java
+++ b/maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryCache.java
@@ -22,7 +22,7 @@ package org.apache.maven.artifact.repository;
/**
* Caches auxiliary data used during repository access like already processed metadata. The data in the cache is meant
* for exclusive consumption by the repository system and is opaque to the cache implementation.
- *
+ *
* @author Benjamin Bentmann
*/
@Deprecated
@@ -37,7 +37,7 @@ public interface RepositoryCache
* Puts the specified data into the cache. Warning: The cache will directly save the provided
* reference. If the cached data is mutable, i.e. could be modified after being put into the cache, the caller is
* responsible for creating a copy of the original data and store the copy in the cache.
- *
+ *
* @param request The repository request from which this cache was retrieved, must not be {@code null}.
* @param key The key to use associate the data with, must not be {@code null}.
* @param data The data to store in the cache, may be {@code null}.
@@ -48,7 +48,7 @@ public interface RepositoryCache
* Gets the specified data from the cache. Warning: The cache will directly return the saved
* reference. If the cached data is to be modified after its retrieval, the caller is responsible to create a copy
* of the returned data and use this instead of the cache record.
- *
+ *
* @param request The repository request from which this cache was retrieved, must not be {@code null}.
* @param key The key to use for lookup of the data, must not be {@code null}.
* @return The requested data or {@code null} if none was present in the cache.
diff --git a/maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryRequest.java b/maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryRequest.java
index 870e4f683a..55f60686ff 100644
--- a/maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryRequest.java
+++ b/maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryRequest.java
@@ -23,7 +23,7 @@ import java.util.List;
/**
* Collects basic settings to access the repository system.
- *
+ *
* @author Benjamin Bentmann
*/
public interface RepositoryRequest
@@ -31,14 +31,14 @@ public interface RepositoryRequest
/**
* Indicates whether network access to remote repositories has been disabled.
- *
+ *
* @return {@code true} if remote access has been disabled, {@code false} otherwise.
*/
boolean isOffline();
/**
* Enables/disables network access to remote repositories.
- *
+ *
* @param offline {@code true} to disable remote access, {@code false} to allow network access.
* @return This request, never {@code null}.
*/
@@ -47,7 +47,7 @@ public interface RepositoryRequest
/**
* Indicates whether remote repositories should be re-checked for updated artifacts/metadata regardless of their
* configured update policy.
- *
+ *
* @return {@code true} if remote repositories should be re-checked for updated artifacts/metadata, {@code false}
* otherwise.
*/
@@ -55,7 +55,7 @@ public interface RepositoryRequest
/**
* Enables/disabled forced checks for updated artifacts/metadata on remote repositories.
- *
+ *
* @param forceUpdate {@code true} to forcibly check the remote repositories for updated artifacts/metadata, {@code
* false} to use the update policy configured on each repository.
* @return This request, never {@code null}.
@@ -64,14 +64,14 @@ public interface RepositoryRequest
/**
* Gets the local repository to use.
- *
+ *
* @return The local repository to use or {@code null} if not set.
*/
ArtifactRepository getLocalRepository();
/**
* Sets the local repository to use.
- *
+ *
* @param localRepository The local repository to use.
* @return This request, never {@code null}.
*/
@@ -79,14 +79,14 @@ public interface RepositoryRequest
/**
* Gets the remote repositories to use.
- *
+ *
* @return The remote repositories to use, never {@code null}.
*/
List getRemoteRepositories();
/**
* Sets the remote repositories to use.
- *
+ *
* @param remoteRepositories The remote repositories to use.
* @return This request, never {@code null}.
*/
diff --git a/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java b/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java
index 58e3c5acec..e1e5fe3f83 100644
--- a/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java
+++ b/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java
@@ -56,7 +56,7 @@ public abstract class AbstractRepositoryMetadata
}
public String getLocalFilename( ArtifactRepository repository )
- {
+ {
return "maven-metadata-" + repository.getKey() + ".xml";
}
@@ -208,7 +208,7 @@ public abstract class AbstractRepositoryMetadata
AbstractRepositoryMetadata repoMetadata = (AbstractRepositoryMetadata) metadata;
this.metadata.merge( repoMetadata.getMetadata() );
}
-
+
public void merge( ArtifactMetadata metadata )
{
// TODO: not sure that it should assume this, maybe the calls to addMetadata should pre-merge, then artifact replaces?
diff --git a/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java b/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java
index f8c55acce6..6a1578d894 100644
--- a/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java
+++ b/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java
@@ -34,7 +34,7 @@ import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
/**
* Handles deserialization of metadata from some kind of textual format like XML.
- *
+ *
* @author Benjamin Bentmann
*/
@Component( role = MetadataReader.class )
diff --git a/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataParseException.java b/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataParseException.java
index 8240cf5bae..e3e141b101 100644
--- a/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataParseException.java
+++ b/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataParseException.java
@@ -23,7 +23,7 @@ import java.io.IOException;
/**
* Signals a failure to parse the metadata due to invalid syntax (e.g. non-wellformed XML or unknown elements).
- *
+ *
* @author Benjamin Bentmann
*/
public class MetadataParseException
@@ -42,7 +42,7 @@ public class MetadataParseException
/**
* Creates a new parser exception with the specified details.
- *
+ *
* @param message The error message, may be {@code null}.
* @param lineNumber The one-based index of the line containing the error or {@code -1} if unknown.
* @param columnNumber The one-based index of the column containing the error or {@code -1} if unknown.
@@ -56,7 +56,7 @@ public class MetadataParseException
/**
* Creates a new parser exception with the specified details.
- *
+ *
* @param message The error message, may be {@code null}.
* @param lineNumber The one-based index of the line containing the error or {@code -1} if unknown.
* @param columnNumber The one-based index of the column containing the error or {@code -1} if unknown.
@@ -72,7 +72,7 @@ public class MetadataParseException
/**
* Gets the one-based index of the line containing the error.
- *
+ *
* @return The one-based index of the line containing the error or a non-positive value if unknown.
*/
public int getLineNumber()
@@ -82,7 +82,7 @@ public class MetadataParseException
/**
* Gets the one-based index of the column containing the error.
- *
+ *
* @return The one-based index of the column containing the error or non-positive value if unknown.
*/
public int getColumnNumber()
diff --git a/maven-core/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java b/maven-core/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java
index 890b466211..050ec47891 100644
--- a/maven-core/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java
+++ b/maven-core/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java
@@ -61,9 +61,9 @@ public class ArtifactResolutionRequest
// Needs to go away
private List listeners = new ArrayList();
- // This is like a filter but overrides all transitive versions
+ // This is like a filter but overrides all transitive versions
private Map managedVersionMap;
-
+
private boolean resolveRoot = true;
private boolean resolveTransitively = false;
@@ -141,7 +141,7 @@ public class ArtifactResolutionRequest
/**
* Gets the artifact filter that controls traversal of the dependency graph.
- *
+ *
* @return The filter used to determine which of the artifacts in the dependency graph should be traversed or
* {@code null} to collect all transitive dependencies.
*/
@@ -160,7 +160,7 @@ public class ArtifactResolutionRequest
/**
* Gets the artifact filter that controls downloading of artifact files. This filter operates on those artifacts
* that have been included by the {@link #getCollectionFilter()}.
- *
+ *
* @return The filter used to determine which of the artifacts should have their files resolved or {@code null} to
* resolve the files for all collected artifacts.
*/
@@ -182,12 +182,12 @@ public class ArtifactResolutionRequest
}
public ArtifactResolutionRequest setListeners( List listeners )
- {
+ {
this.listeners = listeners;
-
+
return this;
}
-
+
public ArtifactResolutionRequest addListener( ResolutionListener listener )
{
listeners.add( listener );
@@ -210,26 +210,26 @@ public class ArtifactResolutionRequest
public ArtifactResolutionRequest setResolveRoot( boolean resolveRoot )
{
this.resolveRoot = resolveRoot;
-
+
return this;
}
-
+
public boolean isResolveRoot()
{
return resolveRoot;
- }
+ }
public ArtifactResolutionRequest setResolveTransitively( boolean resolveDependencies )
{
this.resolveTransitively = resolveDependencies;
-
+
return this;
}
-
+
public boolean isResolveTransitively()
{
return resolveTransitively;
- }
+ }
public String toString()
{
@@ -239,7 +239,7 @@ public class ArtifactResolutionRequest
.append( artifactDependencies ).append( "\n" )
.append( "localRepository: " ).append( localRepository ).append( "\n" )
.append( "remoteRepositories: " ).append( remoteRepositories ).append( "\n" );
-
+
return sb.toString();
}
@@ -322,8 +322,8 @@ public class ArtifactResolutionRequest
// Used by Tycho and will break users and force them to upgrade to Maven 3.1 so we should really leave
// this here, possibly indefinitely.
//
- public ArtifactResolutionRequest setCache( RepositoryCache cache )
- {
- return this;
- }
+ public ArtifactResolutionRequest setCache( RepositoryCache cache )
+ {
+ return this;
+ }
}
diff --git a/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilter.java b/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilter.java
index d6f97d866a..5c6689dec9 100644
--- a/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilter.java
+++ b/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilter.java
@@ -35,7 +35,7 @@ import org.apache.maven.artifact.Artifact;
public class AndArtifactFilter
implements ArtifactFilter
{
- private Set filters;
+ private Set filters;
public AndArtifactFilter()
{
@@ -46,7 +46,7 @@ public class AndArtifactFilter
{
this.filters = new LinkedHashSet( filters );
}
-
+
public boolean include( Artifact artifact )
{
boolean include = true;
@@ -86,14 +86,14 @@ public class AndArtifactFilter
{
return true;
}
-
+
if ( !( obj instanceof AndArtifactFilter ) )
{
return false;
}
-
+
AndArtifactFilter other = (AndArtifactFilter) obj;
-
+
return filters.equals( other.filters );
}
}
diff --git a/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/CumulativeScopeArtifactFilter.java b/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/CumulativeScopeArtifactFilter.java
index 1a6b8a82e4..fb0afcfb95 100644
--- a/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/CumulativeScopeArtifactFilter.java
+++ b/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/CumulativeScopeArtifactFilter.java
@@ -28,7 +28,7 @@ import java.util.Set;
* scopes and their associated implied scopes, so that the user can filter apply a series of implication rules in a
* single step. This should be a more efficient implementation of multiple standard {@link ScopeArtifactFilter}
* instances ORed together.
- *
+ *
* @author Brett Porter
* @author jdcasey
*/
@@ -40,7 +40,7 @@ public class CumulativeScopeArtifactFilter
/**
* Create a new filter with the specified scopes and their implied scopes enabled.
- *
+ *
* @param scopes The scopes to enable, along with all implied scopes, may be {@code null}.
*/
public CumulativeScopeArtifactFilter( Collection scopes )
@@ -52,7 +52,7 @@ public class CumulativeScopeArtifactFilter
/**
* Creates a new filter that combines the specified filters.
- *
+ *
* @param filters The filters to combine, may be {@code null}.
*/
public CumulativeScopeArtifactFilter( CumulativeScopeArtifactFilter... filters )
diff --git a/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionSetFilter.java b/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionSetFilter.java
index 45ce84585e..c3dc9812ff 100644
--- a/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionSetFilter.java
+++ b/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionSetFilter.java
@@ -73,14 +73,14 @@ public class ExclusionSetFilter
{
return true;
}
-
+
if ( !( obj instanceof ExclusionSetFilter ) )
{
return false;
}
-
+
ExclusionSetFilter other = (ExclusionSetFilter) obj;
-
+
return excludes.equals( other.excludes );
}
}
diff --git a/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/IncludesArtifactFilter.java b/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/IncludesArtifactFilter.java
index aeeb3c7e06..403e12513d 100644
--- a/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/IncludesArtifactFilter.java
+++ b/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/IncludesArtifactFilter.java
@@ -68,19 +68,19 @@ public class IncludesArtifactFilter
{
int hash = 17;
hash = hash * 31 + patterns.hashCode();
-
+
return hash;
}
@Override
public boolean equals( Object obj )
{
- if ( this == obj )
+ if ( this == obj )
{
return true;
}
- // make sure IncludesArtifactFilter is not equal ExcludesArtifactFilter!
+ // make sure IncludesArtifactFilter is not equal ExcludesArtifactFilter!
if ( obj == null || getClass() != obj.getClass() )
{
return false;
diff --git a/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java b/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java
index 80aee224d6..839c089190 100644
--- a/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java
+++ b/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java
@@ -79,7 +79,7 @@ public class MavenRepositorySystem
@Requirement
private ArtifactHandlerManager artifactHandlerManager;
-
+
@Requirement
private ArtifactResolver artifactResolver;
@@ -91,7 +91,7 @@ public class MavenRepositorySystem
@Requirement
private SettingsDecrypter settingsDecrypter;
-
+
// DefaultProjectBuilder
public Artifact createArtifact( String groupId, String artifactId, String version, String scope, String type )
{
@@ -600,7 +600,7 @@ public class MavenRepositorySystem
return repository;
}
-
+
// ArtifactFactory
private Artifact XcreateArtifact( String groupId, String artifactId, String version, String scope, String type )
{
@@ -694,5 +694,5 @@ public class MavenRepositorySystem
return new DefaultArtifact( groupId, artifactId, versionRange, desiredScope, type, classifier, handler,
optional );
- }
+ }
}
diff --git a/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmConstituent.java b/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmConstituent.java
index 742b80fc8f..f658eb4359 100644
--- a/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmConstituent.java
+++ b/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmConstituent.java
@@ -23,7 +23,7 @@ import java.io.File;
/**
* Describes a constituent of a class realm.
- *
+ *
* @author Benjamin Bentmann
*/
public interface ClassRealmConstituent
@@ -31,42 +31,42 @@ public interface ClassRealmConstituent
/**
* Gets the group id of the constituent's artifact.
- *
+ *
* @return The group id, never {@code null}.
*/
String getGroupId();
/**
* Gets the artifact id of the constituent's artifact.
- *
+ *
* @return The artifact id, never {@code null}.
*/
String getArtifactId();
/**
* Gets the type of the constituent's artifact.
- *
+ *
* @return The type, never {@code null}.
*/
String getType();
/**
* Gets the classifier of the constituent's artifact.
- *
+ *
* @return The classifier or an empty string, never {@code null}.
*/
String getClassifier();
/**
* Gets the version of the constituent's artifact.
- *
+ *
* @return The version, never {@code null}.
*/
String getVersion();
/**
* Gets the file of the constituent's artifact.
- *
+ *
* @return The file, never {@code null}.
*/
File getFile();
diff --git a/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmManager.java b/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmManager.java
index 9391f6ac01..e5d15143ed 100644
--- a/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmManager.java
+++ b/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmManager.java
@@ -31,7 +31,7 @@ import org.eclipse.aether.artifact.Artifact;
* Manages the class realms used by Maven. Warning: This is an internal utility interface that is only
* public for technical reasons, it is not part of the public API. In particular, this interface can be changed or
* deleted without prior notice.
- *
+ *
* @author Benjamin Bentmann
*/
public interface ClassRealmManager
@@ -39,21 +39,21 @@ public interface ClassRealmManager
/**
* Gets the class realm hosting the Maven core.
- *
+ *
* @return The class realm hosting the Maven core, never {@code null}.
*/
ClassRealm getCoreRealm();
/**
* Gets the class realm exposing the Maven API. This is basically a restricted view on the Maven core realm.
- *
+ *
* @return The class realm exposing the Maven API, never {@code null}.
*/
ClassRealm getMavenApiRealm();
/**
* Creates a new class realm for the specified project and its build extensions.
- *
+ *
* @param model The model of the project for which to create a realm, must not be {@code null}.
* @param artifacts The artifacts to add to the class realm, may be {@code null}. Unresolved artifacts (i.e. with a
* missing file) will automatically be excluded from the realm.
@@ -63,7 +63,7 @@ public interface ClassRealmManager
/**
* Creates a new class realm for the specified build extension.
- *
+ *
* @param extension The extension plugin for which to create a realm, must not be {@code null}.
* @param artifacts The artifacts to add to the class realm, may be {@code null}. Unresolved artifacts (i.e. with a
* missing file) will automatically be excluded from the realm.
@@ -73,7 +73,7 @@ public interface ClassRealmManager
/**
* Creates a new class realm for the specified plugin.
- *
+ *
* @param plugin The plugin for which to create a realm, must not be {@code null}.
* @param parent The parent realm for the new realm, may be {@code null}.
* @param parentImports The packages/types to import from the parent realm, may be {@code null}.
diff --git a/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmManagerDelegate.java b/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmManagerDelegate.java
index d882c99ede..b0229b9793 100644
--- a/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmManagerDelegate.java
+++ b/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmManagerDelegate.java
@@ -25,7 +25,7 @@ import org.codehaus.plexus.classworlds.realm.ClassRealm;
/**
* ClassRealmManagerDelegate is used to perform addition configuration of
* class realms created by ClassRealmManager.
- *
+ *
* @author igor
*/
public interface ClassRealmManagerDelegate
diff --git a/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmRequest.java b/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmRequest.java
index 24f3819e69..9b62108fc1 100644
--- a/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmRequest.java
+++ b/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmRequest.java
@@ -24,7 +24,7 @@ import java.util.Map;
/**
* Describes the requirements for a new class realm.
- *
+ *
* @author Benjamin Bentmann
*/
public interface ClassRealmRequest
@@ -58,14 +58,14 @@ public interface ClassRealmRequest
/**
* Gets the type of the class realm.
- *
+ *
* @return The type of the class realm, never {@code null}.
*/
RealmType getType();
/**
* Gets the parent class realm (if any).
- *
+ *
* @return The parent class realm or {@code null} if using the default parent.
*/
ClassLoader getParent();
@@ -78,21 +78,21 @@ public interface ClassRealmRequest
/**
* Gets the packages/types to import from the parent realm.
- *
+ *
* @return The modifiable list of packages/types to import from the parent realm, never {@code null}.
*/
List getParentImports();
/**
* Gets the packages/types to import from foreign realms.
- *
+ *
* @return The modifiable map of packages/types to import from foreign realms, never {@code null}.
*/
Map getForeignImports();
/**
* Gets the constituents for the class realm.
- *
+ *
* @return The modifiable list of constituents for the class realm, never {@code null}.
*/
List getConstituents();
diff --git a/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java b/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java
index b718ef1d03..3584d53416 100644
--- a/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java
+++ b/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java
@@ -51,7 +51,7 @@ import org.eclipse.aether.artifact.Artifact;
* Manages the class realms used by Maven. Warning: This is an internal utility class that is only
* public for technical reasons, it is not part of the public API. In particular, this class can be changed or deleted
* without prior notice.
- *
+ *
* @author Benjamin Bentmann
*/
@Component( role = ClassRealmManager.class )
@@ -227,7 +227,7 @@ public class DefaultClassRealmManager
/**
* Creates a new class realm with the specified parent and imports.
- *
+ *
* @param baseRealmId The base id to use for the new realm, must not be {@code null}.
* @param type The type of the class realm, must not be {@code null}.
* @param parent The parent realm for the new realm, may be {@code null}.
diff --git a/maven-core/src/main/java/org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java b/maven-core/src/main/java/org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java
index b72346445d..9859f586ad 100644
--- a/maven-core/src/main/java/org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java
+++ b/maven-core/src/main/java/org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java
@@ -23,7 +23,7 @@ import java.io.File;
/**
* A path translator that resolves relative paths against a specific base directory.
- *
+ *
* @author Benjamin Bentmann
*/
public class BasedirBeanConfigurationPathTranslator
@@ -34,7 +34,7 @@ public class BasedirBeanConfigurationPathTranslator
/**
* Creates a new path translator using the specified base directory.
- *
+ *
* @param basedir The base directory to resolve relative paths against, may be {@code null} to disable path
* translation.
*/
diff --git a/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationException.java b/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationException.java
index 1d8c57f1c6..3d10ed4a52 100644
--- a/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationException.java
+++ b/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationException.java
@@ -21,7 +21,7 @@ package org.apache.maven.configuration;
/**
* Thrown when a bean couldn't be configured.
- *
+ *
* @author Benjamin Bentmann
*/
public class BeanConfigurationException
diff --git a/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationPathTranslator.java b/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationPathTranslator.java
index bfa53c7152..396633916e 100644
--- a/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationPathTranslator.java
+++ b/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationPathTranslator.java
@@ -24,7 +24,7 @@ import java.io.File;
/**
* Postprocesses filesystem paths. For instance, a path translator might want to resolve relative paths given in the
* bean configuration against some base directory.
- *
+ *
* @author Benjamin Bentmann
*/
public interface BeanConfigurationPathTranslator
@@ -32,7 +32,7 @@ public interface BeanConfigurationPathTranslator
/**
* Translates the specified path.
- *
+ *
* @param path The path to translate, may be {@code null}.
* @return The translated path or {@code null} if none.
*/
diff --git a/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationRequest.java b/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationRequest.java
index 6f3f2fe520..d19aa2044e 100644
--- a/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationRequest.java
+++ b/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationRequest.java
@@ -21,7 +21,7 @@ package org.apache.maven.configuration;
/**
* A request to configure a bean from some configuration in the POM or similar.
- *
+ *
* @author Benjamin Bentmann
*/
public interface BeanConfigurationRequest
@@ -29,14 +29,14 @@ public interface BeanConfigurationRequest
/**
* Gets the bean to configure. Eventually, a valid request must have a bean set.
- *
+ *
* @return The bean to configure, or {@code null} if none.
*/
Object getBean();
/**
* Sets the bean to configure. Eventually, a valid request must have a bean set.
- *
+ *
* @param bean The bean to configure, may be {@code null}.
* @return This request for chaining, never {@code null}.
*/
@@ -44,7 +44,7 @@ public interface BeanConfigurationRequest
/**
* Gets the configuration to unmarshal into the bean.
- *
+ *
* @return The configuration to unmarshal into the bean or {@code null} if none.
*/
Object getConfiguration();
@@ -53,7 +53,7 @@ public interface BeanConfigurationRequest
* Sets the configuration to unmarshal into the bean. The configuration should be taken from
* {@link org.apache.maven.model.ConfigurationContainer#getConfiguration()} or a similar source.
* Fully equivalent to {@code setConfiguration(configuration, null)}.
- *
+ *
* @param configuration The configuration to unmarshal, may be {@code null}.
* @return This request for chaining, never {@code null}.
*/
@@ -62,9 +62,9 @@ public interface BeanConfigurationRequest
/**
* Sets the configuration to unmarshal into the bean. The configuration should be taken from
* {@link org.apache.maven.model.ConfigurationContainer#getConfiguration()} or a similar source.
- * If {@code element} is not {@code null}, child configuration element with the specified name will
+ * If {@code element} is not {@code null}, child configuration element with the specified name will
* be unmarshaled.
- *
+ *
* @param configuration The configuration to unmarshal, may be {@code null}.
* @param element Configuration element name to unmarshal or {@code null} to unmarshal entire configuration.
* @return This request for chaining, never {@code null}.
@@ -72,10 +72,10 @@ public interface BeanConfigurationRequest
BeanConfigurationRequest setConfiguration( Object configuration, String element );
/**
- * Returns configuration element name or {@code null}.
- *
+ * Returns configuration element name or {@code null}.
+ *
* @see #setConfiguration(Object, String)
- *
+ *
* @return Configuration element name or {@code null}
*/
String getConfigurationElement();
@@ -83,7 +83,7 @@ public interface BeanConfigurationRequest
/**
* Gets the class loader from which to load any types referenced by the configuration. If unset, the class loader of
* the bean class will be used.
- *
+ *
* @return The class loader to load referenced types from or {@code null} if unset.
*/
ClassLoader getClassLoader();
@@ -91,7 +91,7 @@ public interface BeanConfigurationRequest
/**
* Sets the class loader from which to load any types referenced by the configuration. If unset, the class loader of
* the bean class will be used.
- *
+ *
* @param classLoader The class loader to load referenced types from, may be {@code null}.
* @return This request for chaining, never {@code null}.
*/
@@ -99,14 +99,14 @@ public interface BeanConfigurationRequest
/**
* Gets the optional preprocessor for configuration values.
- *
+ *
* @return The preprocessor for configuration values or {@code null} if none.
*/
BeanConfigurationValuePreprocessor getValuePreprocessor();
/**
* Sets the optional preprocessor for configuration values.
- *
+ *
* @param valuePreprocessor The preprocessor for configuration values, may be {@code null} if unneeded.
* @return This request for chaining, never {@code null}.
*/
@@ -114,14 +114,14 @@ public interface BeanConfigurationRequest
/**
* Gets the optional path translator for configuration values unmarshalled to files.
- *
+ *
* @return The path translator for files or {@code null} if none.
*/
BeanConfigurationPathTranslator getPathTranslator();
/**
* Sets the optional path translator for configuration values unmarshalled to files.
- *
+ *
* @param pathTranslator The path translator for files, may be {@code null} if unneeded.
* @return This request for chaining, never {@code null}.
*/
diff --git a/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationValuePreprocessor.java b/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationValuePreprocessor.java
index e00194e66c..63f8517399 100644
--- a/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationValuePreprocessor.java
+++ b/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationValuePreprocessor.java
@@ -22,7 +22,7 @@ package org.apache.maven.configuration;
/**
* Preprocesses a value from a bean configuration before the bean configurator unmarshals it into a bean property. A
* common use case for such preprocessing is the evaluation of variables within the configuration value.
- *
+ *
* @author Benjamin Bentmann
*/
public interface BeanConfigurationValuePreprocessor
@@ -33,7 +33,7 @@ public interface BeanConfigurationValuePreprocessor
* requirement) for the preprocessor to resolve the value to a compatible value or a (string) value than can be
* unmarshalled into that type. The preprocessor is not required to perform any type conversion but should rather
* filter out incompatible values from its result.
- *
+ *
* @param value The configuration value to preprocess, must not be {@code null}.
* @param type The target type of the value, may be {@code null}.
* @return The processed configuration value or {@code null} if none.
diff --git a/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurator.java b/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurator.java
index 74993be701..36d23ecac9 100644
--- a/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurator.java
+++ b/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurator.java
@@ -24,7 +24,7 @@ package org.apache.maven.configuration;
* similar to the way Maven configures plugins from the POM, i.e. some configuration like {@code value}
* is mapped to an equally named property of the bean and converted. The properties of the bean are supposed to either
* have a public setter or be backed by an equally named field (of any visibility).
- *
+ *
* @since 3.0
* @author Benjamin Bentmann
*/
@@ -33,7 +33,7 @@ public interface BeanConfigurator
/**
* Performs the specified bean configuration.
- *
+ *
* @param request The configuration request that specifies the bean and the configuration to process, must not be
* {@code null}.
* @throws BeanConfigurationException If the bean configuration could not be successfully processed.
diff --git a/maven-core/src/main/java/org/apache/maven/configuration/DefaultBeanConfigurationRequest.java b/maven-core/src/main/java/org/apache/maven/configuration/DefaultBeanConfigurationRequest.java
index ab46c18a8c..32def48f35 100644
--- a/maven-core/src/main/java/org/apache/maven/configuration/DefaultBeanConfigurationRequest.java
+++ b/maven-core/src/main/java/org/apache/maven/configuration/DefaultBeanConfigurationRequest.java
@@ -28,7 +28,7 @@ import org.codehaus.plexus.util.StringUtils;
/**
* A basic bean configuration request.
- *
+ *
* @author Benjamin Bentmann
*/
public class DefaultBeanConfigurationRequest
@@ -83,7 +83,7 @@ public class DefaultBeanConfigurationRequest
/**
* Sets the configuration to the configuration taken from the specified build plugin in the POM. First, the build
* plugins will be searched for the specified plugin, if that fails, the plugin management section will be searched.
- *
+ *
* @param model The POM to extract the plugin configuration from, may be {@code null}.
* @param pluginGroupId The group id of the plugin whose configuration should be used, must not be {@code null} or
* empty.
diff --git a/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java b/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java
index 32b8ae4e20..3d3def621c 100644
--- a/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java
+++ b/maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java
@@ -40,7 +40,7 @@ import org.codehaus.plexus.util.xml.Xpp3Dom;
/**
* Warning: This is an internal class that is only public for technical reasons, it is not part of the
* public API. In particular, this class can be changed or deleted without prior notice.
- *
+ *
* @author Benjamin Bentmann
*/
@Component( role = BeanConfigurator.class )
diff --git a/maven-core/src/main/java/org/apache/maven/eventspy/EventSpy.java b/maven-core/src/main/java/org/apache/maven/eventspy/EventSpy.java
index a183b82f3f..4284fce9be 100644
--- a/maven-core/src/main/java/org/apache/maven/eventspy/EventSpy.java
+++ b/maven-core/src/main/java/org/apache/maven/eventspy/EventSpy.java
@@ -37,7 +37,7 @@ public interface EventSpy
/**
* Gets key-value pairs providing information about the Maven runtime.
- *
+ *
* @return The key-value pairs, never {@code null}.
*/
Map getData();
@@ -46,7 +46,7 @@ public interface EventSpy
/**
* Initializes the spy.
- *
+ *
* @param context The event spy context, never {@code null}.
*/
void init( Context context )
@@ -54,7 +54,7 @@ public interface EventSpy
/**
* Notifies the spy of some build event/operation.
- *
+ *
* @param event The event, never {@code null}.
* @see org.apache.maven.settings.building.SettingsBuildingRequest
* @see org.apache.maven.settings.building.SettingsBuildingResult
diff --git a/maven-core/src/main/java/org/apache/maven/exception/ExceptionHandler.java b/maven-core/src/main/java/org/apache/maven/exception/ExceptionHandler.java
index 945edf6358..47865f679b 100644
--- a/maven-core/src/main/java/org/apache/maven/exception/ExceptionHandler.java
+++ b/maven-core/src/main/java/org/apache/maven/exception/ExceptionHandler.java
@@ -24,7 +24,7 @@ package org.apache.maven.exception;
*
* @since 3.0-alpha-3
*/
-public interface ExceptionHandler
+public interface ExceptionHandler
{
ExceptionSummary handleException( Throwable e );
}
diff --git a/maven-core/src/main/java/org/apache/maven/execution/BuildFailure.java b/maven-core/src/main/java/org/apache/maven/execution/BuildFailure.java
index 82da4dc0e6..bf8f62baff 100644
--- a/maven-core/src/main/java/org/apache/maven/execution/BuildFailure.java
+++ b/maven-core/src/main/java/org/apache/maven/execution/BuildFailure.java
@@ -23,7 +23,7 @@ import org.apache.maven.project.MavenProject;
/**
* Summarizes the result of a failed project build in the reactor.
- *
+ *
* @author Benjamin Bentmann
*/
public class BuildFailure
@@ -37,7 +37,7 @@ public class BuildFailure
/**
* Creates a new build summary for the specified project.
- *
+ *
* @param project The project being summarized, must not be {@code null}.
* @param time The build time of the project in milliseconds.
* @param cause The cause of the build failure, may be {@code null}.
@@ -50,7 +50,7 @@ public class BuildFailure
/**
* Gets the cause of the build failure.
- *
+ *
* @return The cause of the build failure or {@code null} if unknown.
*/
public Throwable getCause()
diff --git a/maven-core/src/main/java/org/apache/maven/execution/BuildSuccess.java b/maven-core/src/main/java/org/apache/maven/execution/BuildSuccess.java
index 6d9d7d7652..3d0e8bd7b2 100644
--- a/maven-core/src/main/java/org/apache/maven/execution/BuildSuccess.java
+++ b/maven-core/src/main/java/org/apache/maven/execution/BuildSuccess.java
@@ -23,7 +23,7 @@ import org.apache.maven.project.MavenProject;
/**
* Summarizes the result of a successful project build in the reactor.
- *
+ *
* @author Benjamin Bentmann
*/
public class BuildSuccess
@@ -32,7 +32,7 @@ public class BuildSuccess
/**
* Creates a new build summary for the specified project.
- *
+ *
* @param project The project being summarized, must not be {@code null}.
* @param time The build time of the project in milliseconds.
*/
diff --git a/maven-core/src/main/java/org/apache/maven/execution/BuildSummary.java b/maven-core/src/main/java/org/apache/maven/execution/BuildSummary.java
index 93754d8478..ec23f72130 100644
--- a/maven-core/src/main/java/org/apache/maven/execution/BuildSummary.java
+++ b/maven-core/src/main/java/org/apache/maven/execution/BuildSummary.java
@@ -23,7 +23,7 @@ import org.apache.maven.project.MavenProject;
/**
* Summarizes the result of a project build in the reactor.
- *
+ *
* @author Benjamin Bentmann
*/
public abstract class BuildSummary
@@ -41,7 +41,7 @@ public abstract class BuildSummary
/**
* Creates a new build summary for the specified project.
- *
+ *
* @param project The project being summarized, must not be {@code null}.
* @param time The build time of the project in milliseconds.
*/
@@ -57,7 +57,7 @@ public abstract class BuildSummary
/**
* Gets the project being summarized.
- *
+ *
* @return The project being summarized, never {@code null}.
*/
public MavenProject getProject()
@@ -67,7 +67,7 @@ public abstract class BuildSummary
/**
* Gets the build time of the project in milliseconds.
- *
+ *
* @return The build time of the project in milliseconds.
*/
public long getTime()
diff --git a/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java b/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java
index 11329d0f51..df91f828a4 100644
--- a/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java
+++ b/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java
@@ -140,7 +140,7 @@ public class DefaultMavenExecutionRequest
/**
* Suppress SNAPSHOT updates.
- *
+ *
* @issue MNG-2681
*/
private boolean noSnapshotUpdates;
diff --git a/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java b/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java
index df3ee69398..de5fa69589 100644
--- a/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java
+++ b/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java
@@ -132,8 +132,8 @@ public class DefaultMavenExecutionRequestPopulator
}
return request;
- }
-
+ }
+
private void populateDefaultPluginGroups( MavenExecutionRequest request )
{
request.addPluginGroup( "org.apache.maven.plugins" );
diff --git a/maven-core/src/main/java/org/apache/maven/execution/ExecutionEvent.java b/maven-core/src/main/java/org/apache/maven/execution/ExecutionEvent.java
index 80ec2194e0..0ee7f57ad7 100644
--- a/maven-core/src/main/java/org/apache/maven/execution/ExecutionEvent.java
+++ b/maven-core/src/main/java/org/apache/maven/execution/ExecutionEvent.java
@@ -24,7 +24,7 @@ import org.apache.maven.project.MavenProject;
/**
* Holds data relevant for an execution event.
- *
+ *
* @author Benjamin Bentmann
*/
public interface ExecutionEvent
@@ -56,35 +56,35 @@ public interface ExecutionEvent
/**
* Gets the type of the event.
- *
+ *
* @return The type of the event, never {@code null}.
*/
Type getType();
/**
* Gets the session from which this event originates.
- *
+ *
* @return The current session, never {@code null}.
*/
MavenSession getSession();
/**
* Gets the current project (if any).
- *
+ *
* @return The current project or {@code null} if not applicable.
*/
MavenProject getProject();
/**
* Gets the current mojo execution (if any).
- *
+ *
* @return The current mojo execution or {@code null} if not applicable.
*/
MojoExecution getMojoExecution();
/**
* Gets the exception that caused the event (if any).
- *
+ *
* @return The exception or {@code null} if none.
*/
Exception getException();
diff --git a/maven-core/src/main/java/org/apache/maven/execution/ExecutionListener.java b/maven-core/src/main/java/org/apache/maven/execution/ExecutionListener.java
index 91fa945938..ad3f345a27 100644
--- a/maven-core/src/main/java/org/apache/maven/execution/ExecutionListener.java
+++ b/maven-core/src/main/java/org/apache/maven/execution/ExecutionListener.java
@@ -23,7 +23,7 @@ package org.apache.maven.execution;
* Defines events that Maven fires during a build. Warning: This interface might be extended in future
* Maven versions to support further events. Hence it is strongly recommended to derive custom listeners from
* {@link AbstractExecutionListener} in order to avoid interoperability problems.
- *
+ *
* @author Benjamin Bentmann
*/
public interface ExecutionListener
diff --git a/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java b/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java
index dfa20c429c..3c99d31083 100644
--- a/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java
+++ b/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java
@@ -109,7 +109,7 @@ public interface MavenExecutionRequest
/**
* Sets the system properties to use for interpolation and profile activation. The system properties are collected
* from the runtime environment like {@link System#getProperties()} and environment variables.
- *
+ *
* @param systemProperties The system properties, may be {@code null}.
* @return This request, never {@code null}.
*/
@@ -118,7 +118,7 @@ public interface MavenExecutionRequest
/**
* Gets the system properties to use for interpolation and profile activation. The system properties are collected
* from the runtime environment like {@link System#getProperties()} and environment variables.
- *
+ *
* @return The system properties, never {@code null}.
*/
Properties getSystemProperties();
@@ -127,7 +127,7 @@ public interface MavenExecutionRequest
* Sets the user properties to use for interpolation and profile activation. The user properties have been
* configured directly by the user on his discretion, e.g. via the {@code -Dkey=value} parameter on the command
* line.
- *
+ *
* @param userProperties The user properties, may be {@code null}.
* @return This request, never {@code null}.
*/
@@ -137,7 +137,7 @@ public interface MavenExecutionRequest
* Gets the user properties to use for interpolation and profile activation. The user properties have been
* configured directly by the user on his discretion, e.g. via the {@code -Dkey=value} parameter on the command
* line.
- *
+ *
* @return The user properties, never {@code null}.
*/
Properties getUserProperties();
@@ -174,7 +174,7 @@ public interface MavenExecutionRequest
/**
* Set's the parallel degree of concurrency used by the build.
- *
+ *
* @param degreeOfConcurrency
*/
void setDegreeOfConcurrency( int degreeOfConcurrency );
@@ -324,7 +324,7 @@ public interface MavenExecutionRequest
* Set a new list of remote repositories to use the execution request. This is necessary if you perform
* transformations on the remote repositories being used. For example if you replace existing repositories with
* mirrors then it's easier to just replace the whole list with a new list of transformed repositories.
- *
+ *
* @param repositories
* @return This request, never {@code null}.
*/
@@ -366,14 +366,14 @@ public interface MavenExecutionRequest
/**
* Controls the {@link Builder} used by Maven by specification of the builder's id.
- *
+ *
* @since 3.2.0
*/
MavenExecutionRequest setBuilderId( String builderId );
/**
* Controls the {@link Builder} used by Maven by specification of the builders id.
- *
+ *
* @since 3.2.0
*/
String getBuilderId();
diff --git a/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequestPopulator.java b/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequestPopulator.java
index 3d0001262b..7c20cb8389 100644
--- a/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequestPopulator.java
+++ b/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequestPopulator.java
@@ -23,7 +23,7 @@ import org.apache.maven.settings.Settings;
/**
* Assists in populating an execution request for invocation of Maven.
- *
+ *
* @author Benjamin Bentmann
*/
public interface MavenExecutionRequestPopulator
@@ -33,7 +33,7 @@ public interface MavenExecutionRequestPopulator
* Copies the values from the given settings into the specified execution request. This method will replace any
* existing values in the execution request that are controlled by the settings. Hence, it is expected that this
* method is called on a new/empty execution request before the caller mutates it to fit its needs.
- *
+ *
* @param request The execution request to populate, must not be {@code null}.
* @param settings The settings to copy into the execution request, may be {@code null}.
* @return The populated execution request, never {@code null}.
@@ -44,7 +44,7 @@ public interface MavenExecutionRequestPopulator
/**
* Injects default values like plugin groups or repositories into the specified execution request.
- *
+ *
* @param request The execution request to populate, must not be {@code null}.
* @return The populated execution request, never {@code null}.
* @throws MavenExecutionRequestPopulationException If the execution request could not be populated.
diff --git a/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionResult.java b/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionResult.java
index 8adc7ac2d7..cb95fb1fa7 100644
--- a/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionResult.java
+++ b/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionResult.java
@@ -33,7 +33,7 @@ public interface MavenExecutionResult
MavenProject getProject();
MavenExecutionResult setTopologicallySortedProjects( List projects );
-
+
/**
* @return the sorted list, or an empty list if there are no projects.
*/
diff --git a/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java b/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java
index bd60d5edb2..972ebd676f 100644
--- a/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java
+++ b/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java
@@ -401,13 +401,13 @@ public class MavenSession
}
private Map projectMap;
-
+
public void setProjectMap( Map projectMap )
{
this.projectMap = projectMap;
}
-
- public Map getProjectMap()
+
+ public Map getProjectMap()
{
return projectMap;
}
@@ -423,6 +423,6 @@ public class MavenSession
{
this.allProjects = allProjects;
}
-
-
+
+
}
diff --git a/maven-core/src/main/java/org/apache/maven/execution/MojoExecutionEvent.java b/maven-core/src/main/java/org/apache/maven/execution/MojoExecutionEvent.java
index 2494dead86..a8d293d1f2 100644
--- a/maven-core/src/main/java/org/apache/maven/execution/MojoExecutionEvent.java
+++ b/maven-core/src/main/java/org/apache/maven/execution/MojoExecutionEvent.java
@@ -26,7 +26,7 @@ import org.apache.maven.project.MavenProject;
/**
* Encapsulates parameters of MojoExecutionListener callback methods and is meant to provide API evolution path should
* it become necessary to introduce new parameters in the existing callbacks in the future.
- *
+ *
* @see MojoExecutionListener
* @see org.apache.maven.execution.scope.WeakMojoExecutionListener
* @since 3.1.2
diff --git a/maven-core/src/main/java/org/apache/maven/execution/MojoExecutionListener.java b/maven-core/src/main/java/org/apache/maven/execution/MojoExecutionListener.java
index 921acc6553..c2fb7a18b3 100644
--- a/maven-core/src/main/java/org/apache/maven/execution/MojoExecutionListener.java
+++ b/maven-core/src/main/java/org/apache/maven/execution/MojoExecutionListener.java
@@ -23,7 +23,7 @@ import org.apache.maven.plugin.MojoExecutionException;
/**
* Extension point that allows build extensions observe and possibly veto mojo executions.
- *
+ *
* @see org.apache.maven.execution.scope.WeakMojoExecutionListener
* @since 3.1.2
* @provisional This interface is part of work in progress and can be changed or removed without notice.
diff --git a/maven-core/src/main/java/org/apache/maven/execution/ProjectDependencyGraph.java b/maven-core/src/main/java/org/apache/maven/execution/ProjectDependencyGraph.java
index bbc1091f3a..1db277db53 100644
--- a/maven-core/src/main/java/org/apache/maven/execution/ProjectDependencyGraph.java
+++ b/maven-core/src/main/java/org/apache/maven/execution/ProjectDependencyGraph.java
@@ -25,7 +25,7 @@ import org.apache.maven.project.MavenProject;
/**
* Describes the inter-dependencies between projects in the reactor.
- *
+ *
* @author Benjamin Bentmann
*/
public interface ProjectDependencyGraph
@@ -34,7 +34,7 @@ public interface ProjectDependencyGraph
/**
* Gets all projects in their intended build order, i.e. after topologically sorting the projects according to their
* inter-dependencies.
- *
+ *
* @return The projects in the build order, never {@code null}.
*/
List getSortedProjects();
@@ -42,7 +42,7 @@ public interface ProjectDependencyGraph
/**
* Gets the downstream projects of the specified project. A downstream project is a project that directly or
* indirectly depends on the given project.
- *
+ *
* @param project The project whose downstream projects should be retrieved, must not be {@code null}.
* @param transitive A flag whether to retrieve all direct and indirect downstream projects or just the immediate
* downstream projects.
@@ -53,7 +53,7 @@ public interface ProjectDependencyGraph
/**
* Gets the upstream projects of the specified project. An upstream project is a project that directly or indirectly
* is a prerequisite of the given project.
- *
+ *
* @param project The project whose upstream projects should be retrieved, must not be {@code null}.
* @param transitive A flag whether to retrieve all direct and indirect upstream projects or just the immediate
* upstream projects.
diff --git a/maven-core/src/main/java/org/apache/maven/execution/ProjectExecutionEvent.java b/maven-core/src/main/java/org/apache/maven/execution/ProjectExecutionEvent.java
index 78655f730f..fb71078f39 100644
--- a/maven-core/src/main/java/org/apache/maven/execution/ProjectExecutionEvent.java
+++ b/maven-core/src/main/java/org/apache/maven/execution/ProjectExecutionEvent.java
@@ -27,7 +27,7 @@ import org.apache.maven.project.MavenProject;
/**
* Encapsulates parameters of ProjectExecutionListener callback methods and is meant to provide API evolution path
* should it become necessary to introduce new parameters in the existing callbacks in the future.
- *
+ *
* @see ProjectExecutionListener
* @since 3.1.2
* @provisional This class is part of work in progress and can be changed or removed without notice.
diff --git a/maven-core/src/main/java/org/apache/maven/execution/ProjectExecutionListener.java b/maven-core/src/main/java/org/apache/maven/execution/ProjectExecutionListener.java
index 24c49b902f..d7e891838d 100644
--- a/maven-core/src/main/java/org/apache/maven/execution/ProjectExecutionListener.java
+++ b/maven-core/src/main/java/org/apache/maven/execution/ProjectExecutionListener.java
@@ -23,7 +23,7 @@ import org.apache.maven.lifecycle.LifecycleExecutionException;
/**
* Extension point that allows build extensions observe and possibly veto project build execution.
- *
+ *
* @see ExecutionListener
* @see MojoExecutionListener
* @since 3.1.2
diff --git a/maven-core/src/main/java/org/apache/maven/execution/scope/MojoExecutionScoped.java b/maven-core/src/main/java/org/apache/maven/execution/scope/MojoExecutionScoped.java
index c53297cb88..0dcbd16fd8 100644
--- a/maven-core/src/main/java/org/apache/maven/execution/scope/MojoExecutionScoped.java
+++ b/maven-core/src/main/java/org/apache/maven/execution/scope/MojoExecutionScoped.java
@@ -30,7 +30,7 @@ import com.google.inject.ScopeAnnotation;
/**
* Indicates that annotated component should be instantiated before mojo execution starts and discarded after mojo
* execution completes.
- *
+ *
* @author igor
* @since 3.1.2
*/
diff --git a/maven-core/src/main/java/org/apache/maven/execution/scope/WeakMojoExecutionListener.java b/maven-core/src/main/java/org/apache/maven/execution/scope/WeakMojoExecutionListener.java
index 89242c0789..94e7c10458 100644
--- a/maven-core/src/main/java/org/apache/maven/execution/scope/WeakMojoExecutionListener.java
+++ b/maven-core/src/main/java/org/apache/maven/execution/scope/WeakMojoExecutionListener.java
@@ -27,7 +27,7 @@ import org.apache.maven.plugin.MojoExecutionException;
*
* Unlike {@link MojoExecutionListener}, this extension point does not trigger instantiation of the component, hence
* "weak" class name prefix. Only applies to mojo execution scoped components.
- *
+ *
* @see org.apache.maven.execution.MojoExecutionListener
* @since 3.1.2
* @provisional This interface is part of work in progress and can be changed or removed without notice.
diff --git a/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionException.java b/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionException.java
index 3705d1275e..349576cdc9 100644
--- a/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionException.java
+++ b/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionException.java
@@ -29,7 +29,7 @@ public class LifecycleExecutionException
extends Exception
{
private MavenProject project;
-
+
public LifecycleExecutionException( String message )
{
super( message );
@@ -44,7 +44,7 @@ public class LifecycleExecutionException
{
super( message, cause );
}
-
+
public LifecycleExecutionException( String message, MavenProject project )
{
super( message );
diff --git a/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleMappingDelegate.java b/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleMappingDelegate.java
index c246001071..f070198712 100644
--- a/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleMappingDelegate.java
+++ b/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleMappingDelegate.java
@@ -38,7 +38,7 @@ import org.apache.maven.project.MavenProject;
*
* Implementations of this interface must be annotated with either {@code @Named("lifecycle-id")} or equivalent plexus
* {@code @Component} annotations.
- *
+ *
* @since 3.2.0
* @see org.apache.maven.lifecycle.internal.DefaultLifecycleMappingDelegate
* @author ifedorenko
diff --git a/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleNotFoundException.java b/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleNotFoundException.java
index d79eaa13d0..e9ff0c2080 100644
--- a/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleNotFoundException.java
+++ b/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleNotFoundException.java
@@ -21,7 +21,7 @@ package org.apache.maven.lifecycle;
/**
* Signals a failure to locate a lifecycle.
- *
+ *
* @author Benjamin Bentmann
*/
public class LifecycleNotFoundException
@@ -32,7 +32,7 @@ public class LifecycleNotFoundException
/**
* Creates a new exception to indicate that the specified lifecycle is unknown.
- *
+ *
* @param lifecycleId The identifier of the lifecycle that could not be located, may be {@code null}.
*/
public LifecycleNotFoundException( String lifecycleId )
@@ -43,7 +43,7 @@ public class LifecycleNotFoundException
/**
* Gets the identifier of the lifecycle that was not found.
- *
+ *
* @return The identifier of the lifecycle that was not found, never {@code null}.
*/
public String getLifecycleId()
diff --git a/maven-core/src/main/java/org/apache/maven/lifecycle/LifecyclePhaseNotFoundException.java b/maven-core/src/main/java/org/apache/maven/lifecycle/LifecyclePhaseNotFoundException.java
index 86b37db3ba..fab1d2f2c5 100644
--- a/maven-core/src/main/java/org/apache/maven/lifecycle/LifecyclePhaseNotFoundException.java
+++ b/maven-core/src/main/java/org/apache/maven/lifecycle/LifecyclePhaseNotFoundException.java
@@ -21,7 +21,7 @@ package org.apache.maven.lifecycle;
/**
* Signals a failure to locate the lifecycle for some phase.
- *
+ *
* @author Benjamin Bentmann
*/
public class LifecyclePhaseNotFoundException
@@ -32,7 +32,7 @@ public class LifecyclePhaseNotFoundException
/**
* Creates a new exception to indicate that the specified lifecycle phase is not defined by any known lifecycle.
- *
+ *
* @param message The detail message, may be {@code null}.
* @param lifecyclePhase The name of the lifecycle phase that could not be located, may be {@code null}.
*/
@@ -44,7 +44,7 @@ public class LifecyclePhaseNotFoundException
/**
* Gets the lifecycle phase that was not found.
- *
+ *
* @return The lifecycle phase that was not found, never {@code null}.
*/
public String getLifecyclePhase()
diff --git a/maven-core/src/main/java/org/apache/maven/lifecycle/MissingProjectException.java b/maven-core/src/main/java/org/apache/maven/lifecycle/MissingProjectException.java
index 991914557e..571e1d2bc6 100644
--- a/maven-core/src/main/java/org/apache/maven/lifecycle/MissingProjectException.java
+++ b/maven-core/src/main/java/org/apache/maven/lifecycle/MissingProjectException.java
@@ -21,7 +21,7 @@ package org.apache.maven.lifecycle;
/**
* Signals a failure to execute a lifecycle phase or mojo because a project is required but not present.
- *
+ *
* @author Benjamin Bentmann
*/
public class MissingProjectException
@@ -30,7 +30,7 @@ public class MissingProjectException
/**
* Creates a new exception.
- *
+ *
* @param message The detail message, may be {@code null}.
*/
public MissingProjectException( String message )
diff --git a/maven-core/src/main/java/org/apache/maven/lifecycle/NoGoalSpecifiedException.java b/maven-core/src/main/java/org/apache/maven/lifecycle/NoGoalSpecifiedException.java
index 63ba2caaa6..2ac9638a65 100644
--- a/maven-core/src/main/java/org/apache/maven/lifecycle/NoGoalSpecifiedException.java
+++ b/maven-core/src/main/java/org/apache/maven/lifecycle/NoGoalSpecifiedException.java
@@ -21,7 +21,7 @@ package org.apache.maven.lifecycle;
/**
* Signals a failure to build because no goal was specified.
- *
+ *
* @author Benjamin Bentmann
*/
public class NoGoalSpecifiedException
@@ -30,7 +30,7 @@ public class NoGoalSpecifiedException
/**
* Creates a new exception.
- *
+ *
* @param message The detail message, may be {@code null}.
*/
public NoGoalSpecifiedException( String message )
diff --git a/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultExecutionEvent.java b/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultExecutionEvent.java
index b5a4ad3f44..9434a65933 100644
--- a/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultExecutionEvent.java
+++ b/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultExecutionEvent.java
@@ -26,7 +26,7 @@ import org.apache.maven.project.MavenProject;
/**
* Holds data relevant for an execution event.
- *
+ *
* @author Benjamin Bentmann
*/
class DefaultExecutionEvent
diff --git a/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultExecutionEventCatapult.java b/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultExecutionEventCatapult.java
index 074aba77d5..bfb98d4300 100644
--- a/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultExecutionEventCatapult.java
+++ b/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultExecutionEventCatapult.java
@@ -29,7 +29,7 @@ import org.codehaus.plexus.component.annotations.Component;
* Assists in firing execution events. Warning: This is an internal utility class that is only public
* for technical reasons, it is not part of the public API. In particular, this class can be changed or deleted without
* prior notice.
- *
+ *
* @author Benjamin Bentmann
*/
@Component( role = ExecutionEventCatapult.class )
diff --git a/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java b/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java
index 5602a09bd3..c187c1d117 100644
--- a/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java
+++ b/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java
@@ -170,7 +170,7 @@ public class DefaultLifecycleExecutionPlanCalculator
calculateForkedExecutions( mojoExecution, session, project, new HashSet() );
}
-
+
public List calculateMojoExecutions( MavenSession session, MavenProject project,
List
Actual content structure is completely open: each toolchain type will define its own format and semantics.
In general, this is a properties format: <name>value</name> with
- predefined properties names.
+ predefined properties names.
]]>
@@ -168,7 +168,7 @@
Toolchain configuration information, like location or any information that is to be retrieved.
Actual content structure is completely open: each toochain type will define its own format and semantics.
In general, this is a properties format: <name>value</name> with
- per-toolchain defined properties names.
* This interface does not support loading of parent POM(s) from the same backing store, integrators are strongly
* encouraged to implement {@link ModelSource2} instead of implementing this interface directly.
- *
+ *
* @author Benjamin Bentmann
* @see ModelSource2
*/
@@ -36,7 +36,7 @@ public interface ModelSource
/**
* Gets a byte stream to the POM contents. Closing the returned stream is the responsibility of the caller.
- *
+ *
* @return A byte stream to the POM contents, never {@code null}.
*/
InputStream getInputStream()
@@ -45,7 +45,7 @@ public interface ModelSource
/**
* Provides a user-friendly hint about the location of the POM. This could be a local file path, a URI or just an
* empty string. The intention is to assist users during error reporting.
- *
+ *
* @return A user-friendly hint about the location of the POM, never {@code null}.
*/
String getLocation();
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelSource2.java b/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelSource2.java
index ea3872bfbc..3e123d0874 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelSource2.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelSource2.java
@@ -43,7 +43,7 @@ public interface ModelSource2
*
point either at file or directory, in the latter case POM file name 'pom.xml' needs to be used by the
* requested model source.
*
- *
+ *
* @param relPath is the path of the requested model source relative to this model source POM.
* @return related model source or null if no such model source.
*/
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/building/StringModelSource.java b/maven-model-builder/src/main/java/org/apache/maven/model/building/StringModelSource.java
index 3a7ab02fe4..edc4d31429 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/building/StringModelSource.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/building/StringModelSource.java
@@ -25,7 +25,7 @@ import java.io.InputStream;
/**
* Wraps an ordinary {@link CharSequence} as a model source.
- *
+ *
* @author Benjamin Bentmann
*/
public class StringModelSource
@@ -38,7 +38,7 @@ public class StringModelSource
/**
* Creates a new model source backed by the specified string.
- *
+ *
* @param pom The POM's string representation, may be empty or {@code null}.
*/
public StringModelSource( CharSequence pom )
@@ -48,7 +48,7 @@ public class StringModelSource
/**
* Creates a new model source backed by the specified string.
- *
+ *
* @param pom The POM's string representation, may be empty or {@code null}.
* @param location The location to report for this use, may be {@code null}.
*/
@@ -71,7 +71,7 @@ public class StringModelSource
/**
* Gets the character sequence of this model source.
- *
+ *
* @return The underlying character stream, never {@code null}.
*/
public String getModel()
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/building/UrlModelSource.java b/maven-model-builder/src/main/java/org/apache/maven/model/building/UrlModelSource.java
index 053254bea6..07058b3a07 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/building/UrlModelSource.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/building/UrlModelSource.java
@@ -25,7 +25,7 @@ import java.net.URL;
/**
* Wraps an ordinary {@link URL} as a model source.
- *
+ *
* @author Benjamin Bentmann
*/
public class UrlModelSource
@@ -36,7 +36,7 @@ public class UrlModelSource
/**
* Creates a new model source backed by the specified URL.
- *
+ *
* @param pomUrl The POM file, must not be {@code null}.
*/
public UrlModelSource( URL pomUrl )
@@ -61,7 +61,7 @@ public class UrlModelSource
/**
* Gets the POM URL of this model source.
- *
+ *
* @return The underlying POM URL, never {@code null}.
*/
public URL getPomUrl()
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/composition/DefaultDependencyManagementImporter.java b/maven-model-builder/src/main/java/org/apache/maven/model/composition/DefaultDependencyManagementImporter.java
index a61eba32f0..71ec63c8f7 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/composition/DefaultDependencyManagementImporter.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/composition/DefaultDependencyManagementImporter.java
@@ -33,7 +33,7 @@ import org.codehaus.plexus.component.annotations.Component;
/**
* Handles the import of dependency management from other models into the target model.
- *
+ *
* @author Benjamin Bentmann
*/
@Component( role = DependencyManagementImporter.class )
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/composition/DependencyManagementImporter.java b/maven-model-builder/src/main/java/org/apache/maven/model/composition/DependencyManagementImporter.java
index b6cd7b91d8..06496429d1 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/composition/DependencyManagementImporter.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/composition/DependencyManagementImporter.java
@@ -28,7 +28,7 @@ import org.apache.maven.model.building.ModelProblemCollector;
/**
* Handles the import of dependency management from other models into the target model.
- *
+ *
* @author Benjamin Bentmann
*/
public interface DependencyManagementImporter
@@ -36,7 +36,7 @@ public interface DependencyManagementImporter
/**
* Imports the specified dependency management sections into the given target model.
- *
+ *
* @param target The model into which to import the dependency management section, must not be null.
* @param sources The dependency management sections to import, may be null.
* @param request The model building request that holds further settings, must not be {@code null}.
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java b/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java
index 01ff9d71a6..0d1fc8d5a6 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java
@@ -59,7 +59,7 @@ public class DefaultInheritanceAssembler
/**
* Calculates the relative path from the base directory of the parent to the parent directory of the base directory
* of the child. The general idea is to adjust inherited URLs to match the project layout (in SCM).
- *
+ *
*
This calculation is only a heuristic based on our conventions.
* In detail, the algo relies on the following assumptions:
*
The parent uses aggregation and refers to the child via the modules section
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/InheritanceAssembler.java b/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/InheritanceAssembler.java
index 9ce5d783b8..a191e52dd1 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/InheritanceAssembler.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/InheritanceAssembler.java
@@ -25,7 +25,7 @@ import org.apache.maven.model.building.ModelProblemCollector;
/**
* Handles inheritance of model values.
- *
+ *
* @author Benjamin Bentmann
*/
public interface InheritanceAssembler
@@ -35,7 +35,7 @@ public interface InheritanceAssembler
* Merges values from the specified parent model into the given child model. Implementations are expected to keep
* parent and child completely decoupled by injecting deep copies of objects into the child rather than the original
* objects from the parent.
- *
+ *
* @param child The child model into which to merge the values inherited from the parent, must not be
* null.
* @param parent The (read-only) parent model from which to inherit the values, may be null.
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/BuildTimestampValueSource.java b/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/BuildTimestampValueSource.java
index 4542a3fe5b..04b4cf663b 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/BuildTimestampValueSource.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/BuildTimestampValueSource.java
@@ -28,7 +28,7 @@ class BuildTimestampValueSource
extends AbstractValueSource
{
private final MavenBuildTimestamp mavenBuildTimestamp;
-
+
public BuildTimestampValueSource( Date startTime, Properties properties )
{
super( false );
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ProblemDetectingValueSource.java b/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ProblemDetectingValueSource.java
index 8167baf7ec..06ac3b4223 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ProblemDetectingValueSource.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ProblemDetectingValueSource.java
@@ -29,7 +29,7 @@ import org.codehaus.plexus.interpolation.ValueSource;
/**
* Wraps another value source and intercepts interpolated expressions, checking for problems.
- *
+ *
* @author Benjamin Bentmann
*/
class ProblemDetectingValueSource
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/UrlNormalizingPostProcessor.java b/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/UrlNormalizingPostProcessor.java
index d0106edcd7..a4d2323e39 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/UrlNormalizingPostProcessor.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/UrlNormalizingPostProcessor.java
@@ -27,7 +27,7 @@ import org.codehaus.plexus.interpolation.InterpolationPostProcessor;
/**
* Ensures that expressions referring to URLs evaluate to normalized URLs.
- *
+ *
* @author Benjamin Bentmann
*/
class UrlNormalizingPostProcessor
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java b/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java
index c1c3891ce8..5c1e58ffa4 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java
@@ -37,7 +37,7 @@ import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
/**
* Handles deserialization of a model from some kind of textual format like XML.
- *
+ *
* @author Benjamin Bentmann
*/
@Component( role = ModelReader.class )
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelWriter.java b/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelWriter.java
index 7813483cdd..25c9ebc06c 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelWriter.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelWriter.java
@@ -34,7 +34,7 @@ import org.codehaus.plexus.util.WriterFactory;
/**
* Handles serialization of a model into some kind of textual format like XML.
- *
+ *
* @author Benjamin Bentmann
*/
@Component( role = ModelWriter.class )
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelParseException.java b/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelParseException.java
index 234cf66588..1b2cbc341f 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelParseException.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelParseException.java
@@ -23,7 +23,7 @@ import java.io.IOException;
/**
* Signals a failure to parse the POM due to invalid syntax (e.g. non-wellformed XML or unknown elements).
- *
+ *
* @author Benjamin Bentmann
*/
public class ModelParseException
@@ -42,7 +42,7 @@ public class ModelParseException
/**
* Creates a new parser exception with the specified details.
- *
+ *
* @param message The error message, may be {@code null}.
* @param lineNumber The one-based index of the line containing the error or {@code -1} if unknown.
* @param columnNumber The one-based index of the column containing the error or {@code -1} if unknown.
@@ -56,7 +56,7 @@ public class ModelParseException
/**
* Creates a new parser exception with the specified details.
- *
+ *
* @param message The error message, may be {@code null}.
* @param lineNumber The one-based index of the line containing the error or {@code -1} if unknown.
* @param columnNumber The one-based index of the column containing the error or {@code -1} if unknown.
@@ -72,7 +72,7 @@ public class ModelParseException
/**
* Gets the one-based index of the line containing the error.
- *
+ *
* @return The one-based index of the line containing the error or a non-positive value if unknown.
*/
public int getLineNumber()
@@ -82,7 +82,7 @@ public class ModelParseException
/**
* Gets the one-based index of the column containing the error.
- *
+ *
* @return The one-based index of the column containing the error or non-positive value if unknown.
*/
public int getColumnNumber()
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelWriter.java b/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelWriter.java
index 481c113d85..af7e0cab30 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelWriter.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelWriter.java
@@ -29,7 +29,7 @@ import org.apache.maven.model.Model;
/**
* Handles serialization of a model into some kind of textual format like XML.
- *
+ *
* @author Benjamin Bentmann
*/
public interface ModelWriter
@@ -38,7 +38,7 @@ public interface ModelWriter
/**
* Writes the supplied model to the specified file. Any non-existing parent directories of the output file will be
* created automatically.
- *
+ *
* @param output The file to serialize the model to, must not be {@code null}.
* @param options The options to use for serialization, may be {@code null} to use the default values.
* @param model The model to serialize, must not be {@code null}.
@@ -50,7 +50,7 @@ public interface ModelWriter
/**
* Writes the supplied model to the specified character writer. The writer will be automatically closed before the
* method returns.
- *
+ *
* @param output The writer to serialize the model to, must not be {@code null}.
* @param options The options to use for serialization, may be {@code null} to use the default values.
* @param model The model to serialize, must not be {@code null}.
@@ -62,7 +62,7 @@ public interface ModelWriter
/**
* Writes the supplied model to the specified byte stream. The stream will be automatically closed before the method
* returns.
- *
+ *
* @param output The stream to serialize the model to, must not be {@code null}.
* @param options The options to use for serialization, may be {@code null} to use the default values.
* @param model The model to serialize, must not be {@code null}.
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/locator/DefaultModelLocator.java b/maven-model-builder/src/main/java/org/apache/maven/model/locator/DefaultModelLocator.java
index 1d9871dcfe..ff67f45191 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/locator/DefaultModelLocator.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/locator/DefaultModelLocator.java
@@ -25,7 +25,7 @@ import org.codehaus.plexus.component.annotations.Component;
/**
* Locates a POM file within a project base directory.
- *
+ *
* @author Benjamin Bentmann
*/
@Component( role = ModelLocator.class )
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/locator/ModelLocator.java b/maven-model-builder/src/main/java/org/apache/maven/model/locator/ModelLocator.java
index a5c8d040e5..3aa0045c29 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/locator/ModelLocator.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/locator/ModelLocator.java
@@ -23,7 +23,7 @@ import java.io.File;
/**
* Locates a POM file within a project base directory.
- *
+ *
* @author Benjamin Bentmann
*/
public interface ModelLocator
@@ -34,7 +34,7 @@ public interface ModelLocator
* or does not contain a POM file, the return value indicates the expected path to the POM file. Sub directories of
* the project directory will not be considered when locating the POM file. The return value will be an absolute
* path if the project directory is given as an absolute path.
- *
+ *
* @param projectDirectory The (possibly non-existent) base directory to locate the POM file in, must not be {@code
* null}.
* @return The path to the (possibly non-existent) POM file, never {@code null}.
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/management/DependencyManagementInjector.java b/maven-model-builder/src/main/java/org/apache/maven/model/management/DependencyManagementInjector.java
index 8524dde50e..3b70a09c97 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/management/DependencyManagementInjector.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/management/DependencyManagementInjector.java
@@ -25,7 +25,7 @@ import org.apache.maven.model.building.ModelProblemCollector;
/**
* Handles injection of dependency management into the model.
- *
+ *
* @author Benjamin Bentmann
*/
public interface DependencyManagementInjector
@@ -33,7 +33,7 @@ public interface DependencyManagementInjector
/**
* Merges default values from the dependency management section of the given model into itself.
- *
+ *
* @param model The model into which to merge the values specified by its dependency management sections, must not
* be null.
* @param request The model building request that holds further settings, must not be {@code null}.
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/management/PluginManagementInjector.java b/maven-model-builder/src/main/java/org/apache/maven/model/management/PluginManagementInjector.java
index 2576b5ef7a..7384fdf045 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/management/PluginManagementInjector.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/management/PluginManagementInjector.java
@@ -25,7 +25,7 @@ import org.apache.maven.model.building.ModelProblemCollector;
/**
* Handles injection of plugin management into the model.
- *
+ *
* @author Benjamin Bentmann
*/
public interface PluginManagementInjector
@@ -33,7 +33,7 @@ public interface PluginManagementInjector
/**
* Merges default values from the plugin management section of the given model into itself.
- *
+ *
* @param model The model into which to merge the values specified by its plugin management section, must not be
* null.
* @param request The model building request that holds further settings, must not be {@code null}.
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java b/maven-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java
index 9163286a85..43078565d5 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java
@@ -37,7 +37,7 @@ import org.codehaus.plexus.util.StringUtils;
/**
* Handles normalization of a model.
- *
+ *
* @author Benjamin Bentmann
*/
@Component( role = ModelNormalizer.class )
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/normalization/ModelNormalizer.java b/maven-model-builder/src/main/java/org/apache/maven/model/normalization/ModelNormalizer.java
index a2e642e483..7cab86b65c 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/normalization/ModelNormalizer.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/normalization/ModelNormalizer.java
@@ -26,7 +26,7 @@ import org.apache.maven.model.building.ModelProblemCollector;
/**
* Handles normalization of a model. In this context, normalization is the process of producing a canonical
* representation for models that physically look different but are semantically equivalent.
- *
+ *
* @author Benjamin Bentmann
*/
public interface ModelNormalizer
@@ -34,7 +34,7 @@ public interface ModelNormalizer
/**
* Merges duplicate elements like multiple declarations of the same build plugin in the specified model.
- *
+ *
* @param model The model whose duplicate elements should be merged, must not be {@code null}.
* @param request The model building request that holds further settings, must not be {@code null}.
* @param problems The container used to collect problems that were encountered, must not be {@code null}.
@@ -44,7 +44,7 @@ public interface ModelNormalizer
/**
* Sets default values in the specified model that for technical reasons cannot be set directly in the Modello
* definition.
- *
+ *
* @param model The model in which to set the default values, must not be {@code null}.
* @param request The model building request that holds further settings, must not be {@code null}.
* @param problems The container used to collect problems that were encountered, must not be {@code null}.
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelPathTranslator.java b/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelPathTranslator.java
index 3bc4925995..469e6235cd 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelPathTranslator.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelPathTranslator.java
@@ -33,7 +33,7 @@ import org.codehaus.plexus.component.annotations.Requirement;
/**
* Resolves relative paths within a model against a specific base directory.
- *
+ *
* @author Benjamin Bentmann
*/
@Component( role = ModelPathTranslator.class )
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelUrlNormalizer.java b/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelUrlNormalizer.java
index 78b8260c97..0d40d48d19 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelUrlNormalizer.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelUrlNormalizer.java
@@ -30,7 +30,7 @@ import org.codehaus.plexus.component.annotations.Requirement;
/**
* Normalizes URLs to remove the ugly parent references "../" that got potentially inserted by URL adjustment during
* model inheritance.
- *
+ *
* @author Benjamin Bentmann
*/
@Component( role = ModelUrlNormalizer.class )
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultPathTranslator.java b/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultPathTranslator.java
index 757e278e92..7965253689 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultPathTranslator.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultPathTranslator.java
@@ -25,7 +25,7 @@ import org.codehaus.plexus.component.annotations.Component;
/**
* Resolves relative paths against a specific base directory.
- *
+ *
* @author Benjamin Bentmann
*/
@Component( role = PathTranslator.class )
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultUrlNormalizer.java b/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultUrlNormalizer.java
index 538820d271..54d8a36260 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultUrlNormalizer.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultUrlNormalizer.java
@@ -23,7 +23,7 @@ import org.codehaus.plexus.component.annotations.Component;
/**
* Normalizes a URL.
- *
+ *
* @author Benjamin Bentmann
*/
@Component( role = UrlNormalizer.class )
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/path/ModelPathTranslator.java b/maven-model-builder/src/main/java/org/apache/maven/model/path/ModelPathTranslator.java
index 1ba2509169..2bd39c5501 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/path/ModelPathTranslator.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/path/ModelPathTranslator.java
@@ -26,7 +26,7 @@ import org.apache.maven.model.building.ModelBuildingRequest;
/**
* Resolves relative paths of a model against a specific base directory.
- *
+ *
* @author Jason van Zyl
*/
public interface ModelPathTranslator
@@ -35,7 +35,7 @@ public interface ModelPathTranslator
/**
* Resolves the well-known paths of the specified model against the given base directory. Paths within plugin
* configuration are not processed.
- *
+ *
* @param model The model whose paths should be resolved, may be {@code null}.
* @param basedir The base directory to resolve relative paths against, may be {@code null}.
* @param request The model building request that holds further settings, must not be {@code null}.
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/path/ModelUrlNormalizer.java b/maven-model-builder/src/main/java/org/apache/maven/model/path/ModelUrlNormalizer.java
index 6fa9caa31b..8325b05d35 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/path/ModelUrlNormalizer.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/path/ModelUrlNormalizer.java
@@ -25,7 +25,7 @@ import org.apache.maven.model.building.ModelBuildingRequest;
/**
* Normalizes URLs to remove the ugly parent references "../" that got potentially inserted by URL adjustment during
* model inheritance.
- *
+ *
* @author Benjamin Bentmann
*/
public interface ModelUrlNormalizer
@@ -33,7 +33,7 @@ public interface ModelUrlNormalizer
/**
* Normalizes the well-known URLs of the specified model.
- *
+ *
* @param model The model whose URLs should be normalized, may be {@code null}.
* @param request The model building request that holds further settings, must not be {@code null}.
*/
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/path/PathTranslator.java b/maven-model-builder/src/main/java/org/apache/maven/model/path/PathTranslator.java
index 3613af8244..c416e6aba3 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/path/PathTranslator.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/path/PathTranslator.java
@@ -23,7 +23,7 @@ import java.io.File;
/**
* Resolves relative paths against a specific base directory.
- *
+ *
* @author Jason van Zyl
*/
public interface PathTranslator
@@ -33,7 +33,7 @@ public interface PathTranslator
* Resolves the specified path against the given base directory. The resolved path will be absolute and uses the
* platform-specific file separator if a base directory is given. Otherwise, the input path will be returned
* unaltered.
- *
+ *
* @param path The path to resolve, may be {@code null}.
* @param basedir The base directory to resolve relative paths against, may be {@code null}.
* @return The resolved path or {@code null} if the input path was {@code null}.
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/path/UrlNormalizer.java b/maven-model-builder/src/main/java/org/apache/maven/model/path/UrlNormalizer.java
index dbcc902952..b2e4a7b1ce 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/path/UrlNormalizer.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/path/UrlNormalizer.java
@@ -22,7 +22,7 @@ package org.apache.maven.model.path;
/**
* Normalizes a URL to remove the ugly parent references "../" that got potentially inserted by URL adjustment during
* model inheritance.
- *
+ *
* @author Benjamin Bentmann
*/
public interface UrlNormalizer
@@ -30,7 +30,7 @@ public interface UrlNormalizer
/**
* Normalizes the specified URL.
- *
+ *
* @param url The URL to normalize, may be {@code null}.
* @return The normalized URL or {@code null} if the input was {@code null}.
*/
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultPluginConfigurationExpander.java b/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultPluginConfigurationExpander.java
index 04a57c5fd2..82430ed4fd 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultPluginConfigurationExpander.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultPluginConfigurationExpander.java
@@ -33,7 +33,7 @@ import org.codehaus.plexus.util.xml.Xpp3Dom;
/**
* Handles expansion of general build plugin configuration into individual executions.
- *
+ *
* @author Benjamin Bentmann
*/
@Component( role = PluginConfigurationExpander.class )
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportConfigurationExpander.java b/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportConfigurationExpander.java
index 3e6e3e042d..6b2849965d 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportConfigurationExpander.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportConfigurationExpander.java
@@ -30,7 +30,7 @@ import org.codehaus.plexus.util.xml.Xpp3Dom;
/**
* Handles expansion of general report plugin configuration into individual report sets.
- *
+ *
* @author Benjamin Bentmann
*/
@Component( role = ReportConfigurationExpander.class )
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportingConverter.java b/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportingConverter.java
index 4d4d3159e9..9b81ccbcca 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportingConverter.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportingConverter.java
@@ -34,7 +34,7 @@ import org.codehaus.plexus.util.xml.Xpp3Dom;
/**
* Handles conversion of the legacy reporting section into the configuration of the new Maven Site Plugin.
- *
+ *
* @author Benjamin Bentmann
*/
@Component( role = ReportingConverter.class )
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/plugin/LifecycleBindingsInjector.java b/maven-model-builder/src/main/java/org/apache/maven/model/plugin/LifecycleBindingsInjector.java
index f6c55e9a00..9c0f06de1e 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/plugin/LifecycleBindingsInjector.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/plugin/LifecycleBindingsInjector.java
@@ -25,7 +25,7 @@ import org.apache.maven.model.building.ModelProblemCollector;
/**
* Handles injection of plugin executions induced by the lifecycle bindings for a packaging.
- *
+ *
* @author Benjamin Bentmann
*/
public interface LifecycleBindingsInjector
@@ -35,7 +35,7 @@ public interface LifecycleBindingsInjector
* Injects plugin executions induced by lifecycle bindings into the specified model. The model has already undergone
* injection of plugin management so any plugins that are injected by lifecycle bindings and are not already present
* in the model's plugin section need to be subjected to the model's plugin management.
- *
+ *
* @param model The model into which to inject the default plugin executions for its packaging, must not be
* null.
* @param request The model building request that holds further settings, must not be {@code null}.
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/plugin/PluginConfigurationExpander.java b/maven-model-builder/src/main/java/org/apache/maven/model/plugin/PluginConfigurationExpander.java
index 1e08477a8f..23994aa6f3 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/plugin/PluginConfigurationExpander.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/plugin/PluginConfigurationExpander.java
@@ -25,7 +25,7 @@ import org.apache.maven.model.building.ModelProblemCollector;
/**
* Handles expansion of general build plugin configuration into individual executions.
- *
+ *
* @author Benjamin Bentmann
*/
public interface PluginConfigurationExpander
@@ -33,7 +33,7 @@ public interface PluginConfigurationExpander
/**
* Merges values from general build plugin configuration into the individual plugin executions of the given model.
- *
+ *
* @param model The model whose build plugin configuration should be expanded, must not be null.
* @param request The model building request that holds further settings, must not be {@code null}.
* @param problems The container used to collect problems that were encountered, must not be {@code null}.
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/plugin/ReportConfigurationExpander.java b/maven-model-builder/src/main/java/org/apache/maven/model/plugin/ReportConfigurationExpander.java
index b403236d86..28ad596249 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/plugin/ReportConfigurationExpander.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/plugin/ReportConfigurationExpander.java
@@ -25,7 +25,7 @@ import org.apache.maven.model.building.ModelProblemCollector;
/**
* Handles expansion of general report plugin configuration into individual report sets.
- *
+ *
* @author Benjamin Bentmann
*/
public interface ReportConfigurationExpander
@@ -33,7 +33,7 @@ public interface ReportConfigurationExpander
/**
* Merges values from general report plugin configuration into the individual reports sets of the given model.
- *
+ *
* @param model The model whose report plugin configuration should be expanded, must not be null.
* @param request The model building request that holds further settings, must not be {@code null}.
* @param problems The container used to collect problems that were encountered, must not be {@code null}.
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/plugin/ReportingConverter.java b/maven-model-builder/src/main/java/org/apache/maven/model/plugin/ReportingConverter.java
index 7ffd9e29c6..c5ea338c85 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/plugin/ReportingConverter.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/plugin/ReportingConverter.java
@@ -25,7 +25,7 @@ import org.apache.maven.model.building.ModelProblemCollector;
/**
* Handles conversion of the legacy reporting section into the configuration of the new Maven Site Plugin.
- *
+ *
* @author Benjamin Bentmann
*/
public interface ReportingConverter
@@ -33,7 +33,7 @@ public interface ReportingConverter
/**
* Converts values from model's reporting section into the configuration for the new Maven Site Plugin.
- *
+ *
* @param model The model whose reporting section should be converted, must not be null.
* @param request The model building request that holds further settings, must not be {@code null}.
* @param problems The container used to collect problems that were encountered, must not be {@code null}.
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java b/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java
index 38421bc4e9..bb6a0795d6 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java
@@ -43,7 +43,7 @@ import org.codehaus.plexus.component.annotations.Component;
/**
* Handles profile injection into the model.
- *
+ *
* @author Benjamin Bentmann
*/
@Component( role = ProfileInjector.class )
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java b/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java
index 80a051a83c..db2bf626f3 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java
@@ -36,7 +36,7 @@ import org.codehaus.plexus.component.annotations.Requirement;
/**
* Calculates the active profiles among a given collection of profiles.
- *
+ *
* @author Benjamin Bentmann
*/
@Component( role = ProfileSelector.class )
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileActivationContext.java b/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileActivationContext.java
index fb9ea0cd89..d501e660a5 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileActivationContext.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileActivationContext.java
@@ -25,7 +25,7 @@ import java.util.Map;
/**
* Describes the environmental context used to determine the activation status of profiles.
- *
+ *
* @author Benjamin Bentmann
*/
public interface ProfileActivationContext
@@ -33,14 +33,14 @@ public interface ProfileActivationContext
/**
* Gets the identifiers of those profiles that should be activated by explicit demand.
- *
+ *
* @return The identifiers of those profiles to activate, never {@code null}.
*/
List getActiveProfileIds();
/**
* Gets the identifiers of those profiles that should be deactivated by explicit demand.
- *
+ *
* @return The identifiers of those profiles to deactivate, never {@code null}.
*/
List getInactiveProfileIds();
@@ -48,7 +48,7 @@ public interface ProfileActivationContext
/**
* Gets the system properties to use for interpolation and profile activation. The system properties are collected
* from the runtime environment like {@link System#getProperties()} and environment variables.
- *
+ *
* @return The execution properties, never {@code null}.
*/
Map getSystemProperties();
@@ -57,14 +57,14 @@ public interface ProfileActivationContext
* Gets the user properties to use for interpolation and profile activation. The user properties have been
* configured directly by the user on his discretion, e.g. via the {@code -Dkey=value} parameter on the command
* line.
- *
+ *
* @return The user properties, never {@code null}.
*/
Map getUserProperties();
/**
* Gets the base directory of the current project (if any).
- *
+ *
* @return The base directory of the current project or {@code null} if none.
*/
File getProjectDirectory();
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileInjector.java b/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileInjector.java
index 5c1e8eae00..fbd7ddf022 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileInjector.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileInjector.java
@@ -26,7 +26,7 @@ import org.apache.maven.model.building.ModelProblemCollector;
/**
* Handles profile injection into the model.
- *
+ *
* @author Benjamin Bentmann
*/
public interface ProfileInjector
@@ -35,7 +35,7 @@ public interface ProfileInjector
/**
* Merges values from the specified profile into the given model. Implementations are expected to keep the profile
* and model completely decoupled by injecting deep copies rather than the original objects from the profile.
- *
+ *
* @param model The model into which to merge the values defined by the profile, must not be null.
* @param profile The (read-only) profile whose values should be injected, may be null.
* @param request The model building request that holds further settings, must not be {@code null}.
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileSelector.java b/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileSelector.java
index f58dcc8936..53ea8d9c04 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileSelector.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileSelector.java
@@ -27,7 +27,7 @@ import org.apache.maven.model.building.ModelProblemCollector;
/**
* Calculates the active profiles among a given collection of profiles.
- *
+ *
* @author Benjamin Bentmann
*/
public interface ProfileSelector
@@ -36,7 +36,7 @@ public interface ProfileSelector
/**
* Determines the profiles which are active in the specified activation context. Active profiles will eventually be
* injected into the model.
- *
+ *
* @param profiles The profiles whose activation status should be determined, must not be {@code null}.
* @param context The environmental context used to determine the activation status of a profile, must not be
* {@code null}.
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/FileProfileActivator.java b/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/FileProfileActivator.java
index e86f142eb1..b0bda3f506 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/FileProfileActivator.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/FileProfileActivator.java
@@ -44,7 +44,7 @@ import org.codehaus.plexus.util.StringUtils;
* System properties and request properties.
* ${project.basedir} is intentionally not supported as this form would suggest that other
* ${project.*} expressions can be used, which is however beyond the design.
- *
+ *
* @author Benjamin Bentmann
* @see ActivationFile
* @see org.apache.maven.model.validation.DefaultModelValidator#validateRawModel
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java b/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java
index 10747de6be..4dc5858e44 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java
@@ -34,7 +34,7 @@ import org.codehaus.plexus.component.annotations.Component;
/**
* Determines profile activation based on the version of the current Java runtime.
- *
+ *
* @author Benjamin Bentmann
* @see Activation#getJdk()
*/
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java b/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java
index b6d3f052b5..2d53621a08 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java
@@ -29,7 +29,7 @@ import org.codehaus.plexus.util.Os;
/**
* Determines profile activation based on the operating system of the current runtime platform.
- *
+ *
* @author Benjamin Bentmann
* @see ActivationOS
*/
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/ProfileActivator.java b/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/ProfileActivator.java
index 57487d47b1..0547e742f7 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/ProfileActivator.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/ProfileActivator.java
@@ -25,7 +25,7 @@ import org.apache.maven.model.profile.ProfileActivationContext;
/**
* Determines whether a profile should be activated.
- *
+ *
* @author Benjamin Bentmann
*/
public interface ProfileActivator
@@ -33,7 +33,7 @@ public interface ProfileActivator
/**
* Determines whether the specified profile is active in the given activator context.
- *
+ *
* @param profile The profile whose activation status should be determined, must not be {@code null}.
* @param context The environmental context used to determine the activation status of the profile, must not be
* {@code null}.
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PropertyProfileActivator.java b/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PropertyProfileActivator.java
index e8e6e998ef..9a7c244a34 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PropertyProfileActivator.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PropertyProfileActivator.java
@@ -32,7 +32,7 @@ import org.codehaus.plexus.util.StringUtils;
/**
* Determines profile activation based on the existence or value of some execution property.
- *
+ *
* @author Benjamin Bentmann
* @see ActivationProperty
*/
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/resolution/InvalidRepositoryException.java b/maven-model-builder/src/main/java/org/apache/maven/model/resolution/InvalidRepositoryException.java
index 7324adfc36..303aff08cf 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/resolution/InvalidRepositoryException.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/resolution/InvalidRepositoryException.java
@@ -23,7 +23,7 @@ import org.apache.maven.model.Repository;
/**
* Signals an error when adding a repository to the model resolver.
- *
+ *
* @author Benjamin Bentmann
*/
public class InvalidRepositoryException
@@ -37,7 +37,7 @@ public class InvalidRepositoryException
/**
* Creates a new exception with specified detail message and cause for the given repository.
- *
+ *
* @param message The detail message, may be {@code null}.
* @param repository The repository that caused the error, may be {@code null}.
* @param cause The cause, may be {@code null}.
@@ -50,7 +50,7 @@ public class InvalidRepositoryException
/**
* Creates a new exception with specified detail message for the given repository.
- *
+ *
* @param message The detail message, may be {@code null}.
* @param repository The repository that caused the error, may be {@code null}.
*/
@@ -62,7 +62,7 @@ public class InvalidRepositoryException
/**
* Gets the repository that causes this error (if any).
- *
+ *
* @return The repository that causes this error or {@code null} if not known.
*/
public Repository getRepository()
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/resolution/UnresolvableModelException.java b/maven-model-builder/src/main/java/org/apache/maven/model/resolution/UnresolvableModelException.java
index aa48fa2586..733a276cc2 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/resolution/UnresolvableModelException.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/resolution/UnresolvableModelException.java
@@ -21,7 +21,7 @@ package org.apache.maven.model.resolution;
/**
* Signals an error when resolving the path to an external model.
- *
+ *
* @author Benjamin Bentmann
*/
public class UnresolvableModelException
@@ -45,7 +45,7 @@ public class UnresolvableModelException
/**
* Creates a new exception with specified detail message and cause.
- *
+ *
* @param message The detail message, may be {@code null}.
* @param groupId The group id of the unresolvable model, may be {@code null}.
* @param artifactId The artifact id of the unresolvable model, may be {@code null}.
@@ -63,7 +63,7 @@ public class UnresolvableModelException
/**
* Creates a new exception with specified detail message.
- *
+ *
* @param message The detail message, may be {@code null}.
* @param groupId The group id of the unresolvable model, may be {@code null}.
* @param artifactId The artifact id of the unresolvable model, may be {@code null}.
@@ -79,7 +79,7 @@ public class UnresolvableModelException
/**
* Gets the group id of the unresolvable model.
- *
+ *
* @return The group id of the unresolvable model, can be empty but never {@code null}.
*/
public String getGroupId()
@@ -89,7 +89,7 @@ public class UnresolvableModelException
/**
* Gets the artifact id of the unresolvable model.
- *
+ *
* @return The artifact id of the unresolvable model, can be empty but never {@code null}.
*/
public String getArtifactId()
@@ -99,7 +99,7 @@ public class UnresolvableModelException
/**
* Gets the version of the unresolvable model.
- *
+ *
* @return The version of the unresolvable model, can be empty but never {@code null}.
*/
public String getVersion()
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/superpom/SuperPomProvider.java b/maven-model-builder/src/main/java/org/apache/maven/model/superpom/SuperPomProvider.java
index 46d807fadc..3f44fb7e4e 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/superpom/SuperPomProvider.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/superpom/SuperPomProvider.java
@@ -23,7 +23,7 @@ import org.apache.maven.model.Model;
/**
* Provides the super POM that all models implicitly inherit from.
- *
+ *
* @author Benjamin Bentmann
*/
public interface SuperPomProvider
@@ -33,7 +33,7 @@ public interface SuperPomProvider
* Gets the super POM for the specified model version. The returned model is supposed to be read-only, i.e. if the
* caller intends to make updates to the model the return value must be cloned before updating to ensure the
* modifications don't affect future retrievals of the super POM.
- *
+ *
* @param version The model version to retrieve the super POM for (e.g. "4.0.0"), must not be {@code null}.
* @return The super POM, never {@code null}.
*/
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java b/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
index fd66323cac..6b2a98de12 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
@@ -747,7 +747,7 @@ public class DefaultModelValidator
}
}
-
+
private boolean validateStringNoExpression( String fieldName, ModelProblemCollector problems, Severity severity,
Version version, String string, InputLocationTracker tracker )
{
diff --git a/maven-model-builder/src/main/java/org/apache/maven/model/validation/ModelValidator.java b/maven-model-builder/src/main/java/org/apache/maven/model/validation/ModelValidator.java
index 34bd97a5dc..84e3faddc5 100644
--- a/maven-model-builder/src/main/java/org/apache/maven/model/validation/ModelValidator.java
+++ b/maven-model-builder/src/main/java/org/apache/maven/model/validation/ModelValidator.java
@@ -25,7 +25,7 @@ import org.apache.maven.model.building.ModelProblemCollector;
/**
* Checks the model for missing or invalid values.
- *
+ *
* @author Trygve Laugstøl
*/
public interface ModelValidator
@@ -34,7 +34,7 @@ public interface ModelValidator
/**
* Checks the specified (raw) model for missing or invalid values. The raw model is directly created from the POM
* file and has not been subjected to inheritance, interpolation or profile/default injection.
- *
+ *
* @param model The model to validate, must not be {@code null}.
* @param request The model building request that holds further settings, must not be {@code null}.
* @param problems The container used to collect problems that were encountered, must not be {@code null}.
@@ -44,7 +44,7 @@ public interface ModelValidator
/**
* Checks the specified (effective) model for missing or invalid values. The effective model is fully assembled and
* has undergone inheritance, interpolation and other model operations.
- *
+ *
* @param model The model to validate, must not be {@code null}.
* @param request The model building request that holds further settings, must not be {@code null}.
* @param problems The container used to collect problems that were encountered, must not be {@code null}.
diff --git a/maven-model-builder/src/test/java/org/apache/maven/model/building/SimpleProblemCollector.java b/maven-model-builder/src/test/java/org/apache/maven/model/building/SimpleProblemCollector.java
index 06f1b1bb0c..bb0ccff942 100644
--- a/maven-model-builder/src/test/java/org/apache/maven/model/building/SimpleProblemCollector.java
+++ b/maven-model-builder/src/test/java/org/apache/maven/model/building/SimpleProblemCollector.java
@@ -27,7 +27,7 @@ import org.apache.maven.model.Model;
/**
* A simple model problem collector for testing the model building components.
- *
+ *
* @author Benjamin Bentmann
*/
public class SimpleProblemCollector
diff --git a/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/StringSearchModelInterpolatorTest.java b/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/StringSearchModelInterpolatorTest.java
index 5d24f185bd..c4cae3d455 100644
--- a/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/StringSearchModelInterpolatorTest.java
+++ b/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/StringSearchModelInterpolatorTest.java
@@ -38,7 +38,7 @@ import java.util.concurrent.FutureTask;
* @author Benjamin Bentmann
*/
public class StringSearchModelInterpolatorTest
- extends AbstractModelInterpolatorTest
+ extends AbstractModelInterpolatorTest
{
protected ModelInterpolator interpolator;
@@ -81,7 +81,7 @@ public class StringSearchModelInterpolatorTest
final SimpleProblemCollector collector = new SimpleProblemCollector();
interpolator.interpolateObject( values, model, new File( "." ), config, collector );
- assertProblemFree( collector );
+ assertProblemFree( collector );
assertEquals( "value", values[0] );
assertEquals( "value2", values[1] );
@@ -113,7 +113,7 @@ public class StringSearchModelInterpolatorTest
final SimpleProblemCollector collector = new SimpleProblemCollector();
interpolator.interpolateObject( obj, model, new File( "." ), config, collector );
- assertProblemFree( collector );
+ assertProblemFree( collector );
assertEquals( "value", obj.values[0] );
assertEquals( "value2", obj.values[1] );
@@ -167,7 +167,7 @@ public class StringSearchModelInterpolatorTest
final SimpleProblemCollector collector = new SimpleProblemCollector();
interpolator.interpolateObject( obj, model, new File( "." ), config, collector );
- assertProblemFree( collector );
+ assertProblemFree( collector );
assertEquals( "key", obj.values.get( 0 ) );
assertEquals( "value2", obj.values.get( 1 ) );
@@ -192,7 +192,7 @@ public class StringSearchModelInterpolatorTest
final SimpleProblemCollector collector = new SimpleProblemCollector();
interpolator.interpolateObject( obj, model, new File( "." ), config, collector );
- assertProblemFree( collector );
+ assertProblemFree( collector );
assertEquals( "${key}", obj.values.get( 0 ) );
}
@@ -276,7 +276,7 @@ public class StringSearchModelInterpolatorTest
final SimpleProblemCollector collector = new SimpleProblemCollector();
interpolator.interpolateObject( obj, model, new File( "." ), config, collector );
- assertProblemFree( collector );
+ assertProblemFree( collector );
assertEquals( "val", obj.values.get( "key" ) );
assertEquals( "value2", obj.values.get( "key2" ) );
@@ -329,7 +329,7 @@ public class StringSearchModelInterpolatorTest
final SimpleProblemCollector collector = new SimpleProblemCollector();
interpolator.interpolateObject( obj, model, new File( "." ), config, collector );
- assertProblemFree( collector );
+ assertProblemFree( collector );
assertEquals( "value", ( (String[]) obj.values.get( "key" ) )[0] );
assertEquals( "value2", ( (String[]) obj.values.get( "key" ) )[1] );
@@ -460,7 +460,7 @@ public class StringSearchModelInterpolatorTest
return fooBar;
}
}
-
+
public void testFinalFieldsExcludedFromInterpolation()
{
Properties props = new Properties();
diff --git a/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/AbstractProfileActivatorTest.java b/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/AbstractProfileActivatorTest.java
index 7449c36b19..0ec3b326d4 100644
--- a/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/AbstractProfileActivatorTest.java
+++ b/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/AbstractProfileActivatorTest.java
@@ -30,7 +30,7 @@ import org.codehaus.plexus.component.annotations.Component;
/**
* Provides common services to test {@link ProfileActivator} implementations.
- *
+ *
* @author Benjamin Bentmann
*/
public abstract class AbstractProfileActivatorTest
diff --git a/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivatorTest.java b/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivatorTest.java
index e7bfe2cdb9..440f120bbb 100644
--- a/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivatorTest.java
+++ b/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivatorTest.java
@@ -26,7 +26,7 @@ import org.apache.maven.model.Profile;
/**
* Tests {@link JdkVersionProfileActivator}.
- *
+ *
* @author Benjamin Bentmann
*/
public class JdkVersionProfileActivatorTest
diff --git a/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/PropertyProfileActivatorTest.java b/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/PropertyProfileActivatorTest.java
index 6434864806..73ab967e53 100644
--- a/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/PropertyProfileActivatorTest.java
+++ b/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/PropertyProfileActivatorTest.java
@@ -27,7 +27,7 @@ import org.apache.maven.model.Profile;
/**
* Tests {@link PropertyProfileActivator}.
- *
+ *
* @author Benjamin Bentmann
*/
public class PropertyProfileActivatorTest
diff --git a/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java b/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java
index ac7ead0dfa..791a31893d 100644
--- a/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java
+++ b/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java
@@ -563,9 +563,9 @@ public class DefaultModelValidatorTest
"'dependencies.dependency.exclusions.exclusion.groupId' for gid:aid:jar" );
assertContains( result.getWarnings().get( 1 ),
"'dependencies.dependency.exclusions.exclusion.artifactId' for gid:aid:jar" );
-
+
// MNG-3832: Aether (part of M3+) supports wildcard expressions for exclusions
-
+
SimpleProblemCollector result_30 = validate( "bad-dependency-exclusion-id.xml" );
assertViolations( result_30, 0, 0, 0 );
diff --git a/maven-model-builder/src/test/resources/poms/validation/invalid-aggregator-packaging-pom.xml b/maven-model-builder/src/test/resources/poms/validation/invalid-aggregator-packaging-pom.xml
index b050b13230..977f5db4e5 100644
--- a/maven-model-builder/src/test/resources/poms/validation/invalid-aggregator-packaging-pom.xml
+++ b/maven-model-builder/src/test/resources/poms/validation/invalid-aggregator-packaging-pom.xml
@@ -23,7 +23,7 @@ under the License.
foo99.44bleh
-
+
test-module
diff --git a/maven-model/src/main/java/org/apache/maven/model/io/xpp3/package-info.java b/maven-model/src/main/java/org/apache/maven/model/io/xpp3/package-info.java
index c52dd8e644..648607ce0f 100644
--- a/maven-model/src/main/java/org/apache/maven/model/io/xpp3/package-info.java
+++ b/maven-model/src/main/java/org/apache/maven/model/io/xpp3/package-info.java
@@ -4,7 +4,7 @@
* These classes use
* plexus-utils'
* XML Pull Parser API for their internal XML handling and
- * Xpp3DomBuilder +
+ * Xpp3DomBuilder +
* Xpp3Dom for
* DOM content representation (see <configuration> elements).
*/
diff --git a/maven-model/src/test/java/org/apache/maven/model/ActivationFileTest.java b/maven-model/src/test/java/org/apache/maven/model/ActivationFileTest.java
index fdaa1d9e4d..f88da58142 100644
--- a/maven-model/src/test/java/org/apache/maven/model/ActivationFileTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/ActivationFileTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code ActivationFile}.
- *
+ *
* @author Benjamin Bentmann
*/
public class ActivationFileTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/ActivationOSTest.java b/maven-model/src/test/java/org/apache/maven/model/ActivationOSTest.java
index bcc56e8eeb..f0d3045078 100644
--- a/maven-model/src/test/java/org/apache/maven/model/ActivationOSTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/ActivationOSTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code ActivationOS}.
- *
+ *
* @author Benjamin Bentmann
*/
public class ActivationOSTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/ActivationPropertyTest.java b/maven-model/src/test/java/org/apache/maven/model/ActivationPropertyTest.java
index 38b234ee46..5f5e048a90 100644
--- a/maven-model/src/test/java/org/apache/maven/model/ActivationPropertyTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/ActivationPropertyTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code ActivationProperty}.
- *
+ *
* @author Benjamin Bentmann
*/
public class ActivationPropertyTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/ActivationTest.java b/maven-model/src/test/java/org/apache/maven/model/ActivationTest.java
index 96550d1c51..f6d0f91002 100644
--- a/maven-model/src/test/java/org/apache/maven/model/ActivationTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/ActivationTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code Activation}.
- *
+ *
* @author Benjamin Bentmann
*/
public class ActivationTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/BuildTest.java b/maven-model/src/test/java/org/apache/maven/model/BuildTest.java
index 630d812828..80a60d57ea 100644
--- a/maven-model/src/test/java/org/apache/maven/model/BuildTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/BuildTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code Build}.
- *
+ *
* @author Benjamin Bentmann
*/
public class BuildTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/CiManagementTest.java b/maven-model/src/test/java/org/apache/maven/model/CiManagementTest.java
index 8803364275..7194c8442c 100644
--- a/maven-model/src/test/java/org/apache/maven/model/CiManagementTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/CiManagementTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code CiManagement}.
- *
+ *
* @author Benjamin Bentmann
*/
public class CiManagementTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/ContributorTest.java b/maven-model/src/test/java/org/apache/maven/model/ContributorTest.java
index d9cd17e626..491b99ae82 100644
--- a/maven-model/src/test/java/org/apache/maven/model/ContributorTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/ContributorTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code Contributor}.
- *
+ *
* @author Benjamin Bentmann
*/
public class ContributorTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/DependencyManagementTest.java b/maven-model/src/test/java/org/apache/maven/model/DependencyManagementTest.java
index f964da4245..7702c62fd9 100644
--- a/maven-model/src/test/java/org/apache/maven/model/DependencyManagementTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/DependencyManagementTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code DependencyManagement}.
- *
+ *
* @author Benjamin Bentmann
*/
public class DependencyManagementTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/DependencyTest.java b/maven-model/src/test/java/org/apache/maven/model/DependencyTest.java
index d0e7dd95dd..ec0a833655 100644
--- a/maven-model/src/test/java/org/apache/maven/model/DependencyTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/DependencyTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code Dependency}.
- *
+ *
* @author Benjamin Bentmann
*/
public class DependencyTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/DeploymentRepositoryTest.java b/maven-model/src/test/java/org/apache/maven/model/DeploymentRepositoryTest.java
index 19843567e8..169ec65079 100644
--- a/maven-model/src/test/java/org/apache/maven/model/DeploymentRepositoryTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/DeploymentRepositoryTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code DeploymentRepository}.
- *
+ *
* @author Benjamin Bentmann
*/
public class DeploymentRepositoryTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/DeveloperTest.java b/maven-model/src/test/java/org/apache/maven/model/DeveloperTest.java
index 5c9c480dab..c0dfe56dfa 100644
--- a/maven-model/src/test/java/org/apache/maven/model/DeveloperTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/DeveloperTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code Developer}.
- *
+ *
* @author Benjamin Bentmann
*/
public class DeveloperTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/DistributionManagementTest.java b/maven-model/src/test/java/org/apache/maven/model/DistributionManagementTest.java
index d3110df9ca..0314d61b71 100644
--- a/maven-model/src/test/java/org/apache/maven/model/DistributionManagementTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/DistributionManagementTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code DistributionManagement}.
- *
+ *
* @author Benjamin Bentmann
*/
public class DistributionManagementTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/ExclusionTest.java b/maven-model/src/test/java/org/apache/maven/model/ExclusionTest.java
index b80c2e8ec8..6febacebed 100644
--- a/maven-model/src/test/java/org/apache/maven/model/ExclusionTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/ExclusionTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code Exclusion}.
- *
+ *
* @author Benjamin Bentmann
*/
public class ExclusionTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/ExtensionTest.java b/maven-model/src/test/java/org/apache/maven/model/ExtensionTest.java
index 34afb8e87a..4b8cd8a117 100644
--- a/maven-model/src/test/java/org/apache/maven/model/ExtensionTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/ExtensionTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code Extension}.
- *
+ *
* @author Benjamin Bentmann
*/
public class ExtensionTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/IssueManagementTest.java b/maven-model/src/test/java/org/apache/maven/model/IssueManagementTest.java
index bcd25ec622..5e50c15715 100644
--- a/maven-model/src/test/java/org/apache/maven/model/IssueManagementTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/IssueManagementTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code IssueManagement}.
- *
+ *
* @author Benjamin Bentmann
*/
public class IssueManagementTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/LicenseTest.java b/maven-model/src/test/java/org/apache/maven/model/LicenseTest.java
index 012a5ddf1a..179921b2b7 100644
--- a/maven-model/src/test/java/org/apache/maven/model/LicenseTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/LicenseTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code License}.
- *
+ *
* @author Benjamin Bentmann
*/
public class LicenseTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/MailingListTest.java b/maven-model/src/test/java/org/apache/maven/model/MailingListTest.java
index f702673d0b..612969520d 100644
--- a/maven-model/src/test/java/org/apache/maven/model/MailingListTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/MailingListTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code MailingList}.
- *
+ *
* @author Benjamin Bentmann
*/
public class MailingListTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/ModelTest.java b/maven-model/src/test/java/org/apache/maven/model/ModelTest.java
index 9fcadfad95..c9ec4da96a 100644
--- a/maven-model/src/test/java/org/apache/maven/model/ModelTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/ModelTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code Model}.
- *
+ *
* @author Benjamin Bentmann
*/
public class ModelTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/NotifierTest.java b/maven-model/src/test/java/org/apache/maven/model/NotifierTest.java
index bbafb6b96a..4e5d0685ca 100644
--- a/maven-model/src/test/java/org/apache/maven/model/NotifierTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/NotifierTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code Notifier}.
- *
+ *
* @author Benjamin Bentmann
*/
public class NotifierTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/OrganizationTest.java b/maven-model/src/test/java/org/apache/maven/model/OrganizationTest.java
index b7ea28e419..48abe77e2b 100644
--- a/maven-model/src/test/java/org/apache/maven/model/OrganizationTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/OrganizationTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code Organization}.
- *
+ *
* @author Benjamin Bentmann
*/
public class OrganizationTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/ParentTest.java b/maven-model/src/test/java/org/apache/maven/model/ParentTest.java
index 04f5a7461f..78d45672a3 100644
--- a/maven-model/src/test/java/org/apache/maven/model/ParentTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/ParentTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code Parent}.
- *
+ *
* @author Benjamin Bentmann
*/
public class ParentTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/PluginConfigurationTest.java b/maven-model/src/test/java/org/apache/maven/model/PluginConfigurationTest.java
index 08a9531767..cbb123d5ab 100644
--- a/maven-model/src/test/java/org/apache/maven/model/PluginConfigurationTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/PluginConfigurationTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code PluginConfiguration}.
- *
+ *
* @author Benjamin Bentmann
*/
public class PluginConfigurationTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/PluginContainerTest.java b/maven-model/src/test/java/org/apache/maven/model/PluginContainerTest.java
index 8c1277373e..878298cf3e 100644
--- a/maven-model/src/test/java/org/apache/maven/model/PluginContainerTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/PluginContainerTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code PluginContainer}.
- *
+ *
* @author Benjamin Bentmann
*/
public class PluginContainerTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/PluginExecutionTest.java b/maven-model/src/test/java/org/apache/maven/model/PluginExecutionTest.java
index 72d73fd5de..e8fff5129a 100644
--- a/maven-model/src/test/java/org/apache/maven/model/PluginExecutionTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/PluginExecutionTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code PluginExecution}.
- *
+ *
* @author Benjamin Bentmann
*/
public class PluginExecutionTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/PluginManagementTest.java b/maven-model/src/test/java/org/apache/maven/model/PluginManagementTest.java
index fb80a77ea1..571399feb0 100644
--- a/maven-model/src/test/java/org/apache/maven/model/PluginManagementTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/PluginManagementTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code PluginManagement}.
- *
+ *
* @author Benjamin Bentmann
*/
public class PluginManagementTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/PluginTest.java b/maven-model/src/test/java/org/apache/maven/model/PluginTest.java
index 6e2d12a396..582145e096 100644
--- a/maven-model/src/test/java/org/apache/maven/model/PluginTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/PluginTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code Plugin}.
- *
+ *
* @author Benjamin Bentmann
*/
public class PluginTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/PrerequisitesTest.java b/maven-model/src/test/java/org/apache/maven/model/PrerequisitesTest.java
index 7b352e20b7..727f2c3f23 100644
--- a/maven-model/src/test/java/org/apache/maven/model/PrerequisitesTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/PrerequisitesTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code Prerequisites}.
- *
+ *
* @author Benjamin Bentmann
*/
public class PrerequisitesTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/ProfileTest.java b/maven-model/src/test/java/org/apache/maven/model/ProfileTest.java
index 9085964378..512e2a8892 100644
--- a/maven-model/src/test/java/org/apache/maven/model/ProfileTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/ProfileTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code Profile}.
- *
+ *
* @author Benjamin Bentmann
*/
public class ProfileTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/RelocationTest.java b/maven-model/src/test/java/org/apache/maven/model/RelocationTest.java
index 9319d20874..265304d8da 100644
--- a/maven-model/src/test/java/org/apache/maven/model/RelocationTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/RelocationTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code Relocation}.
- *
+ *
* @author Benjamin Bentmann
*/
public class RelocationTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/ReportPluginTest.java b/maven-model/src/test/java/org/apache/maven/model/ReportPluginTest.java
index 53e8a00651..d10cb791d5 100644
--- a/maven-model/src/test/java/org/apache/maven/model/ReportPluginTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/ReportPluginTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code ReportPlugin}.
- *
+ *
* @author Benjamin Bentmann
*/
public class ReportPluginTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/ReportSetTest.java b/maven-model/src/test/java/org/apache/maven/model/ReportSetTest.java
index b3a789afad..2f51415329 100644
--- a/maven-model/src/test/java/org/apache/maven/model/ReportSetTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/ReportSetTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code ReportSet}.
- *
+ *
* @author Benjamin Bentmann
*/
public class ReportSetTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/ReportingTest.java b/maven-model/src/test/java/org/apache/maven/model/ReportingTest.java
index 46f22a390c..dbc0fa2256 100644
--- a/maven-model/src/test/java/org/apache/maven/model/ReportingTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/ReportingTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code Reporting}.
- *
+ *
* @author Benjamin Bentmann
*/
public class ReportingTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/RepositoryPolicyTest.java b/maven-model/src/test/java/org/apache/maven/model/RepositoryPolicyTest.java
index f983df9bfd..3ae3435040 100644
--- a/maven-model/src/test/java/org/apache/maven/model/RepositoryPolicyTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/RepositoryPolicyTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code RepositoryPolicy}.
- *
+ *
* @author Benjamin Bentmann
*/
public class RepositoryPolicyTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/RepositoryTest.java b/maven-model/src/test/java/org/apache/maven/model/RepositoryTest.java
index 3b27b14359..b68b70a1ff 100644
--- a/maven-model/src/test/java/org/apache/maven/model/RepositoryTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/RepositoryTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code Repository}.
- *
+ *
* @author Benjamin Bentmann
*/
public class RepositoryTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/ResourceTest.java b/maven-model/src/test/java/org/apache/maven/model/ResourceTest.java
index 012be551d9..fa40ab43d9 100644
--- a/maven-model/src/test/java/org/apache/maven/model/ResourceTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/ResourceTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code Resource}.
- *
+ *
* @author Benjamin Bentmann
*/
public class ResourceTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/ScmTest.java b/maven-model/src/test/java/org/apache/maven/model/ScmTest.java
index 57dba9c5ef..4d7699310e 100644
--- a/maven-model/src/test/java/org/apache/maven/model/ScmTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/ScmTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code Scm}.
- *
+ *
* @author Benjamin Bentmann
*/
public class ScmTest
diff --git a/maven-model/src/test/java/org/apache/maven/model/SiteTest.java b/maven-model/src/test/java/org/apache/maven/model/SiteTest.java
index 7813670815..84896bb4d7 100644
--- a/maven-model/src/test/java/org/apache/maven/model/SiteTest.java
+++ b/maven-model/src/test/java/org/apache/maven/model/SiteTest.java
@@ -23,7 +23,7 @@ import junit.framework.TestCase;
/**
* Tests {@code Site}.
- *
+ *
* @author Benjamin Bentmann
*/
public class SiteTest
diff --git a/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoNotFoundException.java b/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoNotFoundException.java
index ab4568c081..4d99546ae2 100644
--- a/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoNotFoundException.java
+++ b/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoNotFoundException.java
@@ -31,7 +31,7 @@ public class MojoNotFoundException
private String goal;
private PluginDescriptor pluginDescriptor;
-
+
public MojoNotFoundException( String goal, PluginDescriptor pluginDescriptor )
{
super( toMessage( goal, pluginDescriptor ) );
@@ -48,7 +48,7 @@ public class MojoNotFoundException
public PluginDescriptor getPluginDescriptor()
{
return pluginDescriptor;
- }
+ }
private static String toMessage( String goal, PluginDescriptor pluginDescriptor )
{
diff --git a/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java b/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java
index 7ebb04a2f7..bc2d55547a 100644
--- a/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java
+++ b/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java
@@ -291,7 +291,7 @@ public class MojoDescriptor
* resolution, this does not include the download of the files for the dependency artifacts. It is meant for mojos
* that only want to analyze the set of transitive dependencies, in particular during early lifecycle phases where
* full dependency resolution might fail due to projects which haven't been built yet.
- *
+ *
* @return The scope of (transitive) dependencies that should be collected or {@code null} if none.
* @since 3.0-alpha-3
*/
diff --git a/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java b/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java
index b15f7e0c54..1d6f1be4c9 100644
--- a/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java
+++ b/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java
@@ -251,7 +251,7 @@ public class PluginDescriptor
/**
* The map of artifacts accessible by the versionlessKey, i.e. groupId:artifactId
- *
+ *
* @return a Map of artifacts, never {@code null}
* @see #getArtifacts()
*/
diff --git a/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java b/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java
index 5fbf76e001..799e3af0e2 100644
--- a/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java
+++ b/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java
@@ -32,7 +32,7 @@ import junit.framework.TestCase;
/**
* Tests {@link PluginDescriptorBuilder}.
- *
+ *
* @author Benjamin Bentmann
*/
public class PluginDescriptorBuilderTest
diff --git a/maven-plugin-api/src/test/resources/plugin.xml b/maven-plugin-api/src/test/resources/plugin.xml
index 49db31671c..6b972113a7 100644
--- a/maven-plugin-api/src/test/resources/plugin.xml
+++ b/maven-plugin-api/src/test/resources/plugin.xml
@@ -55,7 +55,7 @@ under the License.
finalNamejarNamejava.lang.String
- java.lang.String
+ java.lang.Stringfalsetrueparameter-description
diff --git a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java
index 74709aea98..29a431822a 100644
--- a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java
+++ b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java
@@ -44,7 +44,7 @@ import org.codehaus.plexus.interpolation.RegexBasedInterpolator;
/**
* Builds the effective settings from a user settings file and/or a global settings file.
- *
+ *
* @author Benjamin Bentmann
*/
@Component( role = SettingsBuilder.class )
diff --git a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilderFactory.java b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilderFactory.java
index cb7d4c5c4c..e728ec5503 100644
--- a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilderFactory.java
+++ b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilderFactory.java
@@ -31,7 +31,7 @@ import org.apache.maven.settings.validation.SettingsValidator;
* is only meant as a utility for developers that want to employ the settings builder outside of the Maven build system,
* Maven plugins should always acquire settings builder instances via dependency injection. Developers might want to
* subclass this factory to provide custom implementations for some of the components used by the settings builder.
- *
+ *
* @author Benjamin Bentmann
*/
public class DefaultSettingsBuilderFactory
@@ -54,7 +54,7 @@ public class DefaultSettingsBuilderFactory
/**
* Creates a new settings builder instance.
- *
+ *
* @return The new settings builder instance, never {@code null}.
*/
public DefaultSettingsBuilder newInstance()
diff --git a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuildingRequest.java b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuildingRequest.java
index 08c93fce43..14dc2281c2 100644
--- a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuildingRequest.java
+++ b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuildingRequest.java
@@ -24,7 +24,7 @@ import java.util.Properties;
/**
* Collects settings that control building of effective settings.
- *
+ *
* @author Benjamin Bentmann
*/
public class DefaultSettingsBuildingRequest
diff --git a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuildingResult.java b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuildingResult.java
index de9d73a205..e6d51c9aec 100644
--- a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuildingResult.java
+++ b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuildingResult.java
@@ -26,7 +26,7 @@ import org.apache.maven.settings.Settings;
/**
* Collects the output of the settings builder.
- *
+ *
* @author Benjamin Bentmann
*/
class DefaultSettingsBuildingResult
diff --git a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblem.java b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblem.java
index 9f56aefea8..cf15a03db2 100644
--- a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblem.java
+++ b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblem.java
@@ -23,7 +23,7 @@ package org.apache.maven.settings.building;
* Describes a problem that was encountered during settings building. A problem can either be an exception that was
* thrown or a simple string message. In addition, a problem carries a hint about its source, e.g. the settings file
* that exhibits the problem.
- *
+ *
* @author Benjamin Bentmann
*/
public class DefaultSettingsProblem
@@ -44,7 +44,7 @@ public class DefaultSettingsProblem
/**
* Creates a new problem with the specified message and exception.
- *
+ *
* @param message The message describing the problem, may be {@code null}.
* @param severity The severity level of the problem, may be {@code null} to default to
* {@link SettingsProblem.Severity#ERROR}.
diff --git a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblemCollector.java b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblemCollector.java
index 75eeec49f6..bcab779c3a 100644
--- a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblemCollector.java
+++ b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblemCollector.java
@@ -26,7 +26,7 @@ import org.apache.maven.settings.io.SettingsParseException;
/**
* Collects problems that are encountered during settings building.
- *
+ *
* @author Benjamin Bentmann
*/
class DefaultSettingsProblemCollector
diff --git a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/FileSettingsSource.java b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/FileSettingsSource.java
index 80c5e782d1..a821e08839 100644
--- a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/FileSettingsSource.java
+++ b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/FileSettingsSource.java
@@ -26,7 +26,7 @@ import java.io.InputStream;
/**
* Wraps an ordinary {@link File} as a settings source.
- *
+ *
* @author Benjamin Bentmann
*/
public class FileSettingsSource
@@ -37,7 +37,7 @@ public class FileSettingsSource
/**
* Creates a new settings source backed by the specified file.
- *
+ *
* @param settingsFile The settings file, must not be {@code null}.
*/
public FileSettingsSource( File settingsFile )
@@ -62,7 +62,7 @@ public class FileSettingsSource
/**
* Gets the settings file of this model source.
- *
+ *
* @return The underlying settings file, never {@code null}.
*/
public File getSettingsFile()
diff --git a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuilder.java b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuilder.java
index ed9c986a4d..61e34e990b 100644
--- a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuilder.java
+++ b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuilder.java
@@ -21,7 +21,7 @@ package org.apache.maven.settings.building;
/**
* Builds the effective settings from a user settings file and/or a global settings file.
- *
+ *
* @author Benjamin Bentmann
*/
public interface SettingsBuilder
@@ -29,7 +29,7 @@ public interface SettingsBuilder
/**
* Builds the effective settings of the specified settings files.
- *
+ *
* @param request The settings building request that holds the parameters, must not be {@code null}.
* @return The result of the settings building, never {@code null}.
* @throws SettingsBuildingException If the effective settings could not be built.
diff --git a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java
index 438e96110f..f7d48e4b36 100644
--- a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java
+++ b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java
@@ -28,7 +28,7 @@ import java.util.List;
* Signals one ore more errors during settings building. The settings builder tries to collect as many problems as
* possible before eventually failing to provide callers with rich error information. Use {@link #getProblems()} to
* query the details of the failure.
- *
+ *
* @author Benjamin Bentmann
*/
public class SettingsBuildingException
@@ -39,7 +39,7 @@ public class SettingsBuildingException
/**
* Creates a new exception with the specified problems.
- *
+ *
* @param problems The problems that causes this exception, may be {@code null}.
*/
public SettingsBuildingException( List problems )
@@ -55,7 +55,7 @@ public class SettingsBuildingException
/**
* Gets the problems that caused this exception.
- *
+ *
* @return The problems that caused this exception, never {@code null}.
*/
public List getProblems()
diff --git a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingRequest.java b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingRequest.java
index cc76e320bf..92d87d80d7 100644
--- a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingRequest.java
+++ b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingRequest.java
@@ -24,7 +24,7 @@ import java.util.Properties;
/**
* Collects settings that control the building of effective settings.
- *
+ *
* @author Benjamin Bentmann
*/
public interface SettingsBuildingRequest
@@ -32,7 +32,7 @@ public interface SettingsBuildingRequest
/**
* Gets the global settings file.
- *
+ *
* @return The global settings file or {@code null} if none.
*/
File getGlobalSettingsFile();
@@ -40,7 +40,7 @@ public interface SettingsBuildingRequest
/**
* Sets the global settings file. A non-existent settings file is equivalent to empty settings. If both user
* settings and global settings are given, the user settings take precedence.
- *
+ *
* @param globalSettingsFile The global settings file, may be {@code null} to disable global settings.
* @return This request, never {@code null}.
*/
@@ -48,7 +48,7 @@ public interface SettingsBuildingRequest
/**
* Gets the global settings source.
- *
+ *
* @return The global settings source or {@code null} if none.
*/
SettingsSource getGlobalSettingsSource();
@@ -56,7 +56,7 @@ public interface SettingsBuildingRequest
/**
* Sets the global settings source. If both user settings and a global settings are given, the user settings take
* precedence.
- *
+ *
* @param globalSettingsSource The global settings source, may be {@code null} to disable global settings.
* @return This request, never {@code null}.
*/
@@ -64,7 +64,7 @@ public interface SettingsBuildingRequest
/**
* Gets the user settings file.
- *
+ *
* @return The user settings file or {@code null} if none.
*/
File getUserSettingsFile();
@@ -72,7 +72,7 @@ public interface SettingsBuildingRequest
/**
* Sets the user settings file. A non-existent settings file is equivalent to empty settings. If both a user
* settings file and a global settings file are given, the user settings take precedence.
- *
+ *
* @param userSettingsFile The user settings file, may be {@code null} to disable user settings.
* @return This request, never {@code null}.
*/
@@ -80,7 +80,7 @@ public interface SettingsBuildingRequest
/**
* Gets the user settings source.
- *
+ *
* @return The user settings source or {@code null} if none.
*/
SettingsSource getUserSettingsSource();
@@ -88,7 +88,7 @@ public interface SettingsBuildingRequest
/**
* Sets the user settings source. If both user settings and a global settings are given, the user settings take
* precedence.
- *
+ *
* @param userSettingsSource The user settings source, may be {@code null} to disable user settings.
* @return This request, never {@code null}.
*/
@@ -97,7 +97,7 @@ public interface SettingsBuildingRequest
/**
* Gets the system properties to use for interpolation. The system properties are collected from the runtime
* environment like {@link System#getProperties()} and environment variables.
- *
+ *
* @return The system properties, never {@code null}.
*/
Properties getSystemProperties();
@@ -105,7 +105,7 @@ public interface SettingsBuildingRequest
/**
* Sets the system properties to use for interpolation. The system properties are collected from the runtime
* environment like {@link System#getProperties()} and environment variables.
- *
+ *
* @param systemProperties The system properties, may be {@code null}.
* @return This request, never {@code null}.
*/
@@ -114,7 +114,7 @@ public interface SettingsBuildingRequest
/**
* Gets the user properties to use for interpolation. The user properties have been configured directly by the user
* on his discretion, e.g. via the {@code -Dkey=value} parameter on the command line.
- *
+ *
* @return The user properties, never {@code null}.
*/
Properties getUserProperties();
@@ -122,7 +122,7 @@ public interface SettingsBuildingRequest
/**
* Sets the user properties to use for interpolation. The user properties have been configured directly by the user
* on his discretion, e.g. via the {@code -Dkey=value} parameter on the command line.
- *
+ *
* @param userProperties The user properties, may be {@code null}.
* @return This request, never {@code null}.
*/
diff --git a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingResult.java b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingResult.java
index 3fb6327bda..43b2359fac 100644
--- a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingResult.java
+++ b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingResult.java
@@ -25,7 +25,7 @@ import org.apache.maven.settings.Settings;
/**
* Collects the output of the settings builder.
- *
+ *
* @author Benjamin Bentmann
*/
public interface SettingsBuildingResult
@@ -33,7 +33,7 @@ public interface SettingsBuildingResult
/**
* Gets the assembled settings.
- *
+ *
* @return The assembled settings, never {@code null}.
*/
Settings getEffectiveSettings();
@@ -42,7 +42,7 @@ public interface SettingsBuildingResult
* Gets the problems that were encountered during the settings building. Note that only problems of severity
* {@link SettingsProblem.Severity#WARNING} and below are reported here. Problems with a higher severity level cause
* the settings builder to fail with a {@link SettingsBuildingException}.
- *
+ *
* @return The problems that were encountered during the settings building, can be empty but never {@code null}.
*/
List getProblems();
diff --git a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsProblem.java b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsProblem.java
index c0798cd3b9..e9e563d9e7 100644
--- a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsProblem.java
+++ b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsProblem.java
@@ -23,7 +23,7 @@ package org.apache.maven.settings.building;
* Describes a problem that was encountered during settings building. A problem can either be an exception that was
* thrown or a simple string message. In addition, a problem carries a hint about its source, e.g. the settings file
* that exhibits the problem.
- *
+ *
* @author Benjamin Bentmann
*/
public interface SettingsProblem
@@ -46,7 +46,7 @@ public interface SettingsProblem
* creator of the problem, the general expectation is that the hint provides sufficient information to the user to
* track the problem back to its origin. A concrete example for such a source hint can be the file path or URL from
* which the settings were read.
- *
+ *
* @return The hint about the source of the problem or an empty string if unknown, never {@code null}.
*/
String getSource();
@@ -54,7 +54,7 @@ public interface SettingsProblem
/**
* Gets the one-based index of the line containing the problem. The line number should refer to some text file that
* is given by {@link #getSource()}.
- *
+ *
* @return The one-based index of the line containing the problem or a non-positive value if unknown.
*/
int getLineNumber();
@@ -62,7 +62,7 @@ public interface SettingsProblem
/**
* Gets the one-based index of the column containing the problem. The column number should refer to some text file
* that is given by {@link #getSource()}.
- *
+ *
* @return The one-based index of the column containing the problem or non-positive value if unknown.
*/
int getColumnNumber();
@@ -71,28 +71,28 @@ public interface SettingsProblem
* Gets the location of the problem. The location is a user-friendly combination of the values from
* {@link #getSource()}, {@link #getLineNumber()} and {@link #getColumnNumber()}. The exact syntax of the returned
* value is undefined.
- *
+ *
* @return The location of the problem, never {@code null}.
*/
String getLocation();
/**
* Gets the exception that caused this problem (if any).
- *
+ *
* @return The exception that caused this problem or {@code null} if not applicable.
*/
Exception getException();
/**
* Gets the message that describes this problem.
- *
+ *
* @return The message describing this problem, never {@code null}.
*/
String getMessage();
/**
* Gets the severity level of this problem.
- *
+ *
* @return The severity level of this problem, never {@code null}.
*/
Severity getSeverity();
diff --git a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsProblemCollector.java b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsProblemCollector.java
index 74f5659513..63869c0af9 100644
--- a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsProblemCollector.java
+++ b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsProblemCollector.java
@@ -21,7 +21,7 @@ package org.apache.maven.settings.building;
/**
* Collects problems that are encountered during settings building.
- *
+ *
* @author Benjamin Bentmann
*/
public interface SettingsProblemCollector
@@ -29,7 +29,7 @@ public interface SettingsProblemCollector
/**
* Adds the specified problem.
- *
+ *
* @param severity The severity of the problem, must not be {@code null}.
* @param message The detail message of the problem, may be {@code null}.
* @param line The one-based index of the line containing the problem or {@code -1} if unknown.
diff --git a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsSource.java b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsSource.java
index 82274e5373..3297ab43a7 100644
--- a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsSource.java
+++ b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsSource.java
@@ -24,7 +24,7 @@ import java.io.InputStream;
/**
* Provides access to the contents of settings independently of the backing store (e.g. file system, database, memory).
- *
+ *
* @author Benjamin Bentmann
*/
public interface SettingsSource
@@ -33,7 +33,7 @@ public interface SettingsSource
/**
* Gets a byte stream to the settings contents. Closing the returned stream is the responsibility of the caller.
* Note that each invocation of this method returns a new/fresh stream which represents the entire contents.
- *
+ *
* @return A byte stream to the settings contents, never {@code null}.
*/
InputStream getInputStream()
@@ -42,7 +42,7 @@ public interface SettingsSource
/**
* Provides a user-friendly hint about the location of the settings. This could be a local file path, a URI or just
* an empty string. The intention is to assist users during error reporting.
- *
+ *
* @return A user-friendly hint about the location of the settings, never {@code null}.
*/
String getLocation();
diff --git a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/StringSettingsSource.java b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/StringSettingsSource.java
index 384d0c0b9b..5136f1bb23 100644
--- a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/StringSettingsSource.java
+++ b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/StringSettingsSource.java
@@ -25,7 +25,7 @@ import java.io.InputStream;
/**
* Wraps an ordinary {@link CharSequence} as a settings source.
- *
+ *
* @author Benjamin Bentmann
*/
public class StringSettingsSource
@@ -38,7 +38,7 @@ public class StringSettingsSource
/**
* Creates a new settings source backed by the specified string.
- *
+ *
* @param settings The settings' string representation, may be empty or {@code null}.
*/
public StringSettingsSource( CharSequence settings )
@@ -48,7 +48,7 @@ public class StringSettingsSource
/**
* Creates a new settings source backed by the specified string.
- *
+ *
* @param settings The settings' string representation, may be empty or {@code null}.
* @param location The location to report for this use, may be {@code null}.
*/
@@ -71,7 +71,7 @@ public class StringSettingsSource
/**
* Gets the character sequence of this settings source.
- *
+ *
* @return The underlying character stream, never {@code null}.
*/
public String getSettings()
diff --git a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/UrlSettingsSource.java b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/UrlSettingsSource.java
index c358ecc9e8..04a09f6e07 100644
--- a/maven-settings-builder/src/main/java/org/apache/maven/settings/building/UrlSettingsSource.java
+++ b/maven-settings-builder/src/main/java/org/apache/maven/settings/building/UrlSettingsSource.java
@@ -25,7 +25,7 @@ import java.net.URL;
/**
* Wraps an ordinary {@link URL} as a settings source.
- *
+ *
* @author Benjamin Bentmann
*/
public class UrlSettingsSource
@@ -36,7 +36,7 @@ public class UrlSettingsSource
/**
* Creates a new model source backed by the specified URL.
- *
+ *
* @param settingsUrl The settings URL, must not be {@code null}.
*/
public UrlSettingsSource( URL settingsUrl )
@@ -61,7 +61,7 @@ public class UrlSettingsSource
/**
* Gets the settings URL of this model source.
- *
+ *
* @return The underlying settings URL, never {@code null}.
*/
public URL getSettingsUrl()
diff --git a/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecrypter.java b/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecrypter.java
index 04c540a12d..c09cf4ca5a 100644
--- a/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecrypter.java
+++ b/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecrypter.java
@@ -34,7 +34,7 @@ import org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException;
/**
* Decrypts passwords in the settings.
- *
+ *
* @author Benjamin Bentmann
*/
@Component( role = SettingsDecrypter.class )
diff --git a/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecryptionRequest.java b/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecryptionRequest.java
index 093f49fe16..884a632aa2 100644
--- a/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecryptionRequest.java
+++ b/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecryptionRequest.java
@@ -29,7 +29,7 @@ import org.apache.maven.settings.Settings;
/**
* Collects parameters that control the decryption of settings.
- *
+ *
* @author Benjamin Bentmann
*/
public class DefaultSettingsDecryptionRequest
@@ -50,7 +50,7 @@ public class DefaultSettingsDecryptionRequest
/**
* Creates a new request to decrypt the specified settings.
- *
+ *
* @param settings The settings to decrypt, must not be {@code null}.
*/
public DefaultSettingsDecryptionRequest( Settings settings )
@@ -61,7 +61,7 @@ public class DefaultSettingsDecryptionRequest
/**
* Creates a new request to decrypt the specified server.
- *
+ *
* @param server The server to decrypt, must not be {@code null}.
*/
public DefaultSettingsDecryptionRequest( Server server )
@@ -71,7 +71,7 @@ public class DefaultSettingsDecryptionRequest
/**
* Creates a new request to decrypt the specified proxy.
- *
+ *
* @param proxy The proxy to decrypt, must not be {@code null}.
*/
public DefaultSettingsDecryptionRequest( Proxy proxy )
diff --git a/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecryptionResult.java b/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecryptionResult.java
index cfb9b672ce..1e9fd72398 100644
--- a/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecryptionResult.java
+++ b/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecryptionResult.java
@@ -28,7 +28,7 @@ import org.apache.maven.settings.building.SettingsProblem;
/**
* Collects the output of the settings decrypter.
- *
+ *
* @author Benjamin Bentmann
*/
class DefaultSettingsDecryptionResult
diff --git a/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecrypter.java b/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecrypter.java
index d12c525422..b34c3944b5 100644
--- a/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecrypter.java
+++ b/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecrypter.java
@@ -21,7 +21,7 @@ package org.apache.maven.settings.crypto;
/**
* Decrypts passwords in the settings.
- *
+ *
* @author Benjamin Bentmann
*/
public interface SettingsDecrypter
@@ -29,7 +29,7 @@ public interface SettingsDecrypter
/**
* Decrypts passwords in the settings.
- *
+ *
* @param request The settings decryption request that holds the parameters, must not be {@code null}.
* @return The result of the settings decryption, never {@code null}.
*/
diff --git a/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecryptionRequest.java b/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecryptionRequest.java
index defce890ec..b344a99ed9 100644
--- a/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecryptionRequest.java
+++ b/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecryptionRequest.java
@@ -26,7 +26,7 @@ import org.apache.maven.settings.Server;
/**
* Collects parameters that control the decryption of settings.
- *
+ *
* @author Benjamin Bentmann
*/
public interface SettingsDecryptionRequest
@@ -34,14 +34,14 @@ public interface SettingsDecryptionRequest
/**
* Gets the servers whose passwords should be decrypted.
- *
+ *
* @return The servers to decrypt, never {@code null}.
*/
List getServers();
/**
* Sets the servers whose passwords should be decrypted.
- *
+ *
* @param servers The servers to decrypt, may be {@code null}.
* @return This request, never {@code null}.
*/
@@ -49,14 +49,14 @@ public interface SettingsDecryptionRequest
/**
* Gets the proxies whose passwords should be decrypted.
- *
+ *
* @return The proxies to decrypt, never {@code null}.
*/
List getProxies();
/**
* Sets the proxies whose passwords should be decrypted.
- *
+ *
* @param proxies The proxies to decrypt, may be {@code null}.
* @return This request, never {@code null}.
*/
diff --git a/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecryptionResult.java b/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecryptionResult.java
index 2c846914c7..5b7b1f4b5a 100644
--- a/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecryptionResult.java
+++ b/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecryptionResult.java
@@ -27,7 +27,7 @@ import org.apache.maven.settings.building.SettingsProblem;
/**
* Collects the output of the settings decrypter.
- *
+ *
* @author Benjamin Bentmann
*/
public interface SettingsDecryptionResult
@@ -35,35 +35,35 @@ public interface SettingsDecryptionResult
/**
* Gets the decrypted server. This is a convenience method to retrieve the first element from {@link #getServers()}.
- *
+ *
* @return The decrypted server or {@code null}.
*/
Server getServer();
/**
* Gets the decrypted servers.
- *
+ *
* @return The decrypted server, can be empty but never {@code null}.
*/
List getServers();
/**
* Gets the decrypted proxy. This is a convenience method to retrieve the first element from {@link #getProxies()}.
- *
+ *
* @return The decrypted proxy or {@code null}.
*/
Proxy getProxy();
/**
* Gets the decrypted proxies.
- *
+ *
* @return The decrypted proxy, can be empty but never {@code null}.
*/
List getProxies();
/**
* Gets the problems that were encountered during the settings decryption.
- *
+ *
* @return The problems that were encountered during the decryption, can be empty but never {@code null}.
*/
List getProblems();
diff --git a/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsReader.java b/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsReader.java
index 20ce3fb973..c538c419c6 100644
--- a/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsReader.java
+++ b/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsReader.java
@@ -34,7 +34,7 @@ import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
/**
* Handles deserialization of settings from the default textual format.
- *
+ *
* @author Benjamin Bentmann
*/
@Component( role = SettingsReader.class )
diff --git a/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsWriter.java b/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsWriter.java
index b5afad3ced..28e09b4bfc 100644
--- a/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsWriter.java
+++ b/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsWriter.java
@@ -34,7 +34,7 @@ import org.codehaus.plexus.util.WriterFactory;
/**
* Handles serialization of settings into the default textual format.
- *
+ *
* @author Benjamin Bentmann
*/
@Component( role = SettingsWriter.class )
diff --git a/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsParseException.java b/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsParseException.java
index 991afb8b3f..425e6d8eb4 100644
--- a/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsParseException.java
+++ b/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsParseException.java
@@ -23,7 +23,7 @@ import java.io.IOException;
/**
* Signals a failure to parse the settings due to invalid syntax (e.g. non-wellformed XML or unknown elements).
- *
+ *
* @author Benjamin Bentmann
*/
public class SettingsParseException
@@ -42,7 +42,7 @@ public class SettingsParseException
/**
* Creates a new parser exception with the specified details.
- *
+ *
* @param message The error message, may be {@code null}.
* @param lineNumber The one-based index of the line containing the error or {@code -1} if unknown.
* @param columnNumber The one-based index of the column containing the error or {@code -1} if unknown.
@@ -56,7 +56,7 @@ public class SettingsParseException
/**
* Creates a new parser exception with the specified details.
- *
+ *
* @param message The error message, may be {@code null}.
* @param lineNumber The one-based index of the line containing the error or {@code -1} if unknown.
* @param columnNumber The one-based index of the column containing the error or {@code -1} if unknown.
@@ -72,7 +72,7 @@ public class SettingsParseException
/**
* Gets the one-based index of the line containing the error.
- *
+ *
* @return The one-based index of the line containing the error or a non-positive value if unknown.
*/
public int getLineNumber()
@@ -82,7 +82,7 @@ public class SettingsParseException
/**
* Gets the one-based index of the column containing the error.
- *
+ *
* @return The one-based index of the column containing the error or non-positive value if unknown.
*/
public int getColumnNumber()
diff --git a/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsReader.java b/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsReader.java
index 1e519a5ba7..7817df6577 100644
--- a/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsReader.java
+++ b/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsReader.java
@@ -29,7 +29,7 @@ import org.apache.maven.settings.Settings;
/**
* Handles deserialization of settings from some kind of textual format like XML.
- *
+ *
* @author Benjamin Bentmann
*/
public interface SettingsReader
@@ -43,7 +43,7 @@ public interface SettingsReader
/**
* Reads the settings from the specified file.
- *
+ *
* @param input The file to deserialize the settings from, must not be {@code null}.
* @param options The options to use for deserialization, may be {@code null} to use the default values.
* @return The deserialized settings, never {@code null}.
@@ -56,7 +56,7 @@ public interface SettingsReader
/**
* Reads the settings from the specified character reader. The reader will be automatically closed before the method
* returns.
- *
+ *
* @param input The reader to deserialize the settings from, must not be {@code null}.
* @param options The options to use for deserialization, may be {@code null} to use the default values.
* @return The deserialized settings, never {@code null}.
@@ -69,7 +69,7 @@ public interface SettingsReader
/**
* Reads the settings from the specified byte stream. The stream will be automatically closed before the method
* returns.
- *
+ *
* @param input The stream to deserialize the settings from, must not be {@code null}.
* @param options The options to use for deserialization, may be {@code null} to use the default values.
* @return The deserialized settings, never {@code null}.
diff --git a/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsWriter.java b/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsWriter.java
index 6ddf3a8052..54bfcf0ce1 100644
--- a/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsWriter.java
+++ b/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsWriter.java
@@ -29,7 +29,7 @@ import org.apache.maven.settings.Settings;
/**
* Handles serialization of settings into some kind of textual format like XML.
- *
+ *
* @author Benjamin Bentmann
*/
public interface SettingsWriter
@@ -38,7 +38,7 @@ public interface SettingsWriter
/**
* Writes the supplied settings to the specified file. Any non-existing parent directories of the output file will
* be created automatically.
- *
+ *
* @param output The file to serialize the settings to, must not be {@code null}.
* @param options The options to use for serialization, may be {@code null} to use the default values.
* @param settings The settings to serialize, must not be {@code null}.
@@ -50,7 +50,7 @@ public interface SettingsWriter
/**
* Writes the supplied settings to the specified character writer. The writer will be automatically closed before
* the method returns.
- *
+ *
* @param output The writer to serialize the settings to, must not be {@code null}.
* @param options The options to use for serialization, may be {@code null} to use the default values.
* @param settings The settings to serialize, must not be {@code null}.
@@ -62,7 +62,7 @@ public interface SettingsWriter
/**
* Writes the supplied settings to the specified byte stream. The stream will be automatically closed before the
* method returns.
- *
+ *
* @param output The stream to serialize the settings to, must not be {@code null}.
* @param options The options to use for serialization, may be {@code null} to use the default values.
* @param settings The settings to serialize, must not be {@code null}.
diff --git a/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/SettingsValidator.java b/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/SettingsValidator.java
index f9943e34c5..79745ecaf1 100644
--- a/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/SettingsValidator.java
+++ b/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/SettingsValidator.java
@@ -24,7 +24,7 @@ import org.apache.maven.settings.building.SettingsProblemCollector;
/**
* Validate a model settings
- *
+ *
* @author Milos Kleint
*/
public interface SettingsValidator
@@ -32,7 +32,7 @@ public interface SettingsValidator
/**
* Validate the specified settings.
- *
+ *
* @param settings The settings to validate, must not be {@code null}.
* @param problems The container used to collect problems that were encountered, must not be {@code null}.
*/
diff --git a/pom.xml b/pom.xml
index 2f5a1a3d09..567f3ec5a1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -43,7 +43,7 @@
1.6
- 1.6
+ 1.62.5.21.24.11
@@ -107,7 +107,7 @@
scm:svn:https://svn.apache.org/repos/infra/websites/production/maven/content/${maven.site.path}
-
+
Stuart McCulloch
@@ -513,9 +513,9 @@
The mission of the Apache Maven project is to create and maintain software
- libraries that provide a widely-used project build tool, targeting mainly Java
- development. Apache Maven promotes the use of dependencies via a
- standardized coordinate system, binary plugins, and a standard build
+ libraries that provide a widely-used project build tool, targeting mainly Java
+ development. Apache Maven promotes the use of dependencies via a
+ standardized coordinate system, binary plugins, and a standard build
lifecycle.