org.codehaus.mojo.mrm.plugin
Class AbstractStartMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.mrm.plugin.AbstractMRMMojo
org.codehaus.mojo.mrm.plugin.AbstractStartMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- RunMojo, StartMojo
public abstract class AbstractStartMojo
- extends AbstractMRMMojo
Common base class for the mojos that start a repository.
- Since:
- 1.0
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractStartMojo
public AbstractStartMojo()
createFileSystemServer
protected FileSystemServer createFileSystemServer(org.codehaus.mojo.mrm.api.maven.ArtifactStore artifactStore)
- Creates a file system server from an artifact store.
- Parameters:
artifactStore - the artifact store to serve.
- Returns:
- the file system server.
createArtifactStore
protected org.codehaus.mojo.mrm.api.maven.ArtifactStore createArtifactStore()
throws org.apache.maven.plugin.MojoExecutionException
- Creates an artifact store from the
repositories configuration.
- Returns:
- an artifact store.
- Throws:
org.apache.maven.plugin.MojoExecutionException - if the configuration is invalid.
Copyright © 2009-2011 Codehaus. All Rights Reserved.