java.lang.Object
org.basepom.mojo.propertyhelper.PropertyField
- All Implemented Interfaces:
PropertyElement
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<PropertyElement>
createProperties
(org.apache.maven.model.Model model, Map<String, String> values, PropertyGroup propertyGroup) The name of the property element.The value of the property.boolean
isExport()
True if the value of this element should be exposed as a maven property.
-
Method Details
-
createProperties
public static List<PropertyElement> createProperties(org.apache.maven.model.Model model, Map<String, String> values, PropertyGroup propertyGroup) throws org.apache.maven.plugin.MojoExecutionException, IOException- Throws:
org.apache.maven.plugin.MojoExecutionException
IOException
-
getPropertyName
Description copied from interface:PropertyElement
The name of the property element.- Specified by:
getPropertyName
in interfacePropertyElement
-
getPropertyValue
Description copied from interface:PropertyElement
The value of the property.Optional.empty()
can be returned if the value is not defined.- Specified by:
getPropertyValue
in interfacePropertyElement
-
isExport
public boolean isExport()Description copied from interface:PropertyElement
True if the value of this element should be exposed as a maven property.- Specified by:
isExport
in interfacePropertyElement
-