diff --git a/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java b/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java index fb6712153c..d10257c118 100644 --- a/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java +++ b/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java @@ -108,9 +108,9 @@ public class ArtifactResolutionRequest return remoteRepositories; } - public ArtifactResolutionRequest setRemoteRepostories( List remoteRepostories ) + public ArtifactResolutionRequest setRemoteRepositories( List remoteRepositories ) { - this.remoteRepositories = remoteRepostories; + this.remoteRepositories = remoteRepositories; return this; } diff --git a/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java b/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java index bf04296c01..b28d03160c 100644 --- a/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java +++ b/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java @@ -318,7 +318,7 @@ public class DefaultArtifactResolver .setArtifactDependencies( artifacts ) .setManagedVersionMap( managedVersions ) .setLocalRepository( localRepository ) - .setRemoteRepostories( remoteRepositories ) + .setRemoteRepositories( remoteRepositories ) .setFilter( filter ) .setListeners( listeners ); diff --git a/maven-core/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java b/maven-core/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java index e08beea15e..5761b391aa 100644 --- a/maven-core/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java +++ b/maven-core/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java @@ -78,7 +78,7 @@ public class DefaultProjectDependenciesResolver .setResolveRoot( false ) .setResolveTransitively( true ) .setLocalRepository( localRepository ) - .setRemoteRepostories( remoteRepositories ) + .setRemoteRepositories( remoteRepositories ) .setManagedVersionMap( project.getManagedVersionMap() ) .setFilter( filter ); // FIXME setTransferListener diff --git a/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java b/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java index 292e871ddb..242b57c8ae 100644 --- a/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java +++ b/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java @@ -131,7 +131,7 @@ public class DefaultPluginManager ArtifactResolutionRequest request = new ArtifactResolutionRequest() .setArtifact( pluginArtifact ) .setLocalRepository( localRepository ) - .setRemoteRepostories( remoteRepositories ) + .setRemoteRepositories( remoteRepositories ) .setResolveTransitively( false ); // FIXME setTransferListener ArtifactResolutionResult result = repositorySystem.resolve( request ); @@ -274,7 +274,7 @@ public class DefaultPluginManager // So this in fact are overrides ... .setArtifactDependencies( dependenciesToResolveForPlugin ) .setLocalRepository( localRepository ) - .setRemoteRepostories( remoteRepositories ) + .setRemoteRepositories( remoteRepositories ) .setFilter( filter ) .setResolveRoot( true ) .setResolveTransitively( true ); diff --git a/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java b/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java index 21e19d4ffd..9a590b0597 100644 --- a/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java +++ b/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java @@ -192,7 +192,7 @@ public class DefaultProjectBuilder ArtifactResolutionRequest request = new ArtifactResolutionRequest() .setArtifact( artifact ) .setLocalRepository( configuration.getLocalRepository() ) - .setRemoteRepostories( configuration.getRemoteRepositories() ); + .setRemoteRepositories( configuration.getRemoteRepositories() ); // FIXME setTransferListener ArtifactResolutionResult result = repositorySystem.resolve( request ); @@ -258,7 +258,7 @@ public class DefaultProjectBuilder .setResolveRoot( false ) .setResolveTransitively( true ) .setLocalRepository( request.getLocalRepository() ) - .setRemoteRepostories( project.getRemoteArtifactRepositories() ) + .setRemoteRepositories( project.getRemoteArtifactRepositories() ) .setManagedVersionMap( project.getManagedVersionMap() ); // FIXME setTransferListener ArtifactResolutionResult result; diff --git a/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingHelper.java b/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingHelper.java index 708ce28c3d..2eb774d270 100644 --- a/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingHelper.java +++ b/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingHelper.java @@ -175,7 +175,7 @@ public class DefaultProjectBuildingHelper request.setArtifactDependencies( dependencies ); request.setResolveTransitively( true ); request.setLocalRepository( localRepository ); - request.setRemoteRepostories( remoteRepositories ); + request.setRemoteRepositories( remoteRepositories ); // FIXME setTransferListener ArtifactResolutionResult result = repositorySystem.resolve( request ); diff --git a/maven-core/src/main/java/org/apache/maven/project/RepositoryModelResolver.java b/maven-core/src/main/java/org/apache/maven/project/RepositoryModelResolver.java index 3c3f01dfb1..5f0d794415 100644 --- a/maven-core/src/main/java/org/apache/maven/project/RepositoryModelResolver.java +++ b/maven-core/src/main/java/org/apache/maven/project/RepositoryModelResolver.java @@ -130,7 +130,7 @@ class RepositoryModelResolver ArtifactResolutionRequest request = new ArtifactResolutionRequest(); request.setArtifact( artifactParent ); request.setLocalRepository( localRepository ); - request.setRemoteRepostories( remoteRepositories ); + request.setRemoteRepositories( remoteRepositories ); // FIXME setTransferListener ArtifactResolutionResult result = repositorySystem.resolve( request ); diff --git a/maven-core/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java b/maven-core/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java index e2c6977037..9690c6ccd3 100644 --- a/maven-core/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java +++ b/maven-core/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java @@ -78,7 +78,7 @@ public class LegacyRepositorySystemTest .setArtifact( artifact ) .setResolveRoot( true ) .setResolveTransitively( true ) - .setRemoteRepostories( Arrays.asList( new ArtifactRepository[]{ repositorySystem.createDefaultRemoteRepository() } ) ) + .setRemoteRepositories( Arrays.asList( new ArtifactRepository[]{ repositorySystem.createDefaultRemoteRepository() } ) ) .setLocalRepository( repositorySystem.createDefaultLocalRepository() ); ArtifactResolutionResult result = repositorySystem.resolve( request ); diff --git a/maven-core/src/test/java/org/apache/maven/repository/ideworkspace/IdeWorkspaceRepositoryTest.java b/maven-core/src/test/java/org/apache/maven/repository/ideworkspace/IdeWorkspaceRepositoryTest.java index 17949d93b4..f15b6b6995 100644 --- a/maven-core/src/test/java/org/apache/maven/repository/ideworkspace/IdeWorkspaceRepositoryTest.java +++ b/maven-core/src/test/java/org/apache/maven/repository/ideworkspace/IdeWorkspaceRepositoryTest.java @@ -48,7 +48,7 @@ public class IdeWorkspaceRepositoryTest ArtifactResolutionRequest request = new ArtifactResolutionRequest(); request.setArtifact( artifact ); request.setLocalRepository( localRepository ); - request.setRemoteRepostories( new ArrayList() ); + request.setRemoteRepositories( new ArrayList() ); repositorySystem.resolve( request ); @@ -69,7 +69,7 @@ public class IdeWorkspaceRepositoryTest ArtifactResolutionRequest request = new ArtifactResolutionRequest(); request.setArtifact( artifact ); request.setLocalRepository( delegatingLocalArtifactRepository ); - request.setRemoteRepostories( new ArrayList() ); + request.setRemoteRepositories( new ArrayList() ); repositorySystem.resolve( request );