Package org.alfresco.tas
Class MavenPropertyHelper
java.lang.Object
org.alfresco.tas.MavenPropertyHelper
A helper class with methods to access properties from Maven pom files.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetMavenProperty(String key) Load the value of a property from Maven.static PropertiesLoad all the properties from Maven.
-
Method Details
-
getMavenProperty
Load the value of a property from Maven.- Parameters:
key- The key to look up.- Returns:
- The value as a string.
-
loadMavenProperties
Load all the properties from Maven.- Returns:
- The properties.
-