Skip to content

Commit

Permalink
Fixes #58
Browse files Browse the repository at this point in the history
  • Loading branch information
Madhan Sadasivam committed Nov 3, 2016
1 parent 66f1b4b commit ce1096d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
<plugin>
<groupId>io.apigee.build-tools.enterprise4g</groupId>
<artifactId>apigee-edge-maven-plugin</artifactId>
<version>1.1.0</version>
<version>1.1.2-SNAPSHOT</version>
<executions>
<execution>
<id>configure-bundle</id>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,6 @@ public void doDelete(String revision) throws IOException, MojoFailureException,E
public void execute() throws MojoExecutionException, MojoFailureException {

try {
fixOSXNonProxyHosts();

init();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,20 +270,6 @@ public boolean isSkip() {
public void setSkip(boolean skip) {
this.skip = skip;
}


protected void fixOSXNonProxyHosts() {

// This is required to work around a Mac OS X bug. Probably would be better to be more selective about this. Only override if we're
// actually on OS X. Or look at the value and only unset if it contains the problematic wildcard value.
try {
System.setProperty("http.nonProxyHosts", "");
}
catch (RuntimeException e) {
// just try to continue
getLog().error(e);
}
}

public Long getDelay() {
return this.delay;
Expand Down

0 comments on commit ce1096d

Please sign in to comment.