Class SpoonPom.MavenOptions

java.lang.Object
spoon.support.compiler.SpoonPom.MavenOptions
Enclosing class:
SpoonPom

public static class SpoonPom.MavenOptions extends Object
Additional options for maven invocations.
  • Method Details

    • setEnvironmentVariable

      public void setEnvironmentVariable(String key, String value)
      Adds a maven environment variable.
      Parameters:
      key - the name of the variable
      value - its value
    • getEnvironmentVariables

      public Map<String,​String> getEnvironmentVariables()
      Returns:
      all set environment variables
    • empty

      public static SpoonPom.MavenOptions empty()
      Returns:
      a new empty options instance