Package org.lilyproject.runtime.repository

Examples of org.lilyproject.runtime.repository.ChainedMaven2StyleArtifactRepository


        String repository = System.getProperty("lily.testlauncher.repository");
        if (repository != null) {
            // Since this is for development, we always add the local Maven repository
            repository = MavenUtil.findLocalMavenRepository() + "," + repository;
            artifactRepository = new ChainedMaven2StyleArtifactRepository(repository);
        }

        return 0;
    }
View Full Code Here


        }

        ArtifactRepository artifactRepository;

        if (cmd.hasOption(repositoryLocationOption.getOpt())) {
            artifactRepository = new ChainedMaven2StyleArtifactRepository(cmd.getOptionValue(repositoryLocationOption.getOpt()));
        } else {
            File maven2Repository = findLocalMavenRepository();
            infolog.info("Using local Maven repository at " + maven2Repository.getAbsolutePath());
            artifactRepository = new Maven2StyleArtifactRepository(maven2Repository);
        }
View Full Code Here

    public static LilyRuntimeSettings createSettings(List<File> confDirs, String mavenRepoLocation) throws Exception {
        LilyRuntimeSettings settings = new LilyRuntimeSettings();
        settings.setConfManager(new ConfManagerImpl(confDirs));

        ArtifactRepository artifactRepository = new ChainedMaven2StyleArtifactRepository(mavenRepoLocation);
        settings.setRepository(artifactRepository);

        return settings;
    }
View Full Code Here

TOP

Related Classes of org.lilyproject.runtime.repository.ChainedMaven2StyleArtifactRepository

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.