public final class BuildXmlFileHelper extends Object
| Constructor and Description |
|---|
BuildXmlFileHelper(String projectRootPath,
org.apache.maven.plugin.logging.Log log,
File xmlOutputFile,
List<Property> selectedProperties)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
File |
writeXmlFile(Properties buildMetaDataProperties)
Writes the build meta data XML file to the target file.
|
public BuildXmlFileHelper(String projectRootPath, org.apache.maven.plugin.logging.Log log, File xmlOutputFile, List<Property> selectedProperties)
projectRootPath - the path to the project folder on the file system.log - the logger to use.xmlOutputFile - the file to write to.selectedProperties - the list of a system properties or environment
variables to be selected by the user to include into the build
meta data properties.public File writeXmlFile(Properties buildMetaDataProperties) throws org.apache.maven.plugin.MojoExecutionException
buildMetaDataProperties - the properties to write.org.apache.maven.plugin.MojoExecutionException - on any problem encountered while writing the
XML file.Copyright © 2006-2014. All Rights Reserved.