On 04/11/2012 03:45 PM, Max Rydahl Andersen wrote:
>> If JBoss Nexus is a requirement now then it seem to be
missing instructions on adding the snapshot repo to ones ~/.m2/settings.xml ?
> The Nexus repo is added to the top-level pom.xml for each component, so it works
without additional effort.
please don't do that. thats a very bad mvn practice.
IMO provide a settings.xml users can use via -s settings.xml or copy to their
~/.m2/settings.xml instead.
What about
<release><enabled>false</...> on snapshot repo, it could be
more comfortable for users and would also prevent from getting releases
build in snapshot repo (which is the issue you are concerned about,
isn't it) ?
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat <
http://www.jboss.org/tools>
My blog <
http://mickaelistria.wordpress.com> - My Tweets
<
http://twitter.com/mickaelistria>