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.
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:
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:but this seems to be currently ignored by this plugin.