On 18/05/2010, Jörg Schaible <joerg.schai...@gmx.de> wrote:
> 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/

I've read the article, and I don't think it applies here, because:
- it only affects one test project
- the test projects are not uploaded to Maven.

So I think the best is to re-instate the repo reference.

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscr...@jakarta.apache.org
For additional commands, e-mail: general-h...@jakarta.apache.org

Reply via email to