Class BuildOverlay

    • Constructor Detail

      • BuildOverlay

        public BuildOverlay​(Build build)
    • Method Detail

      • addExtension

        public void addExtension​(Extension extension)
        Description copied from class: Build
        Method addExtension.
        Overrides:
        addExtension in class Build
      • getDefaultGoal

        public String getDefaultGoal()
        Description copied from class: BuildBase
        Get the default goal (or phase in Maven 2) to execute when none is specified for the project.
        Overrides:
        getDefaultGoal in class BuildBase
        Returns:
        String
      • getDirectory

        public String getDirectory()
        Description copied from class: BuildBase
        Get the directory where all files generated by the build are placed.
        Overrides:
        getDirectory in class BuildBase
        Returns:
        String
      • getExtensions

        public List getExtensions()
        Description copied from class: Build
        Method getExtensions.
        Overrides:
        getExtensions in class Build
        Returns:
        List
      • getFinalName

        public String getFinalName()
        Description copied from class: BuildBase
        Get the filename (excluding the extension, and with no path information) that the produced artifact will be called. The default value is ${artifactId}-${version}.
        Overrides:
        getFinalName in class BuildBase
        Returns:
        String
      • getOutputDirectory

        public String getOutputDirectory()
        Description copied from class: Build
        Get the directory where compiled application classes are placed.
        Overrides:
        getOutputDirectory in class Build
        Returns:
        String
      • getPluginManagement

        public PluginManagement getPluginManagement()
        Description copied from class: PluginConfiguration
        Get default plugin information to be made available for reference by projects derived from this one. This plugin configuration will not be resolved or bound to the lifecycle unless referenced. Any local configuration for a given plugin will override the plugin's entire definition here.
        Overrides:
        getPluginManagement in class PluginConfiguration
        Returns:
        PluginManagement
      • getScriptSourceDirectory

        public String getScriptSourceDirectory()
        Description copied from class: Build
        Get this element specifies a directory containing the script sources of the project. This directory is meant to be different from the sourceDirectory, in that its contents will be copied to the output directory in most cases (since scripts are interpreted rather than compiled).
        Overrides:
        getScriptSourceDirectory in class Build
        Returns:
        String
      • getSourceDirectory

        public String getSourceDirectory()
        Description copied from class: Build
        Get this element specifies a directory containing the source of the project. The generated build system will compile the source in this directory when the project is built. The path given is relative to the project descriptor.
        Overrides:
        getSourceDirectory in class Build
        Returns:
        String
      • getTestOutputDirectory

        public String getTestOutputDirectory()
        Description copied from class: Build
        Get the directory where compiled test classes are placed.
        Overrides:
        getTestOutputDirectory in class Build
        Returns:
        String
      • getTestSourceDirectory

        public String getTestSourceDirectory()
        Description copied from class: Build
        Get this element specifies a directory containing the unit test source of the project. The generated build system will compile these directories when the project is being tested. The path given is relative to the project descriptor.
        Overrides:
        getTestSourceDirectory in class Build
        Returns:
        String
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • removeExtension

        public void removeExtension​(Extension extension)
        Description copied from class: Build
        Method removeExtension.
        Overrides:
        removeExtension in class Build
      • setDefaultGoal

        public void setDefaultGoal​(String defaultGoal)
        Description copied from class: BuildBase
        Set the default goal (or phase in Maven 2) to execute when none is specified for the project.
        Overrides:
        setDefaultGoal in class BuildBase
      • setDirectory

        public void setDirectory​(String directory)
        Description copied from class: BuildBase
        Set the directory where all files generated by the build are placed.
        Overrides:
        setDirectory in class BuildBase
      • setExtensions

        public void setExtensions​(List extensions)
        Description copied from class: Build
        Set a set of build extensions to use from this project.
        Overrides:
        setExtensions in class Build
      • setFinalName

        public void setFinalName​(String finalName)
        Description copied from class: BuildBase
        Set the filename (excluding the extension, and with no path information) that the produced artifact will be called. The default value is ${artifactId}-${version}.
        Overrides:
        setFinalName in class BuildBase
      • setOutputDirectory

        public void setOutputDirectory​(String outputDirectory)
        Description copied from class: Build
        Set the directory where compiled application classes are placed.
        Overrides:
        setOutputDirectory in class Build
      • setPluginManagement

        public void setPluginManagement​(PluginManagement pluginManagement)
        Description copied from class: PluginConfiguration
        Set default plugin information to be made available for reference by projects derived from this one. This plugin configuration will not be resolved or bound to the lifecycle unless referenced. Any local configuration for a given plugin will override the plugin's entire definition here.
        Overrides:
        setPluginManagement in class PluginConfiguration
      • setResources

        public void setResources​(List resources)
        Description copied from class: BuildBase
        Set this element describes all of the classpath resources such as properties files associated with a project. These resources are often included in the final package.
        Overrides:
        setResources in class BuildBase
      • setScriptSourceDirectory

        public void setScriptSourceDirectory​(String scriptSourceDirectory)
        Description copied from class: Build
        Set this element specifies a directory containing the script sources of the project. This directory is meant to be different from the sourceDirectory, in that its contents will be copied to the output directory in most cases (since scripts are interpreted rather than compiled).
        Overrides:
        setScriptSourceDirectory in class Build
      • setSourceDirectory

        public void setSourceDirectory​(String sourceDirectory)
        Description copied from class: Build
        Set this element specifies a directory containing the source of the project. The generated build system will compile the source in this directory when the project is built. The path given is relative to the project descriptor.
        Overrides:
        setSourceDirectory in class Build
      • setTestOutputDirectory

        public void setTestOutputDirectory​(String testOutputDirectory)
        Description copied from class: Build
        Set the directory where compiled test classes are placed.
        Overrides:
        setTestOutputDirectory in class Build
      • setTestResources

        public void setTestResources​(List testResources)
        Description copied from class: BuildBase
        Set this element describes all of the classpath resources such as properties files associated with a project's unit tests.
        Overrides:
        setTestResources in class BuildBase
      • setTestSourceDirectory

        public void setTestSourceDirectory​(String testSourceDirectory)
        Description copied from class: Build
        Set this element specifies a directory containing the unit test source of the project. The generated build system will compile these directories when the project is being tested. The path given is relative to the project descriptor.
        Overrides:
        setTestSourceDirectory in class Build
      • setFilters

        public void setFilters​(List filters)
        Description copied from class: BuildBase
        Set the list of filter properties files that are used when filtering is enabled.
        Overrides:
        setFilters in class BuildBase