de.saumya.mojo.ruby.gems
Class GemsInstaller

java.lang.Object
  extended by de.saumya.mojo.ruby.gems.GemsInstaller

public class GemsInstaller
extends Object


Field Summary
 GemsConfig config
           
 ScriptFactory factory
           
 
Constructor Summary
GemsInstaller(GemsConfig config, ScriptFactory factory, GemManager manager)
           
 
Method Summary
 org.apache.maven.project.MavenProject installGem(String name, String version, org.sonatype.aether.RepositorySystemSession repositorySystemSession, org.apache.maven.artifact.repository.ArtifactRepository localRepository)
           
 void installGems(org.apache.maven.project.MavenProject pom, org.apache.maven.artifact.repository.ArtifactRepository localRepository)
           
 void installGems(org.apache.maven.project.MavenProject pom, Collection<org.apache.maven.artifact.Artifact> artifacts, org.apache.maven.artifact.repository.ArtifactRepository localRepository)
           
 void installGems(org.apache.maven.project.MavenProject pom, Collection<org.apache.maven.artifact.Artifact> artifacts, org.apache.maven.artifact.repository.ArtifactRepository localRepository, List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepos)
           
 void installGems(org.apache.maven.project.MavenProject pom, org.apache.maven.plugin.descriptor.PluginDescriptor plugin, org.apache.maven.artifact.repository.ArtifactRepository localRepository)
           
 org.apache.maven.project.MavenProject installOpenSSLGem(org.sonatype.aether.RepositorySystemSession repositorySystemSession, org.apache.maven.artifact.repository.ArtifactRepository localRepository)
           
 void installPom(org.apache.maven.project.MavenProject pom)
           
 void installPom(org.apache.maven.project.MavenProject pom, org.apache.maven.artifact.repository.ArtifactRepository localRepository)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

config

public final GemsConfig config

factory

public final ScriptFactory factory
Constructor Detail

GemsInstaller

public GemsInstaller(GemsConfig config,
                     ScriptFactory factory,
                     GemManager manager)
Method Detail

installPom

public void installPom(org.apache.maven.project.MavenProject pom)
                throws IOException,
                       ScriptException,
                       GemException
Throws:
IOException
ScriptException
GemException

installPom

public void installPom(org.apache.maven.project.MavenProject pom,
                       org.apache.maven.artifact.repository.ArtifactRepository localRepository)
                throws IOException,
                       ScriptException,
                       GemException
Throws:
IOException
ScriptException
GemException

installOpenSSLGem

public org.apache.maven.project.MavenProject installOpenSSLGem(org.sonatype.aether.RepositorySystemSession repositorySystemSession,
                                                               org.apache.maven.artifact.repository.ArtifactRepository localRepository)
                                                        throws GemException,
                                                               IOException,
                                                               ScriptException
Throws:
GemException
IOException
ScriptException

installGem

public org.apache.maven.project.MavenProject installGem(String name,
                                                        String version,
                                                        org.sonatype.aether.RepositorySystemSession repositorySystemSession,
                                                        org.apache.maven.artifact.repository.ArtifactRepository localRepository)
                                                 throws GemException,
                                                        IOException,
                                                        ScriptException
Throws:
GemException
IOException
ScriptException

installGems

public void installGems(org.apache.maven.project.MavenProject pom,
                        org.apache.maven.artifact.repository.ArtifactRepository localRepository)
                 throws IOException,
                        ScriptException,
                        GemException
Throws:
IOException
ScriptException
GemException

installGems

public void installGems(org.apache.maven.project.MavenProject pom,
                        org.apache.maven.plugin.descriptor.PluginDescriptor plugin,
                        org.apache.maven.artifact.repository.ArtifactRepository localRepository)
                 throws IOException,
                        ScriptException,
                        GemException
Throws:
IOException
ScriptException
GemException

installGems

public void installGems(org.apache.maven.project.MavenProject pom,
                        Collection<org.apache.maven.artifact.Artifact> artifacts,
                        org.apache.maven.artifact.repository.ArtifactRepository localRepository)
                 throws IOException,
                        ScriptException,
                        GemException
Throws:
IOException
ScriptException
GemException

installGems

public void installGems(org.apache.maven.project.MavenProject pom,
                        Collection<org.apache.maven.artifact.Artifact> artifacts,
                        org.apache.maven.artifact.repository.ArtifactRepository localRepository,
                        List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepos)
                 throws IOException,
                        ScriptException,
                        GemException
Throws:
IOException
ScriptException
GemException


Copyright © 2012. All Rights Reserved.