Package org.eolang.jeo
Class MavenPath
java.lang.Object
org.eolang.jeo.MavenPath
Maven file path resolver.
Substitutes ${} expressions with concrete values.
This class was created to mitigate the following issue:
1373
We could have use ${basedir}/target/classes instead of ${project.build.outputDirectory}
but it is not guaranteed that output directory is always 'target/classes' and the basedir
might be different from '.'. Thus, we just handle the case when we run plugin in the folder
with pom.xml file.
- Since:
- 0.15.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MavenPath
Ctor.- Parameters:
path- The file path
-
-
Method Details
-
resolve
Resolve the path.- Returns:
- The resolved path
-