org.apache.maven.archetype.generator
Class DefaultFilesetArchetypeGenerator
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.archetype.generator.DefaultFilesetArchetypeGenerator
- All Implemented Interfaces:
- FilesetArchetypeGenerator, org.codehaus.plexus.logging.LogEnabled
@Component(role=FilesetArchetypeGenerator.class)
public class DefaultFilesetArchetypeGenerator
- extends org.codehaus.plexus.logging.AbstractLogEnabled
- implements FilesetArchetypeGenerator
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultFilesetArchetypeGenerator
public DefaultFilesetArchetypeGenerator()
generateArchetype
public void generateArchetype(ArchetypeGenerationRequest request,
File archetypeFile)
throws UnknownArchetype,
ArchetypeNotConfigured,
ProjectDirectoryExists,
PomFileExists,
OutputFileExists,
ArchetypeGenerationFailure
- Description copied from interface:
FilesetArchetypeGenerator
- Generate a project from an archetype file.
- Specified by:
generateArchetype
in interface FilesetArchetypeGenerator
- Throws:
UnknownArchetype
ArchetypeNotConfigured
ProjectDirectoryExists
PomFileExists
OutputFileExists
ArchetypeGenerationFailure
getPackageAsDirectory
public String getPackageAsDirectory(String packageName)
Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.