Class ArtifactNameReader
java.lang.Object
com.exasol.projectkeeper.validators.ArtifactNameReader
This class reads the file name of the release artifact produced by this pom.
-
Constructor Summary
ConstructorsConstructorDescriptionArtifactNameReader(org.apache.maven.project.MavenProject project) Create a new instance. -
Method Summary
Modifier and TypeMethodDescriptionGet the file name of the release artifact relative to thetargetdirectory.
-
Constructor Details
-
ArtifactNameReader
public ArtifactNameReader(org.apache.maven.project.MavenProject project) Create a new instance.- Parameters:
project- the Maven project
-
-
Method Details
-
readFinalArtifactName
Get the file name of the release artifact relative to thetargetdirectory.The name consists of the
finalNameconfigured for themaven-assembly-pluginplus thejarsuffix. Placeholders like${project.version}are already replaced with their actual values.- Returns:
- file name or
nullif the assembly plugin is not configured.
-