On Fri, Oct 26, 2012 at 3:10 AM, Laird Nelson <[email protected]> wrote:
> The Maven documentation makes extensive reference to the <repository>
> element, and even instructs you on how to add it to your pom.xml (
> http://maven.apache.org/guides/introduction/introduction-to-repositories.html#Using_the_Internal_Repository
> ).
>
> But the community came to realize over time this was a bad idea.  However,
> I can't find a reference in the official Maven documentation that says this
> is a bad idea.  (Maybe it's there and I'm just missing it.)
>
> If you look in the Maven documentation, you will find a document that says,
> hey, a repository manager is a good idea (
> http://maven.apache.org/repository-management.html).
>
> But this documentation doesn't say, "please don't put <repository> elements
> in your pom".  It probably should.

Some of this stuff is only just being worked out recently (i.e last
year or so) and hasn't made its way back into the documentation.

Ideally Maven (or maybe maven-enforcer-plugin) should provide warning
on this bad practices and provide links to the recommended solutions.
We are not there yet.

I've raised https://jira.codehaus.org/browse/MNG-5364 so if you want
to enhance the documentation go ahead!

A lot this knowledge is captured on the list and amongst the long term users.
It is helpful to have fresh eyes to help identify where the gaps in
documentation are.
We would appreciate help in making them better.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to