Package org.yamcs.maven
Class RunMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.yamcs.maven.AbstractProgramMojo
-
- org.yamcs.maven.AbstractYamcsMojo
-
- org.yamcs.maven.RunMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
DebugMojo
@Mojo(name="run", requiresDependencyResolution=TEST) @Execute(phase=PROCESS_CLASSES) public class RunMojo extends AbstractYamcsMojoRuns Yamcs as part of a Maven build.
-
-
Field Summary
-
Fields inherited from class org.yamcs.maven.AbstractYamcsMojo
archiverManager, classesDirectory, configurationDirectory, projectHelper, skip, target
-
Fields inherited from class org.yamcs.maven.AbstractProgramMojo
project, repositorySystem, repositorySystemSession
-
-
Constructor Summary
Constructors Constructor Description RunMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringbuildClasspath()Returns a classpath string representing all jars from maven dependencies and target/classes of the current project.voidexecute()protected List<String>getArgs()protected List<String>getJvmArgs()-
Methods inherited from class org.yamcs.maven.AbstractYamcsMojo
copyExecutableResource, copyResource, getDependencyFiles, initConfiguration, resolveArtifact
-
-
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getArgs
protected List<String> getArgs() throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
buildClasspath
protected String buildClasspath() throws org.apache.maven.plugin.MojoExecutionException
Returns a classpath string representing all jars from maven dependencies and target/classes of the current project.- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-