Class ArtifactStagerImpl
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.sonatype.central.publisher.plugin.stager.ArtifactStagerImpl
- All Implemented Interfaces:
org.codehaus.plexus.logging.LogEnabled,ArtifactStager
@Component(role=ArtifactStager.class)
public class ArtifactStagerImpl
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements ArtifactStager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.maven.artifact.repository.ArtifactRepositoryprotected org.apache.maven.artifact.repository.ArtifactRepositorygetStagingArtifactRepository(File stagingDirectory) protected voidinstall(File source, org.apache.maven.artifact.Artifact artifact, org.apache.maven.artifact.repository.ArtifactRepository stagingRepository) voidstageArtifact(StageArtifactRequest stageArtifactRequest) Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Constructor Details
-
ArtifactStagerImpl
public ArtifactStagerImpl()
-
-
Method Details
-
stageArtifact
public void stageArtifact(StageArtifactRequest stageArtifactRequest) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.artifact.installer.ArtifactInstallationException - Specified by:
stageArtifactin interfaceArtifactStager- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.artifact.installer.ArtifactInstallationException
-
install
protected void install(File source, org.apache.maven.artifact.Artifact artifact, org.apache.maven.artifact.repository.ArtifactRepository stagingRepository) throws org.apache.maven.artifact.installer.ArtifactInstallationException - Throws:
org.apache.maven.artifact.installer.ArtifactInstallationException
-
getStagingArtifactRepository
protected org.apache.maven.artifact.repository.ArtifactRepository getStagingArtifactRepository(File stagingDirectory) throws org.apache.maven.plugin.MojoExecutionException - Throws:
org.apache.maven.plugin.MojoExecutionException
-
createStagingArtifactRepository
protected org.apache.maven.artifact.repository.ArtifactRepository createStagingArtifactRepository(String url)
-