Java 类org.gradle.api.internal.artifacts.ivyservice.ivyresolve.parser.GradlePomModuleDescriptorParser 实例源码

项目:Reer    文件:DefaultDependencyManagementServices.java   
BaseRepositoryFactory createBaseRepositoryFactory(LocalMavenRepositoryLocator localMavenRepositoryLocator, Instantiator instantiator, FileResolver fileResolver,
                                                  RepositoryTransportFactory repositoryTransportFactory, LocallyAvailableResourceFinder<ModuleComponentArtifactMetadata> locallyAvailableResourceFinder,
                                                  ArtifactIdentifierFileStore artifactIdentifierFileStore,
                                                  VersionSelectorScheme versionSelectorScheme,
                                                  AuthenticationSchemeRegistry authenticationSchemeRegistry,
                                                  IvyContextManager ivyContextManager) {
    return new DefaultBaseRepositoryFactory(
            localMavenRepositoryLocator,
            fileResolver,
            instantiator,
            repositoryTransportFactory,
            locallyAvailableResourceFinder,
            artifactIdentifierFileStore,
            new GradlePomModuleDescriptorParser(versionSelectorScheme),
            authenticationSchemeRegistry,
            ivyContextManager
    );
}
项目:Pushjet-Android    文件:MavenResolver.java   
public MavenResolver(String name, URI rootUri, RepositoryTransport transport,
                     LocallyAvailableResourceFinder<ModuleVersionArtifactMetaData> locallyAvailableResourceFinder,
                     ResolverStrategy resolverStrategy) {
    super(name, transport.getRepository(),
            new ChainedVersionLister(new MavenVersionLister(transport.getRepository()), new ResourceVersionLister(transport.getRepository())),
            locallyAvailableResourceFinder, new GradlePomModuleDescriptorParser(), resolverStrategy);
    transport.configureCacheManager(this);

    this.mavenMetaDataLoader = new MavenMetadataLoader(transport.getRepository());
    this.transport = transport;
    this.root = transport.convertToPath(rootUri);

    super.setM2compatible(true);

    // SNAPSHOT revisions are changing revisions
    setChangingMatcher(PatternMatcher.REGEXP);
    setChangingPattern(".*-SNAPSHOT");

    updatePatterns();
}
项目:Pushjet-Android    文件:MavenResolver.java   
public MavenResolver(String name, URI rootUri, RepositoryTransport transport,
                     LocallyAvailableResourceFinder<ModuleComponentArtifactMetaData> locallyAvailableResourceFinder,
                     FileStore<ModuleComponentArtifactMetaData> artifactFileStore) {
    super(name, transport.isLocal(),
            transport.getRepository(),
            transport.getResourceAccessor(),
            new ChainedVersionLister(new MavenVersionLister(transport.getRepository()), new ResourceVersionLister(transport.getRepository())),
            locallyAvailableResourceFinder,
            artifactFileStore);
    this.metaDataParser = new GradlePomModuleDescriptorParser();
    this.mavenMetaDataLoader = new MavenMetadataLoader(transport.getRepository());
    this.root = rootUri;

    updatePatterns();
}