Class EnhancedLocalRepositoryManagerFactory

  • All Implemented Interfaces:
    LocalRepositoryManagerFactory

    @Named("enhanced")
    public class EnhancedLocalRepositoryManagerFactory
    extends Object
    implements LocalRepositoryManagerFactory
    Creates enhanced local repository managers for repository types "default" or "" (automatic). Enhanced local repository manager is built upon the classical Maven 2.0 local repository structure but additionally keeps track of from what repositories a cached artifact was resolved. Resolution of locally cached artifacts will be rejected in case the current resolution request does not match the known source repositories of an artifact, thereby emulating physically separated artifact caches per remote repository.