Class AbstractWritePropertiesMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.properties.AbstractPropertiesMojo
org.codehaus.mojo.properties.AbstractWritePropertiesMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
WriteActiveProfileProperties, WriteProjectProperties

public abstract class AbstractWritePropertiesMojo extends AbstractPropertiesMojo
Author:
Zarar Siddiqi
  • Constructor Details

    • AbstractWritePropertiesMojo

      protected AbstractWritePropertiesMojo(List<PropertiesManager> propertiesManagers)
  • Method Details

    • writeProperties

      protected void writeProperties(Properties properties) throws org.apache.maven.plugin.MojoExecutionException
      Parameters:
      properties - Properties
      Throws:
      org.apache.maven.plugin.MojoExecutionException - MojoExecutionException
    • validateOutputFile

      protected void validateOutputFile() throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException - MojoExecutionException
    • getProject

      public org.apache.maven.project.MavenProject getProject()
      Returns:
      MavenProject