public class Maven extends Object
| Constructor and Description |
|---|
Maven(net.oneandone.sushi.fs.World world,
org.apache.maven.execution.MavenSession parentSession,
org.apache.maven.execution.ExecutionListener executionListener,
org.apache.maven.project.MavenProjectHelper projectHelper,
org.sonatype.aether.RepositorySystemSession repositorySession,
org.apache.maven.project.ProjectBuilder builder,
List<org.apache.maven.artifact.repository.ArtifactRepository> remoteLegacy) |
| Modifier and Type | Method and Description |
|---|---|
void |
build(net.oneandone.sushi.fs.file.FileNode basedir,
Map<String,String> userProperties,
org.apache.maven.execution.ExecutionListener theExecutionListener,
boolean filter,
String... goals)
Creates an DefaultMaven instance, initializes it form parentRequest (in Maven, this is done by MavenCli - also by
loading settings).
|
void |
build(net.oneandone.sushi.fs.file.FileNode basedir,
Map<String,String> userProperties,
String... goals) |
void |
build(net.oneandone.sushi.fs.file.FileNode basedir,
String... goals) |
void |
deployOnly(org.apache.maven.plugin.logging.Log log,
Prerelease prerelease) |
net.oneandone.sushi.fs.file.FileNode |
file(org.sonatype.aether.artifact.Artifact artifact) |
List<net.oneandone.sushi.fs.file.FileNode> |
files(List<org.sonatype.aether.artifact.Artifact> artifacts) |
org.apache.maven.execution.ExecutionListener |
getExecutionListener() |
net.oneandone.sushi.fs.file.FileNode |
getLocalRepositoryDir() |
net.oneandone.sushi.fs.file.FileNode |
getLocalRepositoryFile(org.sonatype.aether.artifact.Artifact artifact) |
org.apache.maven.project.MavenProject |
loadPom(net.oneandone.sushi.fs.file.FileNode file) |
static Map<String,String> |
releaseProps() |
public Maven(net.oneandone.sushi.fs.World world,
org.apache.maven.execution.MavenSession parentSession,
org.apache.maven.execution.ExecutionListener executionListener,
org.apache.maven.project.MavenProjectHelper projectHelper,
org.sonatype.aether.RepositorySystemSession repositorySession,
org.apache.maven.project.ProjectBuilder builder,
List<org.apache.maven.artifact.repository.ArtifactRepository> remoteLegacy)
public net.oneandone.sushi.fs.file.FileNode getLocalRepositoryDir()
public net.oneandone.sushi.fs.file.FileNode getLocalRepositoryFile(org.sonatype.aether.artifact.Artifact artifact)
public org.apache.maven.execution.ExecutionListener getExecutionListener()
public void build(net.oneandone.sushi.fs.file.FileNode basedir,
String... goals)
throws Exception
Exceptionpublic void build(net.oneandone.sushi.fs.file.FileNode basedir,
Map<String,String> userProperties,
String... goals)
throws Exception
Exceptionpublic void build(net.oneandone.sushi.fs.file.FileNode basedir,
Map<String,String> userProperties,
org.apache.maven.execution.ExecutionListener theExecutionListener,
boolean filter,
String... goals)
throws BuildException
BuildExceptionpublic void deployOnly(org.apache.maven.plugin.logging.Log log,
Prerelease prerelease)
throws Exception
Exceptionpublic List<net.oneandone.sushi.fs.file.FileNode> files(List<org.sonatype.aether.artifact.Artifact> artifacts)
public net.oneandone.sushi.fs.file.FileNode file(org.sonatype.aether.artifact.Artifact artifact)
public org.apache.maven.project.MavenProject loadPom(net.oneandone.sushi.fs.file.FileNode file)
throws org.apache.maven.project.ProjectBuildingException
org.apache.maven.project.ProjectBuildingExceptionCopyright © 2012-2013 1&1. All Rights Reserved.