public class BobberArchetype
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements org.apache.maven.archetype.Archetype
Constructor and Description |
---|
BobberArchetype() |
Modifier and Type | Method and Description |
---|---|
protected void |
addParamToContext(String key,
Object value,
org.apache.velocity.VelocityContext context) |
void |
createArchetype(String archetypeGroupId,
String archetypeArtifactId,
String archetypeVersion,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
List remoteRepositories,
Map parameters) |
protected Object |
findVariable(String variableName,
List variables)
Find the variable.
|
protected List |
getListOfValues(String s) |
protected void |
processTemplate(Template template,
String outputDirectory,
org.apache.velocity.VelocityContext context) |
protected void |
processVariables(Iterator variables,
org.apache.velocity.VelocityContext context,
boolean interactiveMode) |
public void createArchetype(String archetypeGroupId, String archetypeArtifactId, String archetypeVersion, org.apache.maven.artifact.repository.ArtifactRepository localRepository, List remoteRepositories, Map parameters) throws org.apache.maven.archetype.ArchetypeNotFoundException, org.apache.maven.archetype.ArchetypeDescriptorException, org.apache.maven.archetype.ArchetypeTemplateProcessingException
createArchetype
in interface org.apache.maven.archetype.Archetype
org.apache.maven.archetype.ArchetypeNotFoundException
org.apache.maven.archetype.ArchetypeDescriptorException
org.apache.maven.archetype.ArchetypeTemplateProcessingException
protected void addParamToContext(String key, Object value, org.apache.velocity.VelocityContext context)
protected void processVariables(Iterator variables, org.apache.velocity.VelocityContext context, boolean interactiveMode) throws org.apache.maven.archetype.ArchetypeTemplateProcessingException
org.apache.maven.archetype.ArchetypeTemplateProcessingException
protected void processTemplate(Template template, String outputDirectory, org.apache.velocity.VelocityContext context) throws org.apache.maven.archetype.ArchetypeTemplateProcessingException
org.apache.maven.archetype.ArchetypeTemplateProcessingException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.