Class ConfigurationContainer

    • Constructor Detail

      • ConfigurationContainer

        public ConfigurationContainer()
    • Method Detail

      • clone

        public ConfigurationContainer clone()
        Method clone.
        Overrides:
        clone in class java.lang.Object
        Returns:
        ConfigurationContainer
      • getConfiguration

        public java.lang.Object getConfiguration()
        Get

        The configuration as DOM object.

        By default, every element content is trimmed, but starting with Maven 3.1.0, you can add xml:space="preserve" to elements you want to preserve whitespace.

        You can control how child POMs inherit configuration from parent POMs by adding combine.children or combine.self attributes to the children of the configuration element:

        • combine.children: available values are merge (default) and append,
        • combine.self: available values are merge (default) and override.

        See POM Reference documentation and Xpp3DomUtils for more information.

        Returns:
        Object
      • getInherited

        public java.lang.String getInherited()
        Get whether any configuration should be propagated to child POMs. Note: While the type of this field is String for technical reasons, the semantic type is actually Boolean. Default value is true.
        Returns:
        String
      • setConfiguration

        public void setConfiguration​(java.lang.Object configuration)
        Set

        The configuration as DOM object.

        By default, every element content is trimmed, but starting with Maven 3.1.0, you can add xml:space="preserve" to elements you want to preserve whitespace.

        You can control how child POMs inherit configuration from parent POMs by adding combine.children or combine.self attributes to the children of the configuration element:

        • combine.children: available values are merge (default) and append,
        • combine.self: available values are merge (default) and override.

        See POM Reference documentation and Xpp3DomUtils for more information.

        Parameters:
        configuration -
      • setInherited

        public void setInherited​(java.lang.String inherited)
        Set whether any configuration should be propagated to child POMs. Note: While the type of this field is String for technical reasons, the semantic type is actually Boolean. Default value is true.
        Parameters:
        inherited -
      • isInherited

        public boolean isInherited()
      • setInherited

        public void setInherited​(boolean inherited)
      • unsetInheritanceApplied

        public void unsetInheritanceApplied()
      • isInheritanceApplied

        public boolean isInheritanceApplied()