Package org.apache.maven.archiva.repository.content

Examples of org.apache.maven.archiva.repository.content.ManagedLegacyRepositoryContent


        ManagedRepositoryConfiguration managedRepo = createManagedRepo( "legacy", "legacy-repo" );
       
        archivaConfigControl.expectAndReturn( archivaConfig.getConfiguration(), config );
        configControl.expectAndReturn( config.findManagedRepositoryById( "internal" ), managedRepo );
               
        ManagedLegacyRepositoryContent repoContent = new ManagedLegacyRepositoryContent();
        repoContent.setRepository( managedRepo );
        repoContent.setFileTypes( fileTypes );
        repoContent.setLegacyPathParser( parser );
               
        repoFactoryControl.expectAndReturn( repositoryFactory.getManagedRepositoryContent( "internal" ), repoContent );
       
        recordInManagedLegacyRepoContent( fileTypesControl, fileTypes, pathParserControl, parser );
       
View Full Code Here


        ManagedRepositoryConfiguration managedRepo = createManagedRepo( "legacy", "legacy-repo" );
       
        archivaConfigControl.expectAndReturn( archivaConfig.getConfiguration(), config );
        configControl.expectAndReturn( config.findManagedRepositoryById( "internal" ), managedRepo );
               
        ManagedLegacyRepositoryContent repoContent = new ManagedLegacyRepositoryContent();
        repoContent.setRepository( managedRepo );
        repoContent.setFileTypes( fileTypes );
        repoContent.setLegacyPathParser( parser );
               
        repoFactoryControl.expectAndReturn( repositoryFactory.getManagedRepositoryContent( "internal" ), repoContent );
       
        recordInManagedLegacyRepoContent( fileTypesControl, fileTypes, pathParserControl, parser );
       
View Full Code Here

        managedRepo.setLocation( file.getAbsolutePath() );
       
        archivaConfigControl.expectAndReturn( archivaConfig.getConfiguration(), config );
        configControl.expectAndReturn( config.findManagedRepositoryById( "internal" ), managedRepo );
               
        ManagedLegacyRepositoryContent repoContent = new ManagedLegacyRepositoryContent();
        repoContent.setRepository( managedRepo );
        repoContent.setFileTypes( fileTypes );
        repoContent.setLegacyPathParser( parser );
               
        repoFactoryControl.expectAndReturn( repositoryFactory.getManagedRepositoryContent( "internal" ), repoContent );
       
        recordInManagedLegacyRepoContent( fileTypesControl, fileTypes, pathParserControl, parser );
       
View Full Code Here

TOP

Related Classes of org.apache.maven.archiva.repository.content.ManagedLegacyRepositoryContent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.