j2cl:clean

Full name:

com.vertispan.j2cl:j2cl-maven-plugin:0.21.0:clean

Description:

A goal to clean cached J2cl/GWT3 build outputs. This goal is meant to support the case where the cache is moved outside of the default location in target, and handle the cases where the user needs to manually run clean. When working on more than one j2cl-maven-plugin project locally, it can he helpful to specify a global shared cache that all projects should share, so that when any artifact is built it can be reused.

Attributes:

  • Requires a Maven project to be executed.
  • Executes as an aggregator plugin.
  • The goal is not marked as thread-safe and thus does not support parallel builds.

Required Parameters

Name Type Since Description
<gwt3BuildCacheDir> File - Specifies the path to the build cache. This defaults to a directory in target, but for easier reuse and faster builds between projects, it can make sense to set this globally to a shared directory.
Default value is: ${project.build.directory}/gwt3BuildCache.
User property is: gwt3.cache.dir.
<localBuildCache> File - (no description)
Default value is: ${project.build.directory}/j2cl-maven-plugin-local-cache.

Optional Parameters

Name Type Since Description
<artifact> String - The artifact that should be cleaned. If not specified, all artifacts in the current reactor will be cleaned. Specify * to indicate that the entire cache should be cleaned.
User property is: artifact.

Parameter Details

<artifact>

The artifact that should be cleaned. If not specified, all artifacts in the current reactor will be cleaned. Specify * to indicate that the entire cache should be cleaned.
  • Type: java.lang.String
  • Required: No
  • User Property: artifact

<gwt3BuildCacheDir>

Specifies the path to the build cache. This defaults to a directory in target, but for easier reuse and faster builds between projects, it can make sense to set this globally to a shared directory.
  • Type: java.io.File
  • Required: Yes
  • User Property: gwt3.cache.dir
  • Default: ${project.build.directory}/gwt3BuildCache

<localBuildCache>

(no description)
  • Type: java.io.File
  • Required: Yes
  • Default: ${project.build.directory}/j2cl-maven-plugin-local-cache