linsolas/casperjs-runner-maven-plugin — pull request #8 by admiralsmaster (2014-01-31 22:02:40+00:00)
Title: add configuration parameter environmentVariables and skip

I added the paremter "environmentVariables". So I can modify the environment for CasperJS and PhantomJS. I.e. I can run both programs without installation.

Additional I add the "skip" parameter. For a complex maven configuration you need the possibility to deactivate the plugin.

Example for run tests without installation (here for MaxOS only):

mac

false
true
true

org.apache.maven.plugins
maven-antrun-plugin
1.7

unpack-programs
pre-integration-test

${skipMac}

run

fr.linsolas
casperjs-runner-maven-plugin
1.0-RC2

*.js

${skipMac}
${project.build.directory}/program/n1k0-casperjs-4f105a9/bin/casperjs

${env.PATH}:${project.build.directory}/program/phantomjs-1.9.7-macosx/bin

integration-test

test