Class LastReleasePomFileReader
- java.lang.Object
-
- com.exasol.projectkeeper.validators.changesfile.LastReleasePomFileReader
-
public class LastReleasePomFileReader extends Object
This class reads the pom file of the latest previous release on the current branch.
-
-
Constructor Summary
Constructors Constructor Description LastReleasePomFileReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<String>readLatestReleasesPomFile(Path projectDirectory, String currentVersion)Read the content of the pom.xml file from the previous release on the current branch.
-
-
-
Method Detail
-
readLatestReleasesPomFile
public Optional<String> readLatestReleasesPomFile(Path projectDirectory, String currentVersion)
Read the content of the pom.xml file from the previous release on the current branch.- Parameters:
projectDirectory- projects root directorycurrentVersion- current release version- Returns:
- content of the pom file
-
-