public class MavenArchetypeMojo
extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
private OldArchetype |
archetype
Deprecated.
Used to create the Archetype specified by the groupId, artifactId, and
version from the remote repository.
|
private java.lang.String |
archetypeArtifactId
Deprecated.
The Archetype Artifact Id to be used.
|
private java.lang.String |
archetypeGroupId
Deprecated.
The Archetype Group Id to be used.
|
private java.lang.String |
archetypeVersion
Deprecated.
The Archetype Version to be used.
|
private java.lang.String |
artifactId
Deprecated.
The Artifact Id of the project to be build.
|
private org.apache.maven.artifact.repository.ArtifactRepositoryFactory |
artifactRepositoryFactory
Deprecated.
Used to create ArtifactRepository objects given the urls of the remote
repositories.
|
private java.lang.String |
basedir
Deprecated.
|
private org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout |
defaultArtifactRepositoryLayout
Deprecated.
Determines whether the layout is legacy or not.
|
private java.lang.String |
groupId
Deprecated.
The Group Id of the project to be build.
|
private org.apache.maven.artifact.repository.ArtifactRepository |
localRepository
Deprecated.
Maven's local repository.
|
private java.lang.String |
packageName
Deprecated.
The Package Name of the project to be build.
|
private java.util.List<org.apache.maven.artifact.repository.ArtifactRepository> |
pomRemoteRepositories
Deprecated.
The remote repositories available for discovering dependencies and extensions as indicated
by the POM.
|
private org.apache.maven.project.MavenProject |
project
Deprecated.
The project to be created an archetype of.
|
private java.lang.String |
remoteRepositories
Deprecated.
Other remote repositories available for discovering dependencies and extensions.
|
private java.lang.String |
version
Deprecated.
The Version of the project to be build.
|
Constructor and Description |
---|
MavenArchetypeMojo()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
private org.apache.maven.artifact.repository.ArtifactRepository |
createRepository(java.lang.String url,
java.lang.String repositoryId)
Deprecated.
|
void |
execute()
Deprecated.
|
private OldArchetype archetype
private org.apache.maven.artifact.repository.ArtifactRepositoryFactory artifactRepositoryFactory
private org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout defaultArtifactRepositoryLayout
private org.apache.maven.artifact.repository.ArtifactRepository localRepository
private java.lang.String archetypeGroupId
private java.lang.String archetypeArtifactId
private java.lang.String archetypeVersion
private java.lang.String groupId
private java.lang.String artifactId
private java.lang.String version
private java.lang.String packageName
private java.util.List<org.apache.maven.artifact.repository.ArtifactRepository> pomRemoteRepositories
private java.lang.String remoteRepositories
private org.apache.maven.project.MavenProject project
private java.lang.String basedir
public void execute() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
private org.apache.maven.artifact.repository.ArtifactRepository createRepository(java.lang.String url, java.lang.String repositoryId)