|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
com.lazerycode.selenium.SeleniumServerMojo
public class SeleniumServerMojo
Selenium Standalone Server Maven Plugin
Field Summary | |
---|---|
protected File |
customRepositoryMap
Absolute path to the XML RepositoryMap |
protected File |
downloadedZipFileDirectory
Directory where downloaded standalone executable zip files will be saved |
protected int |
fileDownloadConnectTimeout
the number of milliseconds until this method will timeout if no connection could be established to remote file location |
protected int |
fileDownloadReadTimeout
the number of milliseconds until this method will timeout if if no data could be read from remote file location |
protected int |
fileDownloadRetryAttempts
Number of times to retry the file download of each executable |
protected Map<String,String> |
getSpecificExecutableVersions
A map of driver standalone versions to download |
protected boolean |
onlyGetLatestVersions
Only get the latest version of each standalone executable in RepositoryMap.xml |
protected Map<String,String> |
operatingSystems
The Operating systems you would like to download a standalone executable for |
protected boolean |
overwriteFilesThatExist
Force the plugin to overwrite any files that have already been extracted from a valid zip file |
protected File |
rootStandaloneServerDirectory
Root directory where the standalone server file structure will be created and files will be saved |
protected boolean |
sixtyFourBitBinaries
Download 64 bit standalone executable |
protected boolean |
thirtyTwoBitBinaries
Download 32 bit standalone executable |
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
SeleniumServerMojo()
|
Method Summary | |
---|---|
void |
execute()
|
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
---|
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected File rootStandaloneServerDirectory
<rootStandaloneServerDirectory>${project.basedir}/src/main/resources/standalone_executable_root</rootStandaloneServerDirectory>
protected File downloadedZipFileDirectory
<downloadedZipFileDirectory>${project.basedir}/src/main/resources/downloaded_zip_files</downloadedZipFileDirectory>
protected File customRepositoryMap
<xmlRepositoryMap>${project.basedir}/src/main/resources/RepositoryMap.xml</xmlRepositoryMap>
protected Map<String,String> operatingSystems
Unknown operating systems will cause an error to be thrown, only use the options shown above.
Default:All operating systems.
protected boolean thirtyTwoBitBinaries
<thirtyTwoBitBinaries>true</thirtyTwoBitBinaries>
protected boolean sixtyFourBitBinaries
<sixtyFourBitBinaries>true</sixtyFourBitBinaries>
protected boolean onlyGetLatestVersions
<onlyGetLatestVersions>true</onlyGetLatestVersions>
If set to false this will download all versions specified in the RepositoryMap.xml
This will be ignored if specific executable versions have been specified
protected Map<String,String> getSpecificExecutableVersions
Unrecognised browser names/versions will be ignored
protected int fileDownloadRetryAttempts
<fileDownloadRetryAttempts>1</fileDownloadRetryAttempts>
protected int fileDownloadConnectTimeout
<fileDownloadConnectTimeout>15000</fileDownloadConnectTimeout>
protected int fileDownloadReadTimeout
<fileDownloadReadTimeout>15000</fileDownloadReadTimeout>
protected boolean overwriteFilesThatExist
<overwriteFilesThatExist>false</overwriteFilesThatExist>
crc checks are not performed on files that have been extracted from valid zips, they are assumed to be valid. This will force the plugin to extract everything from valid zips again and overwrite any existing files.
This does not clean out old files, it only writes new files over the top of existing ones.
Constructor Detail |
---|
public SeleniumServerMojo()
Method Detail |
---|
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |