@Mojo(name="generate",
defaultPhase=PROCESS_TEST_CLASSES,
requiresDependencyResolution=TEST)
public class Rest2TypescriptPlugin
extends org.apache.maven.plugin.AbstractMojo
| Constructor and Description |
|---|
Rest2TypescriptPlugin() |
| Modifier and Type | Method and Description |
|---|---|
protected URL[] |
buildMavenClasspath(List<String> classpathElements)
Extracted this method simply for unit testing.
|
void |
execute()
Scans the source code for this module to look for instances of the
annotations we're looking for.
|
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException - thrown if there are errors during analysisprotected URL[] buildMavenClasspath(List<String> classpathElements) throws org.apache.maven.plugin.MojoExecutionException
classpathElements - List of class path entries from the maven projectorg.apache.maven.plugin.MojoExecutionException - only thrown if we can't convert a classpath element to a URL which shouldn't happenCopyright © 2019. All rights reserved.