anchor.diff:  different ClassLoader to the main application, so may not behave as you would
   expect.
   
  -=== Multiple Main Methods
  +==== Multiple Main Methods
   
   It is possible to have multiple main methods in an application, and select between them at build time.
   The `@QuarkusMain` annotation takes an optional 'name' parameter, and this can be used to select the
  
positive.code: In this document the `QuarkusApplication` instance is referred to as the application main,
  and a class with a Java main method is the Java main.
  
  The simplest possible command mode application might appear as follows:
  
  [source,java]
  ----
  import io.quarkus.runtime.QuarkusApplication;
  import io.quarkus.runtime.annotations.QuarkusMain;
  
  @QuarkusMain    // <1>
  public class HelloWorldMain implements QuarkusApplication {
    @Override
    public int run(String... args) throws Exception {   // <2>
      System.out.println("Hello World");
      return 10;
   }
  }
  ----
  <1> The `@QuarkusMain` annotation tells Quarkus that this is the main entry point.
  <2> The `run` method is invoked once Quarkus starts, and the application stops when it finishes.
  
  If we want to use a Java main to run the application main it would look like:
  
  [source,java]
  
negative.code: NOTE: The `name` of `@QuarkusMain` must be unique (including the default of the empty string). If you
  have multiple `@QuarkusMain` annotations in your application the build will fail if the names are not
  unique.
  
  === The command mode lifecycle
  
  