Package org.apache.maven.archiva.converter

Examples of org.apache.maven.archiva.converter.RepositoryConversionException


            repoScanner.scan( legacyRepository, knownConsumers, invalidConsumers, ignoredContent,
                              RepositoryScanner.FRESH_SCAN );
        }
        catch ( RepositoryException e )
        {
            throw new RepositoryConversionException( "Error convering legacy repository.", e );
        }
    }
View Full Code Here


            repoScanner.scan( legacyRepository, knownConsumers, invalidConsumers, ignoredContent,
                              RepositoryScanner.FRESH_SCAN );
        }
        catch ( RepositoryException e )
        {
            throw new RepositoryConversionException( "Error convering legacy repository.", e );
        }
    }
View Full Code Here

            repoScanner.scan( legacyRepository, knownConsumers, invalidConsumers, ignoredContent,
                              RepositoryScanner.FRESH_SCAN );
        }
        catch ( RepositoryException e )
        {
            throw new RepositoryConversionException( "Error convering legacy repository.", e );
        }
    }
View Full Code Here

            repoScanner.scan( legacyRepository, knownConsumers, invalidConsumers, ignoredContent,
                              RepositoryScanner.FRESH_SCAN );
        }
        catch ( RepositoryException e )
        {
            throw new RepositoryConversionException( "Error convering legacy repository.", e );
        }
    }
View Full Code Here

            repository = artifactRepositoryFactory.createArtifactRepository( "default", repositoryDir, defaultLayout,
                                                                             null, null );
        }
        catch ( MalformedURLException e )
        {
            throw new RepositoryConversionException( "Error convering legacy repository.", e );
        }

        try
        {
            List consumers = new ArrayList();
            legacyConverterConsumer.setDestinationRepository( repository );
            consumers.add( legacyConverterConsumer );

            discoverer.walkRepository( legacyRepository, consumers, includeSnapshots );
        }
        catch ( DiscovererException e )
        {
            throw new RepositoryConversionException(
                "Unable to convert repository due to discoverer error:" + e.getMessage(), e );
        }
    }
View Full Code Here

            {
                try
                {
                    rollback( toRollback );

                    throw new RepositoryConversionException( "Unable to commit file transaction", e );
                }
                catch ( IOException ioe )
                {
                    throw new RepositoryConversionException(
                        "Unable to commit file transaction, and rollback failed with error: '" + ioe.getMessage() + "'",
                        e );
                }
            }
        }
View Full Code Here

            repoScanner.scan( legacyRepository, knownConsumers, invalidConsumers, ignoredContent,
                              RepositoryScanner.FRESH_SCAN );
        }
        catch ( RepositoryException e )
        {
            throw new RepositoryConversionException( "Error convering legacy repository.", e );
        }
    }
View Full Code Here

            repoScanner.scan( legacyRepository, knownConsumers, invalidConsumers, ignoredContent,
                              RepositoryScanner.FRESH_SCAN );
        }
        catch ( RepositoryException e )
        {
            throw new RepositoryConversionException( "Error convering legacy repository.", e );
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.maven.archiva.converter.RepositoryConversionException

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.