@Mojo(name="run",
defaultPhase=PACKAGE,
requiresDependencyResolution=RUNTIME,
threadSafe=false)
public class RunMojo
extends MojoSupport
artifactMetadataSource, artifactResolver, container, factory, localRepo, mavenSession, project, projectBuilder, projectHelper, remoteRepos, workDirectory| Constructor and Description |
|---|
RunMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
static void |
extract(File sourceFile,
File targetFolder) |
protected static boolean |
isMavenUrl(String name) |
copy, createManagedVersionMap, getLocalRepoUrl, getProject, getProjectHelper, getWorkDirectory, resourceToArtifact, setMavenSession, translateFromMavenpublic void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic static void extract(File sourceFile, File targetFolder) throws IOException
IOExceptionprotected static boolean isMavenUrl(String name)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.