mirror of https://github.com/apache/maven.git
o Renamed classes to better describe purpose
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@817646 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
704b29c2d4
commit
3646d923a9
|
@ -47,7 +47,7 @@ public class DefaultBuildPluginManager
|
|||
private PlexusContainer container;
|
||||
|
||||
@Requirement
|
||||
private PluginCache pluginCache;
|
||||
private PluginRealmCache pluginCache;
|
||||
|
||||
@Requirement
|
||||
private MavenPluginManager mavenPluginManager;
|
||||
|
@ -158,7 +158,7 @@ public class DefaultBuildPluginManager
|
|||
ArtifactRepository localRepository = session.getLocalRepository();
|
||||
List<ArtifactRepository> remoteRepositories = project.getPluginArtifactRepositories();
|
||||
|
||||
PluginCache.CacheRecord cacheRecord = pluginCache.get( plugin, project, localRepository, remoteRepositories );
|
||||
PluginRealmCache.CacheRecord cacheRecord = pluginCache.get( plugin, project, localRepository, remoteRepositories );
|
||||
|
||||
if ( cacheRecord != null )
|
||||
{
|
||||
|
|
|
@ -37,9 +37,9 @@ import org.codehaus.plexus.component.annotations.Component;
|
|||
/**
|
||||
* Default PluginCache implementation. Assumes cached data does not change.
|
||||
*/
|
||||
@Component( role = PluginCache.class )
|
||||
public class DefaultPluginCache
|
||||
implements PluginCache
|
||||
@Component( role = PluginRealmCache.class )
|
||||
public class DefaultPluginRealmCache
|
||||
implements PluginRealmCache
|
||||
{
|
||||
|
||||
protected static class CacheKey
|
|
@ -27,7 +27,7 @@ import org.apache.maven.model.Plugin;
|
|||
import org.apache.maven.project.MavenProject;
|
||||
import org.codehaus.plexus.classworlds.realm.ClassRealm;
|
||||
|
||||
public interface PluginCache
|
||||
public interface PluginRealmCache
|
||||
{
|
||||
|
||||
public static class CacheRecord
|
Loading…
Reference in New Issue