Class CleanFrontendMojo

  • All Implemented Interfaces:
    PluginAdapterBase, org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
    Direct Known Subclasses:
    FrontendDanceMojo

    @Mojo(name="clean-frontend",
          defaultPhase=PRE_CLEAN)
    public class CleanFrontendMojo
    extends FlowModeAbstractMojo
    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:
    9.0