com.github.sdorra.buildfrontend.PackageManagerConfiguration 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;
import com.google.common.annotations.VisibleForTesting;
import org.apache.maven.plugins.annotations.Parameter;
public class PackageManagerConfiguration {
@Parameter
private PackageManagerType type;
@Parameter
private String version;
public PackageManagerType getType() {
return type;
}
@VisibleForTesting
void setType(PackageManagerType type) {
this.type = type;
}
public String getVersion() {
return version;
}
@VisibleForTesting
void setVersion(String version) {
this.version = version;
}
}