javascript:package

Goal which packages scripts and resources as a javascript archive to be installed / deployed in maven repositories.

Mojo Attributes :

  • Requires a Maven 2.0 project to execute.
  • Automatically executes within the lifecycle phase: package

Optional Parameters

Name Type Description
classifier String Optional classifier
finalName String The filename of the js file. Default value is ${project.build.finalName}.
manifest File No description.
outputDirectory File The output directory of the js file. Default value is ${project.build.directory}.
projectHelper MavenProjectHelper No description.
scriptsDirectory File Location of the scripts files. Default value is ${project.build.outputDirectory}.

Parameter Details

classifier

Optional classifier

  • Type : java.lang.String
  • Required : No

finalName

The filename of the js file.

  • Type : java.lang.String
  • Required : No
  • Default : ${project.build.finalName}

manifest

No Description.

  • Type : java.io.File
  • Required : No

outputDirectory

The output directory of the js file.

  • Type : java.io.File
  • Required : No
  • Default : ${project.build.directory}

projectHelper

No Description.

  • Type : org.apache.maven.project.MavenProjectHelper
  • Required : No

scriptsDirectory

Location of the scripts files.

  • Type : java.io.File
  • Required : No
  • Default : ${project.build.outputDirectory}