Package org.sonatype.nexus.templates.repository

Examples of org.sonatype.nexus.templates.repository.ManuallyConfiguredRepositoryTemplate.create()


        // For now, this is a "backdoor", using manual template when we have a CRepo object.
        ManuallyConfiguredRepositoryTemplate template =
            repositoryTemplateProvider.createManuallyTemplate(new CRepositoryCoreConfiguration(
                repositoryTemplateProvider.getApplicationConfiguration(), config, null));

        template.create();

        getNexusConfiguration().saveConfiguration();
      }
      catch (ConfigurationException e) {
        handleConfigurationException(e);
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.