![JAR search and dependency download from the Maven repository](/logo.png)
com.github.sdorra.buildfrontend.YarnPackageManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of buildfrontend-maven-plugin Show documentation
Show all versions of buildfrontend-maven-plugin Show documentation
Installs and run node, npm or yarn as part of your maven build
package com.github.sdorra.buildfrontend;
public class YarnPackageManager implements PackageManager {
private final Node node;
private final String executable;
YarnPackageManager(Node node, String executable) {
this.node = node;
this.executable = executable;
}
@Override
public void install() {
node.execute(executable, "install");
}
@Override
public void run(String script) {
node.execute(executable, "run", script);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy