|
From: Jorg H. <jor...@gm...> - 2007-04-03 10:20:29
|
Hi,
DSMP [1] implements a way to transparently "redirect" maven clients to a
different repository. This is really handy for artifacts that specify
repositories in their pom.xml :
<repositories>
<repository>
<id>apache.snapshots</id>
<name>Apache Maven Repository (Snapshots and Test Builds)</name>
<url>http://people.apache.org/maven-snapshot-repository</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
<repository>
<id>java.net</id>
<name>java.net Maven 1 Repository</name>
<url>https://maven-repository.dev.java.net/nonav/repository</url>
<layout>legacy</layout>
</repository>
</repositories>
For this, one only needs to specify dsmp as a proxy in settings.xml. Server
side configuration then redirects the server url to either a different local
or remote repository. This is really handy in corporate intranets where
authenticating proxies would require maven to have a hardcoded proxy
username/password in settings.xml.
I was wondering if Artifactory is planning to implement a similar feature ?
Thanks,
Jorg
[1] http://www.pdark.de/dsmp/usage.html
|