- All Implemented Interfaces:
- ContextEnabled, Mojo
@Mojo(name="generate",
requiresProject=false)
@Execute(phase=GENERATE_SOURCES)
public class CreateProjectFromArchetypeMojo
extends AbstractMojo
implements ContextEnabled
Generates a new project from an archetype, or updates the actual project if using a partial archetype.
If the project is fully generated, it is generated in a directory corresponding to its artifactId.
If the project is updated with a partial archetype, it is done in the current directory.
- Author:
- rafale