Class 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 AbstractYamcsMojo
    Runs Yamcs as part of a Maven build.
    • Constructor Detail

      • RunMojo

        public RunMojo()
    • 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
      • getJvmArgs

        protected List<String> getJvmArgs()
      • 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