Examples of ConsumerException


Examples of org.apache.maven.archiva.consumers.ConsumerException

            updateVersionMetadata( artifact, path );
            updateProjectMetadata( artifact, path );
        }
        catch ( LayoutException e )
        {
            throw new ConsumerException( "Unable to convert to artifact reference: " + path, e );
        }
    }
View Full Code Here

Examples of org.apache.maven.archiva.consumers.ConsumerException

            this.repositoryDir = new File( repository.getRepoRoot() );
            this.index = indexFactory.createFileContentIndex( repository.getRepository() );
        }
        catch ( RepositoryException e )
        {
            throw new ConsumerException( "Unable to start IndexContentConsumer: " + e.getMessage(), e );
        }
    }
View Full Code Here

Examples of org.apache.maven.archiva.consumers.ConsumerException

            this.repositoryDir = new File( repository.getRepoRoot() );
            this.scanStartTimestamp = System.currentTimeMillis();
        }
        catch ( RepositoryNotFoundException e )
        {
            throw new ConsumerException( e.getMessage(), e );
        }
        catch ( RepositoryException e )
        {
            throw new ConsumerException( e.getMessage(), e );
        }
    }
View Full Code Here

Examples of org.apache.maven.archiva.consumers.ConsumerException

            updateVersionMetadata( artifact, path );
            updateProjectMetadata( artifact, path );
        }
        catch ( LayoutException e )
        {
            throw new ConsumerException( "Unable to convert to artifact reference: " + path, e );
        }
    }
View Full Code Here

Examples of org.apache.maven.archiva.consumers.ConsumerException

            deleteReleasedSnapshots = repository.isDeleteReleasedSnapshots();
        }
        catch ( RepositoryNotFoundException e )
        {
            throw new ConsumerException( "Can't run repository purge: " + e.getMessage(), e );
        }
        catch ( RepositoryException e )
        {
            throw new ConsumerException( "Can't run repository purge: " + e.getMessage(), e );
        }
    }
View Full Code Here

Examples of org.apache.maven.archiva.consumers.ConsumerException

            repoPurge.process( path );
        }
        catch ( RepositoryPurgeException rpe )
        {
            throw new ConsumerException( rpe.getMessage(), rpe );
        }
    }
View Full Code Here

Examples of org.apache.maven.archiva.consumers.ConsumerException

                }
                catch ( ArchivaDatabaseException e )
                {
                    String emsg = "Unable to save problem with duplicate artifact to DB: " + e.getMessage();
                    getLogger().warn( emsg, e );
                    throw new ConsumerException( emsg, e );
                }
            }
        }
    }
View Full Code Here

Examples of org.apache.maven.archiva.consumers.ConsumerException

        }
        catch ( ArchivaDatabaseException e )
        {
            String emsg = "Unable to save problem with artifact location to DB: " + e.getMessage();
            getLogger().warn( emsg, e );
            throw new ConsumerException( emsg, e );
        }
    }
View Full Code Here

Examples of org.apache.maven.archiva.consumers.ConsumerException

            this.repository = repositoryFactory.getManagedRepositoryContent( repo.getId() );
            this.repositoryDir = new File( repository.getRepoRoot() );
        }
        catch(RepositoryException e)
        {
            throw new ConsumerException( "Unable to start ArtifactUpdateDatabaseConsumer: " + e.getMessage(), e );
        }
    }
View Full Code Here

Examples of org.apache.maven.archiva.consumers.ConsumerException

          artifactDAO.deleteArtifact( artifact );
          }       
      }
      catch ( RepositoryException re )
      {
        throw new ConsumerException( "Can't run database cleanup remove artifact consumer: " +
            re.getMessage() );
      }
      catch ( ArchivaDatabaseException e )
        {
            throw new ConsumerException( e.getMessage() );
        }
    }     
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.