Examples of IncompatibleMasterRepositoryException


Examples of org.sonatype.nexus.proxy.repository.IncompatibleMasterRepositoryException

  public void setMasterRepository(Repository masterRepository)
      throws IncompatibleMasterRepositoryException
  {
    // we allow only MavenRepository instances as masters
    if (!masterRepository.getRepositoryKind().isFacetAvailable(MavenRepository.class)) {
      throw new IncompatibleMasterRepositoryException(
          "This shadow repository needs master repository which implements MavenRepository interface!", this,
          masterRepository.getId());
    }

    super.setMasterRepository(masterRepository);
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.