@Mojo(name="create-prototype",
requiresProject=false)
public class CreatePrototypeMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
artifactId |
protected File |
file
WAR file to create a prototype from.
|
protected String |
groupId |
protected String |
kfsPath
Path for where the KFS instance is we want to migrate
|
protected org.apache.maven.artifact.repository.ArtifactRepository |
localRepository |
protected File |
mavenHome
The
M2_HOME parameter to use for forked Maven invocations. |
protected String |
packageName |
protected org.apache.maven.project.MavenProject |
project |
protected String |
repositoryId |
protected File |
sources
Assembled sources file.
|
protected String |
version |
| Constructor and Description |
|---|
CreatePrototypeMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Create a prototype
|
File |
getMavenHome() |
String |
getRepositoryId() |
void |
setMavenHome(File mavenHome) |
void |
setRepositoryId(String repositoryId) |
@Parameter(property="localRepository") protected org.apache.maven.artifact.repository.ArtifactRepository localRepository
@Parameter(property="kfs.local.path") protected String kfsPath
@Parameter(property="packageName",
defaultValue="org.kuali.kfs")
protected String packageName
@Parameter(property="artifactId",
defaultValue="kfs")
protected String artifactId
@Parameter(property="file") protected File file
@Parameter(property="project") protected org.apache.maven.project.MavenProject project
@Parameter(property="repositoryId") protected String repositoryId
public CreatePrototypeMojo()
public void execute() throws org.apache.maven.plugin.MojoExecutionException
Create a prototype
The following are the steps for creating a prototype from a KFS instance
When using a war file:
When using an svn repo:
When using a local path:
org.apache.maven.plugin.MojoExecutionExceptionpublic void setMavenHome(File mavenHome)
public File getMavenHome()
public void setRepositoryId(String repositoryId)
public String getRepositoryId()
Copyright © 2004-2012 Kualigan. All Rights Reserved.