sebb wrote: > On 18/05/2010, Jörg Schaible <joerg.schai...@gmx.de> wrote:
[snip] >> Yes, if I add this, the build runs through. However, you're aware that >> the >> usage of repositories within the POMs is strongly discouraged and IIRC >> will no longer work in M3? > > No, I was not aware of that. > > How are such dependencies supposed to be managed then? The problem is that in a company environment you want normally to control the accessed remote resources (or with a repo manager like Nexus) and with such repository declarations arbitrary locations are added. http://www.sonatype.com/people/2009/02/why-putting-repositories-in-your- poms-is-a-bad-idea/ All you can do then is to ensure that the stuff will go to central or you have to add the repo information to some file like BUILDING so that a user can add the repo to its settings on its own. There have been discussions about exceptions to the rule, but I do not know the latest status. - Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: general-unsubscr...@jakarta.apache.org For additional commands, e-mail: general-h...@jakarta.apache.org