Java 类org.apache.maven.model.interpolation.ModelInterpolator 实例源码

项目:intellij-ce-playground    文件:Maven30ServerEmbedderImpl.java   
public void customizeComponents() throws RemoteException {
  // replace some plexus components
  myContainer.addComponent(getComponent(ArtifactFactory.class, "ide"), ArtifactFactory.ROLE);
  myContainer.addComponent(getComponent(ArtifactResolver.class, "ide"), ArtifactResolver.ROLE);
  myContainer.addComponent(getComponent(RepositoryMetadataManager.class, "ide"), RepositoryMetadataManager.class.getName());
  myContainer.addComponent(getComponent(PluginDescriptorCache.class, "ide"), PluginDescriptorCache.class.getName());
  myContainer.addComponent(getComponent(ModelInterpolator.class, "ide"), ModelInterpolator.class.getName());
  myContainer.addComponent(getComponent(org.apache.maven.project.interpolation.ModelInterpolator.class, "ide"),
                           org.apache.maven.project.interpolation.ModelInterpolator.ROLE);
}
项目:intellij-ce-playground    文件:Maven32ServerEmbedderImpl.java   
public void customizeComponents() throws RemoteException {
  // replace some plexus components
  myContainer.addComponent(getComponent(ArtifactFactory.class, "ide"), ArtifactFactory.ROLE);
  myContainer.addComponent(getComponent(ArtifactResolver.class, "ide"), ArtifactResolver.ROLE);
  myContainer.addComponent(getComponent(RepositoryMetadataManager.class, "ide"), RepositoryMetadataManager.class.getName());
  myContainer.addComponent(getComponent(PluginDescriptorCache.class, "ide"), PluginDescriptorCache.class.getName());
  myContainer.addComponent(getComponent(ModelInterpolator.class, "ide"), ModelInterpolator.class.getName());
  myContainer.addComponent(getComponent(org.apache.maven.project.interpolation.ModelInterpolator.class, "ide"),
                           org.apache.maven.project.interpolation.ModelInterpolator.ROLE);
}
项目:oceano    文件:DefaultModelBuilderFactory.java   
protected ModelInterpolator newModelInterpolator()
{
    UrlNormalizer urlNormalizer = newUrlNormalizer();
    PathTranslator pathTranslator = newPathTranslator();
    return new StringSearchModelInterpolator().setPathTranslator( pathTranslator ).setUrlNormalizer( urlNormalizer );
}
项目:oceano    文件:DefaultModelBuilder.java   
public DefaultModelBuilder setModelInterpolator( ModelInterpolator modelInterpolator )
{
    this.modelInterpolator = modelInterpolator;
    return this;
}