Class CommandLineUtil

java.lang.Object
io.quarkus.deployment.util.CommandLineUtil

public final class CommandLineUtil extends Object
This class contains code coming from org.apache.maven.shared.utils.cli.CommandLineUtils.

We don't want to directly use code coming from Maven as this artifact should be Maven-agnostic.

Author:
Trygve Laugstøl
  • Method Details

    • translateCommandline

      public static String[] translateCommandline(String toProcess)
      Parameters:
      toProcess - The command line to translate.
      Returns:
      The array of translated parts.
      Throws:
      IllegalStateException - in case of unbalanced quotes.