javascript:inplace

Full name:

org.codehaus.mojo.javascript:javascript-maven-plugin:1.1-softec:inplace

Description:

Goal that copies javascript dependencies to the web application script folder, inside the webapp source directory. This allows to prepare the webapp for running on a lightweight servlet container that does not requires packaging (when using the jetty:run goal).

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: runtime.

Required Parameters

Name Type Since Description
warSourceDirectory File - Single directory for extra files to include in the WAR.

Optional Parameters

Name Type Since Description
libsDirectory String - The folder for javascripts dependencies
Default value is: lib.
scriptsDirectory String - The folder in webapp for javascripts
Default value is: scripts/libs.
useArtifactId boolean - Use the artifactId as folder

Parameter Details

libsDirectory:

The folder for javascripts dependencies
  • Type: java.lang.String
  • Required: No
  • Expression: ${scripts}
  • Default: lib

scriptsDirectory:

The folder in webapp for javascripts
  • Type: java.lang.String
  • Required: No
  • Expression: ${scripts}
  • Default: scripts/libs

useArtifactId:

Use the artifactId as folder
  • Type: boolean
  • Required: No

warSourceDirectory:

Single directory for extra files to include in the WAR.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${basedir}/src/main/webapp