org.apache.maven.artifact.installer
Class DefaultArtifactInstaller

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.apache.maven.artifact.installer.DefaultArtifactInstaller
All Implemented Interfaces:
ArtifactInstaller, org.codehaus.plexus.logging.LogEnabled

public class DefaultArtifactInstaller
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements ArtifactInstaller


Field Summary
 
Fields inherited from interface org.apache.maven.artifact.installer.ArtifactInstaller
ROLE
 
Constructor Summary
DefaultArtifactInstaller()
           
 
Method Summary
 void install(File source, Artifact artifact, ArtifactRepository localRepository)
           
 void install(String basedir, String finalName, Artifact artifact, ArtifactRepository localRepository)
          Deprecated. we want to use the artifact method only, and ensure artifact.file is set correctly.
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultArtifactInstaller

public DefaultArtifactInstaller()
Method Detail

install

public void install(String basedir,
                    String finalName,
                    Artifact artifact,
                    ArtifactRepository localRepository)
             throws ArtifactInstallationException
Deprecated. we want to use the artifact method only, and ensure artifact.file is set correctly.

Specified by:
install in interface ArtifactInstaller
Throws:
ArtifactInstallationException

install

public void install(File source,
                    Artifact artifact,
                    ArtifactRepository localRepository)
             throws ArtifactInstallationException
Specified by:
install in interface ArtifactInstaller
Throws:
ArtifactInstallationException


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.