Fork me on GitHub

phantomjs:exec

Full name:

com.github.klieber:phantomjs-maven-plugin:0.7:exec

Description:

Maven plugin for downloading and installing phantomjs binaries.

Attributes:

  • Requires a Maven project to be executed.
  • Since version: 0.2.
  • Binds by default to the lifecycle phase: test.

Required Parameters

Name Type Since Description
propertyName String 0.1 The name of the property that will contains the path to the binary.
Default value is: phantomjs.binary.
User property is: phantomjs.propertyName.
skip boolean 0.2 Skip the phantomjs-maven-plugin execution.
Default value is: false.
User property is: phantomjs.skip.

Optional Parameters

Name Type Since Description
arguments List 0.2 Arguments for the script being executed
User property is: phantomjs.args.
commandLineOptions String 0.2 Command line options for phantomjs
User property is: phantomjs.commandLineOptions.
configFile File 0.2 Configuration file for phantomjs
User property is: phantomjs.configFile.
failOnNonZeroExitCode boolean 0.4 Fail on a non-zero exit code
Default value is: true.
User property is: phantomjs.failOnNonZeroExitCode.
phantomJsBinary String 0.2 The path to the phantomjs binary
User property is: phantomjs.binary.
script String 0.2 Script to execute
User property is: phantomjs.script.
workingDirectory String 0.5 Working Directory
Default value is: ${project.basedir}.
User property is: phantomjs.workingDirectory.

Parameter Details

arguments:

Arguments for the script being executed
  • Type: java.util.List
  • Since: 0.2
  • Required: No
  • User Property: phantomjs.args

commandLineOptions:

Command line options for phantomjs
  • Type: java.lang.String
  • Since: 0.2
  • Required: No
  • User Property: phantomjs.commandLineOptions

configFile:

Configuration file for phantomjs
  • Type: java.io.File
  • Since: 0.2
  • Required: No
  • User Property: phantomjs.configFile

failOnNonZeroExitCode:

Fail on a non-zero exit code
  • Type: boolean
  • Since: 0.4
  • Required: No
  • User Property: phantomjs.failOnNonZeroExitCode
  • Default: true

phantomJsBinary:

The path to the phantomjs binary
  • Type: java.lang.String
  • Since: 0.2
  • Required: No
  • User Property: phantomjs.binary

propertyName:

The name of the property that will contains the path to the binary.
  • Type: java.lang.String
  • Since: 0.1
  • Required: Yes
  • User Property: phantomjs.propertyName
  • Default: phantomjs.binary

script:

Script to execute
  • Type: java.lang.String
  • Since: 0.2
  • Required: No
  • User Property: phantomjs.script

skip:

Skip the phantomjs-maven-plugin execution.
  • Type: boolean
  • Since: 0.2
  • Required: Yes
  • User Property: phantomjs.skip
  • Default: false

workingDirectory:

Working Directory
  • Type: java.lang.String
  • Since: 0.5
  • Required: No
  • User Property: phantomjs.workingDirectory
  • Default: ${project.basedir}