Class MavenPropertyHelper

java.lang.Object
org.alfresco.tas.MavenPropertyHelper

public class MavenPropertyHelper extends Object
A helper class with methods to access properties from Maven pom files.
  • Method Details

    • getMavenProperty

      public static String getMavenProperty(String key)
      Load the value of a property from Maven.
      Parameters:
      key - The key to look up.
      Returns:
      The value as a string.
    • loadMavenProperties

      public static Properties loadMavenProperties()
      Load all the properties from Maven.
      Returns:
      The properties.