Package org.apache.karaf.tooling
Class RunMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.apache.karaf.tooling.utils.MojoSupport
-
- org.apache.karaf.tooling.RunMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="run", defaultPhase=PACKAGE, requiresDependencyResolution=RUNTIME, threadSafe=false) public class RunMojo extends MojoSupportRun a Karaf instance
-
-
Field Summary
-
Fields inherited from class org.apache.karaf.tooling.utils.MojoSupport
artifactMetadataSource, artifactResolver, container, factory, localRepo, mavenSession, project, projectBuilder, projectHelper, remoteRepos, workDirectory
-
-
Constructor Summary
Constructors Constructor Description RunMojo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()static voidextract(File sourceFile, File targetFolder)protected static booleanisMavenUrl(String name)-
Methods inherited from class org.apache.karaf.tooling.utils.MojoSupport
copy, createManagedVersionMap, getLocalRepoUrl, getProject, getProjectHelper, getWorkDirectory, resourceToArtifact, setMavenSession, translateFromMaven
-
-
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
extract
public static void extract(File sourceFile, File targetFolder) throws IOException
- Throws:
IOException
-
isMavenUrl
protected static boolean isMavenUrl(String name)
-
-