<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Maven Tips</title>
	<atom:link href="http://blog.xebia.com/2008/10/25/maven-tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.xebia.com/2008/10/25/maven-tips/</link>
	<description></description>
	<lastBuildDate>Tue, 09 Mar 2010 17:30:15 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Thomas Ferris Nicolaisen</title>
		<link>http://blog.xebia.com/2008/10/25/maven-tips/comment-page-1/#comment-67019</link>
		<dc:creator>Thomas Ferris Nicolaisen</dc:creator>
		<pubDate>Sun, 07 Dec 2008 16:57:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xebia.com/?p=717#comment-67019</guid>
		<description>We&#039;ve got a whole collection of advice on how to get a proper Maven infrastructure up and running:

http://wiki.community.objectware.no/display/smidigtonull/Enterprise+Maven+Infrastructure

And here&#039;s our pretty extensive Maven FAQ:

http://wiki.community.objectware.no/display/smidigtonull/Maven+FAQ</description>
		<content:encoded><![CDATA[<p>We&#8217;ve got a whole collection of advice on how to get a proper Maven infrastructure up and running:</p>
<p><a href="http://wiki.community.objectware.no/display/smidigtonull/Enterprise+Maven+Infrastructure" rel="nofollow">http://wiki.community.objectware.no/display/smidigtonull/Enterprise+Maven+Infrastructure</a></p>
<p>And here&#8217;s our pretty extensive Maven FAQ:</p>
<p><a href="http://wiki.community.objectware.no/display/smidigtonull/Maven+FAQ" rel="nofollow">http://wiki.community.objectware.no/display/smidigtonull/Maven+FAQ</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: javabean</title>
		<link>http://blog.xebia.com/2008/10/25/maven-tips/comment-page-1/#comment-59300</link>
		<dc:creator>javabean</dc:creator>
		<pubDate>Tue, 28 Oct 2008 20:54:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xebia.com/?p=717#comment-59300</guid>
		<description>why dont you put the company repos in the parent pom ? migration is simple then, noone even notices.</description>
		<content:encoded><![CDATA[<p>why dont you put the company repos in the parent pom ? migration is simple then, noone even notices.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan Groot</title>
		<link>http://blog.xebia.com/2008/10/25/maven-tips/comment-page-1/#comment-59284</link>
		<dc:creator>Jan Groot</dc:creator>
		<pubDate>Tue, 28 Oct 2008 18:48:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xebia.com/?p=717#comment-59284</guid>
		<description>In my previous post the word dependencyManagement disappeared, as I put it in between 

A section of the maven introduction handles this issue:

http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Management

(I also seem to have some issues with your software)</description>
		<content:encoded><![CDATA[<p>In my previous post the word dependencyManagement disappeared, as I put it in between </p>
<p>A section of the maven introduction handles this issue:</p>
<p><a href="http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Management" rel="nofollow">http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Management</a></p>
<p>(I also seem to have some issues with your software)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan Groot</title>
		<link>http://blog.xebia.com/2008/10/25/maven-tips/comment-page-1/#comment-59281</link>
		<dc:creator>Jan Groot</dc:creator>
		<pubDate>Tue, 28 Oct 2008 18:35:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xebia.com/?p=717#comment-59281</guid>
		<description>As for using the properties for versioning, maybe you can use  instead.
This also regulates the versioning of transitive dependencies.</description>
		<content:encoded><![CDATA[<p>As for using the properties for versioning, maybe you can use  instead.<br />
This also regulates the versioning of transitive dependencies.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Fox</title>
		<link>http://blog.xebia.com/2008/10/25/maven-tips/comment-page-1/#comment-59016</link>
		<dc:creator>Brian Fox</dc:creator>
		<pubDate>Mon, 27 Oct 2008 01:44:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xebia.com/?p=717#comment-59016</guid>
		<description>Good summary. Definately putting the repos in your settings is the way to go as you discovered. Having them in the pom makes it a tiny bit simpler to setup a new user, but it can be quite a pain to migrate later. Inserting the file based repo in your pom is also a bad idea, if you really must do it, put it in your settings.

A better idea is a repository manager like Nexus (http://nexus.sonatype.org) even for personal use. It makes it easier to manager your repository connections, upload 3rd party resources etc. Plus you can trash your local repo and not have to redownload everything from the net.</description>
		<content:encoded><![CDATA[<p>Good summary. Definately putting the repos in your settings is the way to go as you discovered. Having them in the pom makes it a tiny bit simpler to setup a new user, but it can be quite a pain to migrate later. Inserting the file based repo in your pom is also a bad idea, if you really must do it, put it in your settings.</p>
<p>A better idea is a repository manager like Nexus (<a href="http://nexus.sonatype.org" rel="nofollow">http://nexus.sonatype.org</a>) even for personal use. It makes it easier to manager your repository connections, upload 3rd party resources etc. Plus you can trash your local repo and not have to redownload everything from the net.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik Pragt</title>
		<link>http://blog.xebia.com/2008/10/25/maven-tips/comment-page-1/#comment-58662</link>
		<dc:creator>Erik Pragt</dc:creator>
		<pubDate>Sat, 25 Oct 2008 19:50:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xebia.com/?p=717#comment-58662</guid>
		<description>Hi Lars,

Thanks for the tips. One small remark: I&#039;m using IntelliJ, and I never use the maven plugin to generate my project: I just open the pom.xml from within my IDE, which works great.

I&#039;m sure Eclipse (m2eclipe?) has similar tools. This way, you&#039;re project is always in sync with your pom, and you don&#039;t have to manually sync it when adding dependencies.

Oh, and about point 2: I would advice to put in in the pom :). Actually, I would put all maven repositories there, internal or external. It happend to often that a build was failing on my machine, only to be notified (too much time later...) by an other developer that a new repo was added, but since it was in his/her settings, and not in a global place, my build was failing.... 

A workaround for your problem could be to &#039;standardize&#039; on hostnames, and add them to your /etc/hosts file (or your windows host file). This way you can refer to them by name, and when the IP address changes, you only have to change your host table!</description>
		<content:encoded><![CDATA[<p>Hi Lars,</p>
<p>Thanks for the tips. One small remark: I&#8217;m using IntelliJ, and I never use the maven plugin to generate my project: I just open the pom.xml from within my IDE, which works great.</p>
<p>I&#8217;m sure Eclipse (m2eclipe?) has similar tools. This way, you&#8217;re project is always in sync with your pom, and you don&#8217;t have to manually sync it when adding dependencies.</p>
<p>Oh, and about point 2: I would advice to put in in the pom <img src='http://blog.xebia.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Actually, I would put all maven repositories there, internal or external. It happend to often that a build was failing on my machine, only to be notified (too much time later&#8230;) by an other developer that a new repo was added, but since it was in his/her settings, and not in a global place, my build was failing&#8230;. </p>
<p>A workaround for your problem could be to &#8217;standardize&#8217; on hostnames, and add them to your /etc/hosts file (or your windows host file). This way you can refer to them by name, and when the IP address changes, you only have to change your host table!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
