Class YarnUtils
java.lang.Object
com.github.eirslett.maven.plugins.frontend.mojo.YarnUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisYarnrcYamlFilePresent(org.apache.maven.execution.MavenSession session, File workingDirectory) Checks whether a .yarnrc.yml file exists at the project root (in multi-module builds, it will be the Reactor project)
-
Constructor Details
-
YarnUtils
public YarnUtils()
-
-
Method Details
-
isYarnrcYamlFilePresent
public static boolean isYarnrcYamlFilePresent(org.apache.maven.execution.MavenSession session, File workingDirectory) Checks whether a .yarnrc.yml file exists at the project root (in multi-module builds, it will be the Reactor project)- Parameters:
session- the current maven sessionworkingDirectory- the configured working directory- Returns:
- true if the .yarnrc.yml file exists, false otherwise
-