I have some plugins and dependencies that are published to their own
repositories and I want to be able to specify for a given dependency
which repository to use to look for new versions. Ideally I would be
like to be able to do something like this in my pom (I use jtidy as an
example but I also have my own artifacts):
<dependencyManagement>
<dependencies>
<dependency>
<groupId>jtidy</groupId>
<artifactId>jtidy</artifactId>
<version>8.0-SNAPSHOT</version>
<repository>
<id>jtidy</id>
<name>JTidy on SourceForge</name>
<layout>default</layout>
<url>http://jtidy.sourceforge.net/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
</dependency>
</ dependencyManagement>
The reason that I don't want to put the repository in the global
repositories is that is slows down too much the system because it will
look up all artifacts in this repository.
Is it already possible to do this?
Thanks in advance for your help,
Julian Payne
ILOG S.A.