Package com.vaadin.flow.plugin.maven
Class PrepareFrontendMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- com.vaadin.flow.plugin.maven.FlowModeAbstractMojo
-
- com.vaadin.flow.plugin.maven.PrepareFrontendMojo
-
- All Implemented Interfaces:
com.vaadin.flow.plugin.base.PluginAdapterBase,org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="prepare-frontend", requiresDependencyResolution=COMPILE_PLUS_RUNTIME, defaultPhase=PROCESS_RESOURCES) public class PrepareFrontendMojo extends FlowModeAbstractMojoThis goal checks that node and npm tools are installed and creates or updates `package.json` and `webpack.config.json` files.Copies frontend resources available inside `.jar` dependencies to `node_modules` when building a jar package.
- Since:
- 2.0
-
-
Field Summary
-
Fields inherited from class com.vaadin.flow.plugin.maven.FlowModeAbstractMojo
INCLUDE_FROM_COMPILE_DEPS_REGEX
-
-
Constructor Summary
Constructors Constructor Description PrepareFrontendMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()-
Methods inherited from class com.vaadin.flow.plugin.maven.FlowModeAbstractMojo
applicationProperties, buildFolder, eagerServerLoad, frontendDirectory, generatedFolder, generatedTsFolder, getClassFinder, getClasspathElements, getJarFiles, getUseDeprecatedV14Bootstrapping, isDebugEnabled, isJarProject, javaResourceFolder, javaSourceFolder, logDebug, logError, logInfo, logWarn, logWarn, nodeAutoUpdate, nodeDownloadRoot, nodeVersion, npmFolder, openApiJsonFile, pnpmEnable, postinstallPackages, productionMode, projectBaseDirectory, requireHomeNodeExec, servletResourceOutputDirectory, useGlobalPnpm, webpackOutputDirectory
-
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
-