Class SetSystemPropertiesMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.properties.SetSystemPropertiesMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="set-system-properties", defaultPhase=INITIALIZE, threadSafe=true) public class SetSystemPropertiesMojo extends org.apache.maven.plugin.AbstractMojo
Sets system properties.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private Properties
    The system properties to set.

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void

    Methods inherited from class org.apache.maven.plugin.AbstractMojo

    getLog, getPluginContext, setLog, setPluginContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • properties

      @Parameter(required=true) private Properties properties
      The system properties to set.
  • Constructor Details

    • SetSystemPropertiesMojo

      public SetSystemPropertiesMojo()
  • Method Details

    • execute

      public void execute()