Package dev.relism.flash.ext.vite.maven
Class BuildMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
dev.relism.flash.ext.vite.maven.BuildMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="build",
defaultPhase=PREPARE_PACKAGE,
threadSafe=true)
public final class BuildMojo
extends org.apache.maven.plugin.AbstractMojo
Builds the Vite project and packages the result where
ViteExtension serves it from in
production, with a maximally gzipped .gz beside each text file, so the server compresses
nothing. Bound to prepare-package: tests never need Node, a packaged jar always has its
frontend.-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
BuildMojo
public BuildMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-