arconia build

The arconia build command builds your Spring Boot application. It delegates to your build tool’s (Maven/Gradle) build tasks to compile, test, and package your application as a JAR artifact or native executable.

Usage

Basic usage:

arconia build

Options

The following options are available:

Option Default Description

--clean

false

Perform a clean build.

--skip-tests

false

Skip tests during the build.

--native

false

Perform a native build using GraalVM Native Image.

--debug or -d

false

Include debug output.

--verbose or -v

false

Include more verbose output about the execution.

--stacktrace or -s

false

Include more details about errors.

--params or -p

Additional build parameters passed directly to the build tool.

--help or -h

Display help information for the command.

Build Tool Integration

The build command automatically detects whether your project uses Maven or Gradle and runs the appropriate build task:

Build Tool Command

Gradle

For Java builds:

  • ./gradlew build (Linux/macOS with wrapper)

  • gradle build (Linux/macOS without wrapper)

  • gradlew.bat build (Windows with wrapper)

  • gradle build (Windows without wrapper)

For native builds:

  • ./gradlew nativeBuild (Linux/macOS with wrapper)

  • gradle nativeBuild (Linux/macOS without wrapper)

  • gradlew.bat nativeBuild (Windows with wrapper)

  • gradle nativeBuild (Windows without wrapper)

Maven

For Java builds:

  • ./mvnw package (Linux/macOS with wrapper)

  • mvn package (Linux/macOS without wrapper)

  • mvnw.cmd package (Windows with wrapper)

  • mvn package (Windows without wrapper)

  • mvnd package (Using Maven Daemon)

For native builds:

  • ./mvnw package -Pnative (Linux/macOS with wrapper)

  • mvn package -Pnative (Linux/macOS without wrapper)

  • mvnw.cmd package -Pnative (Windows with wrapper)

  • mvn package -Pnative (Windows without wrapper)

  • mvnd package -Pnative (Using Maven Daemon)

Any additional parameters specified with --params are passed through to the respective build tool command.