Setting the Entry Point for Quarkus Applications
Use the @QuarkusMain annotation:
@QuarkusMain
public class ApplicationStart {
public static void main(String[] args) {
System.out.println(111);
}
}
After adding this annotation, if you compile the entire project into an executable and run it, you'll see the output 111:

The meaning of this annotation is:
The default main class of a Quarkus application. There are two different ways this annotation can be used. The first is to place it on a class with a Java main method. This main method will be the default entry point of the application. Note that Quarkus will not be started when this method is called, this method must launch Quarkus with the io.quarkus.runtime.Quarkus.run(Class, String...) method. Alternatively this annotation can be placed on an io.quarkus.runtime.QuarkusApplication implementation. In this case a main method is automatically generated that will automatically call io.quarkus.runtime.Quarkus.run(Class, String...) with the provided application. Note that this can be overridden by the presence of the quarkus.package.main-class configuration key. If this configuration key is used it can either specify the fully qualified name of a class with a Java main method, the fully qualified name of a io.quarkus.runtime.QuarkusApplication, or the name as given by name().
In summary:
This is the default main class for Quarkus applications. There are two ways to use this annotation. The first is to place it on a class with a Java main method, which becomes the application's default entry point. Note that Quarkus won't start when this method is called - you must use io.quarkus.runtime.Quarkus.run(Class, String...) to start Quarkus. Alternatively, you can place this annotation on an io.quarkus.runtime.QuarkusApplication implementation. In this case, a main method is automatically generated that calls io.quarkus.runtime.Quarkus.run(Class, String...) with the provided application. This behavior can be overridden using the quarkus.package.main-class configuration key, which can specify either the fully qualified name of a class with a Java main method, the fully qualified name of a io.quarkus.runtime.QuarkusApplication, or the name given by name().