Chapter 9. Configuring the Quarkus project output

Before you build your application, you can control the output of the build command by changing the default values of application properties in the application.properties file.

Prerequisites

  • You have a Quarkus Maven project.

Procedure

  1. Open the application.properties file in a text editor.
  2. Edit the values of properties that you want to change and save the file.

    The following table list the properties that you can change:

    PropertyDescriptionTypeDefault

    quarkus.package.main-class

    The entry point of the application. In most cases, you should change this value.

    string

    io.quarkus.runner.GeneratedMain

    quarkus.package.type

    The requested output type.

    string

    jar

    quarkus.package.uber-jar

    Whether or not the Java runner should be packed as an uber-JAR.

    boolean

    false

    quarkus.package.manifest.add-implementation-entries

    Whether or not the implementation information should be included in the runner JAR file’s MANIFEST.MF file.

    boolean

    true

    quarkus.package.user-configured-ignored-entries

    Files that should not be copied to the output artifact.

    string (list)

     

    quarkus.package.runner-suffix

    The suffix that is applied to the runner JAR file.

    string

    -runner

    quarkus.package.output-directory

    The output folder for the application build. This is resolved relative to the build system target directory.

    string

     

    quarkus.package.output-name

    The name of the final artifact.

    string