Package com.vaadin.hilla.maven
Class CleanFrontendMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.vaadin.flow.plugin.maven.FlowModeAbstractMojo
com.vaadin.flow.plugin.maven.CleanFrontendMojo
com.vaadin.hilla.maven.CleanFrontendMojo
- All Implemented Interfaces:
com.vaadin.flow.plugin.base.PluginAdapterBase,org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="clean-frontend",
defaultPhase=PRE_CLEAN)
public class CleanFrontendMojo
extends com.vaadin.flow.plugin.maven.CleanFrontendMojo
Goal that cleans the frontend files to a clean state.
Deletes Vaadin dependencies from package.json, the generated frontend folder and the npm/pnpm-related files and folders:
- node_modules
- pnpm-lock.yaml
- package-lock.json
- Since:
- Flow 9.0
-
Field Summary
Fields inherited from class com.vaadin.flow.plugin.maven.FlowModeAbstractMojo
INCLUDE_FROM_COMPILE_DEPS_REGEX, productionModeFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.vaadin.flow.plugin.maven.CleanFrontendMojo
executeInternalMethods inherited from class com.vaadin.flow.plugin.maven.FlowModeAbstractMojo
applicationIdentifier, applicationProperties, buildFolder, bunEnable, eagerServerLoad, execute, frontendDirectory, frontendExtraFileExtensions, frontendOutputDirectory, generatedTsFolder, getClassFinder, getJarFiles, isCommercialBannerEnabled, isDebugEnabled, isFrontendHotdeploy, isFrontendIgnoreVersionChecks, isHillaAvailable, isHillaAvailable, isHillaUsed, isHillaUsed, isJarProject, isNpmExcludeWebComponents, isPrepareFrontendCacheDisabled, isReactEnabled, javaResourceFolder, javaSourceFolder, logDebug, logDebug, logError, logError, logInfo, logWarn, logWarn, nodeAutoUpdate, nodeDownloadRoot, nodeVersion, npmFolder, openApiJsonFile, pnpmEnable, postinstallPackages, projectBaseDirectory, requireHomeNodeExec, servletResourceOutputDirectory, skipDevBundleBuild, triggerRefresh, useGlobalPnpm, webpackOutputDirectoryMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.plugin.base.PluginAdapterBase
createLookup
-
Constructor Details
-
CleanFrontendMojo
public CleanFrontendMojo()
-