Skip to content

Commit

Permalink
Fix #13 Only check if the custom RepositoryMap.xml is valid if one is…
Browse files Browse the repository at this point in the history
… specified
  • Loading branch information
Ardesco committed Apr 21, 2014
1 parent b69a1ef commit 674e246
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ public void execute() throws MojoExecutionException, MojoFailureException {
LOG.info(" DOWNLOADING SELENIUM STAND-ALONE EXECUTABLE BINARIES...");
LOG.info("--------------------------------------------------------");
LOG.info(" ");
checkRepositoryMapIsValid();
setRepositoryMapFile();

if (null == this.operatingSystems || this.operatingSystems.size() < 1) {
Expand Down Expand Up @@ -288,6 +287,7 @@ private void setRepositoryMapFile() throws MojoExecutionException {
}
this.xmlRepositoryMap = this.getClass().getResourceAsStream("/RepositoryMap.xml");
} else {
checkRepositoryMapIsValid();
try {
this.xmlRepositoryMap = this.customRepositoryMap.toURI().toURL().openStream();
} catch (IOException ioe) {
Expand Down

0 comments on commit 674e246

Please sign in to comment.