<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 04/13/2012 09:46 AM, Max Rydahl Andersen wrote:
<blockquote
cite="mid:F1F4427B-C53E-4EF6-A918-8CDBB346FB20@redhat.com"
type="cite">
<pre wrap="">guys - please read up on how maven works and how its recommended to use.
<a class="moz-txt-link-freetext" href="http://www.sonatype.com/people/2009/02/why-putting-repositories-in-your-poms-is-a-bad-idea/">http://www.sonatype.com/people/2009/02/why-putting-repositories-in-your-poms-is-a-bad-idea/</a></pre>
</blockquote>
These arguments are good and makes lot of sense for people proxying
repositories.<br>
But assuming someone works on multiple projects, then his
settings.xml is polluted with a lot of stuff coming from other
projects, and then the build that will happen on his machine may
differ a lot from the "normal/maintained" one. So that means that
all project have to ship its settings.xml containing the repository
to reference, and profiles related to enablement of these
repositories. We'll have to split pom.xml into pom.xml +
settings.xml. It makes things more complicated for maintainers and
consumers, but makes sense in case of an "enterprise" deployment of
Maven. Also please note that if you don't want the build to contain
any reference to a repository, this is also an argument against
target platforms since they directly refer to repository. I'll
investigate on how dependencyManagement works with Tycho.<br>
In a nutshell: What you'd like is a pattern that decouples
dependency source (to be overriden when necessary) and dependency
management. It adds complexity and it is the contrary of what TP do.<br>
-- <br>
<div class="moz-signature">Mickael Istria<br>
Eclipse developer at <a href="http://www.jboss.org/tools">JBoss,
by Red Hat</a><br>
<a href="http://mickaelistria.wordpress.com">My blog</a> - <a
href="http://twitter.com/mickaelistria">My Tweets</a></div>
</body>
</html>