Examples of ManagedRepository


Examples of org.apache.archiva.admin.model.beans.ManagedRepository

        registryControl.setReturnValue( "target/test" );

        registryControl.replay();

        action.prepare();
        ManagedRepository repository = action.getRepository();
        populateRepository( repository );

        assertTrue( location.exists() );
        String status = action.commit();
        assertEquals( AddManagedRepositoryAction.CONFIRM, status );
        assertEquals( location.getCanonicalPath(), new File( repository.getLocation() ).getCanonicalPath() );
        registryControl.verify();
    }
View Full Code Here

Examples of org.apache.archiva.web.xmlrpc.api.beans.ManagedRepository

    {
        List<ManagedRepository> managedRepos = new ArrayList<ManagedRepository>();

        for ( org.apache.archiva.admin.model.beans.ManagedRepository repoConfig : managedRepositoryAdmin.getManagedRepositories() )
        {
            ManagedRepository repo =
                new ManagedRepository( repoConfig.getId(), repoConfig.getName(), repoConfig.getLocation(),
                                       repoConfig.getLayout(), repoConfig.isSnapshots(), repoConfig.isReleases() );
            managedRepos.add( repo );
        }

        return managedRepos;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.