Skip to content

Commit

Permalink
Updating the configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
algogrit committed Jul 11, 2019
1 parent 6969159 commit 4685de3
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions code-samples/00-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,33 @@ Edit the xml, remove `http://` inside `<host>`:
<proxy>
...
<host>http://</host>
<proxy>
...
</proxy>
</proxies>
```

### Step 2

Add another proxy for secured connections within `<proxies></proxies>`

```xml
<proxy>
<id>optional</id>
<active>true</active>
<protocol>https</protocol>
<host>10.19.16.165</host>
<port>8080</port>
<nonProxyHosts></nonProxyHosts>
</proxy>
```

### Step 3

```bash
mkdir -p ~/.m2/
cp /usr/share/maven/conf/settings.xml ~/.m2/
```

### Step 3
### Step 4

```bash
rm -rf ~/.m2/repository
Expand Down

0 comments on commit 4685de3

Please sign in to comment.