Skip to content

Respect Maven's proxy settings #398

@chovyy

Description

@chovyy

From my workstation, our DT server is only reachable through a proxy.

For uploading BOMs, I have to set Java environment variables when calling this plugin:

mvn io.github.pmckeown:dependency-track-maven-plugin:upload-bom -Dhttp.proxyHost=[...] -Dhttp.proxyPort=[...]

That works fine, but it would be nice, if the plugin would take the proxy settings from Maven. In my settings.xml, I have something like:

  <proxies>
    <proxy>
      <id>[...]</id>
      <active>true</active>
      <protocol>http</protocol>
      <host>[...]</host>
      <port>[...]</port>
    </proxy>
  </proxies>

but this seems to be currently ignored by this plugin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions