Class BuildOutputDirectory


  • public class BuildOutputDirectory
    extends Object
    Represents the build output directory of a Maven project (aka "target folder").
    • Constructor Detail

      • BuildOutputDirectory

        public BuildOutputDirectory​(File location)
      • BuildOutputDirectory

        public BuildOutputDirectory​(String directory)
    • Method Detail

      • getLocation

        public File getLocation()
        Returns the location of the build output directory.
        Returns:
        never null
      • getChild

        public File getChild​(String path)
        Convenience method for obtaining an file/folder in the build output directory.
        Returns:
        The file or folder at the given path relative to the build output directory.