Skip to content

Commit

Permalink
fix for #161
Browse files Browse the repository at this point in the history
  • Loading branch information
ssvaidyanathan committed Nov 5, 2022
1 parent c2ec928 commit f10852e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion samples/APIandConfig/shared-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
<plugin>
<groupId>com.apigee.edge.config</groupId>
<artifactId>apigee-config-maven-plugin</artifactId>
<version>2.4.0</version>
<version>2.4.4</version>
<executions>
<execution>
<id>create-config-targetserver</id>
Expand Down
2 changes: 1 addition & 1 deletion samples/EdgeConfig/shared-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<plugin>
<groupId>com.apigee.edge.config</groupId>
<artifactId>apigee-config-maven-plugin</artifactId>
<version>2.4.0</version>
<version>2.4.4</version>
<executions>
<execution>
<id>create-config-targetserver</id>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -355,11 +355,11 @@ public ServerProfile getProfile() {
CredentialsProvider credsProvider = new BasicCredentialsProvider();
credsProvider.setCredentials(new AuthScope(mavenProxy.getHost(), mavenProxy.getPort()),
new UsernamePasswordCredentials(mavenProxy.getUsername(), mavenProxy.getPassword()));
builder.setProxy(proxy);
builder.setDefaultCredentialsProvider(credsProvider);
buildProfile.setProxyUsername(mavenProxy.getUsername());
buildProfile.setProxyPassword(mavenProxy.getPassword());
}
builder.setProxy(proxy);
buildProfile.setApacheHttpClient(builder.build());

//Set Proxy configurations
Expand Down

0 comments on commit f10852e

Please sign in to comment.