Skip to content

Documentation for use of proxy #16

@hmottestad

Description

@hmottestad

Maven does not automatically detect that it needs to use the http proxy set up in $http_proxy.

I had to resort to the following:

proxy=$http_proxy
proxy=${proxy#*://}; host=${proxy%%:*}; port=${proxy#*:}
mvn -q -Dhttp.proxyHost=$host \
    -Dhttp.proxyPort=$port \
    -Dhttps.proxyHost=$host \
    -Dhttps.proxyPort=$port \
    clean install -DskipTests

This took a long time to discover. Documentation for how the networking works in the setup script would be great.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions