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

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


    public void testProcessArtifactArtifactExists()
        throws Exception
    {
        ArchivaArtifact artifact =
            new ArchivaArtifact( "org.apache.maven.archiva", "archiva-lucene-cleanup", "1.0", null, "jar", "test-repo" );
        ManagedRepositoryContent repoContent = new ManagedDefaultRepositoryContent();
        repoContent.setRepository( repositoryConfig );

        IndexingContext context =
            new DefaultIndexingContext( repositoryConfig.getId(), repositoryConfig.getId(),
                                        new File( repositoryConfig.getLocation() ),
                                        new File( repositoryConfig.getIndexDir() ), null, null,
View Full Code Here


        else
        {
            indexDirectory = new File( managedRepository, ".indexer" );
        }

        repositoryContent = new ManagedDefaultRepositoryContent();
        repositoryContent.setRepository( repository );
        uinfos = new HashSet<String>();

        synchronized ( indexer )
        {
View Full Code Here

    }

    public void beginScan( ManagedRepositoryConfiguration repository, Date whenGathered )
        throws ConsumerException
    {
        this.managedRepository = new ManagedDefaultRepositoryContent();
        this.managedRepository.setRepository( repository );
    }
View Full Code Here

TOP

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

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.