simpligility / maven-repository-tools

Tools for interacting with Maven repositories
Eclipse Public License 1.0
137 stars 66 forks source link

Configure proxy for target #45

Closed sellersj closed 5 years ago

sellersj commented 5 years ago

Currently the proxy is only for source repos. If you are moving on-prem nexus externally, you'll need it for the target as well.

Just a small change needed to the RemoteRepository.Builder command:

.setProxy( ProxyHelper.getProxy( targetUrl ) )

https://github.com/simpligility/maven-repository-tools/blob/master/maven-repository-provisioner/src/main/java/com/simpligility/maven/provisioner/MavenRepositoryDeployer.java#L164

mosabua commented 5 years ago

Released as part of 1.4.1