<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
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/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>Werx Limited &#187; project management</title> <atom:link href="http://werxltd.com/wp/tag/project-management/feed/" rel="self" type="application/rss+xml" /><link>http://werxltd.com/wp</link> <description>We make IT work.</description> <lastBuildDate>Mon, 07 May 2012 18:40:10 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>Getting Maven and Eclipse to play together</title><link>http://werxltd.com/wp/2009/12/24/getting-maven-and-eclipse-to-play-together/</link> <comments>http://werxltd.com/wp/2009/12/24/getting-maven-and-eclipse-to-play-together/#comments</comments> <pubDate>Thu, 24 Dec 2009 12:00:35 +0000</pubDate> <dc:creator>wes</dc:creator> <category><![CDATA[java]]></category> <category><![CDATA[software development]]></category> <category><![CDATA[development enviroment]]></category> <category><![CDATA[eclipse]]></category> <category><![CDATA[maven]]></category> <category><![CDATA[project management]]></category><guid
isPermaLink="false">http://werxltd.com/wp/?p=307</guid> <description><![CDATA[I love using Maven for dependency management and code portability, and I love Eclipse as an enviroment to develop in. However, for the longest time I had trouble getting the two to play well together until I discovered the following commands that made combining the two much easier. To add Maven repositories to your Eclipse [...]]]></description> <content:encoded><![CDATA[<p>I love using <a
href="http://maven.apache.org/">Maven</a> for dependency management and code portability, and I love <a
href="http://www.eclipse.org/">Eclipse</a> as an enviroment to develop in. However, for the longest time I had trouble getting the two to play well together until I discovered the following commands that made combining the two much easier.</p><p>To add Maven repositories to your Eclipse workspace (for code completion and syntax verification) run the following command:</p><pre class="brush:bash">mvn -Declipse.workspace=/path/to/workspace eclipse:add-maven-repo</pre><p>To add an Eclipse .project file to your project run the following command:</p><pre class="brush:bash">mvn eclipse:eclipse</pre><p>That&#8217;s it! You should now be able to import the project into Eclispe. I haven&#8217;t figured out how to build Maven projects in Eclipse yet<sup><a
href="http://werxltd.com/wp/2009/12/24/getting-maven-and-eclipse-to-play-together/#footnote_0_307" id="identifier_0_307" class="footnote-link footnote-identifier-link" title="I&amp;#8217;ve seen the plugins but haven&amp;#8217;t gotten any to work well enough to rely on.">1</a></sup> so building and testing your code still requires you to use Maven via the command line.</p><p>You&#8217;ll also need to re-create the Eclipse project file if you add any dependencies in order for them to be picked up properly in Eclipse.</p><p>Need more? <a
href="http://m2eclipse.sonatype.org/">Check out this site</a> for more on Maven integration in Eclipse</p><div
class="betterrelated none"><p>No related content found.</p></div><ol
class="footnotes"><li
id="footnote_0_307" class="footnote">I&#8217;ve seen the plugins but haven&#8217;t gotten any to work well enough to rely on.</li></ol><p><a
class="a2a_button_facebook_like addtoany_special_service" data-href="http://werxltd.com/wp/2009/12/24/getting-maven-and-eclipse-to-play-together/"></a><a
class="a2a_button_twitter_tweet addtoany_special_service" data-count="none" data-url="http://werxltd.com/wp/2009/12/24/getting-maven-and-eclipse-to-play-together/" data-text="Getting Maven and Eclipse to play together"></a><a
class="a2a_button_google_plusone addtoany_special_service" data-annotation="none" data-href="http://werxltd.com/wp/2009/12/24/getting-maven-and-eclipse-to-play-together/"></a><a
class="a2a_button_linkedin" href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fwerxltd.com%2Fwp%2F2009%2F12%2F24%2Fgetting-maven-and-eclipse-to-play-together%2F&amp;linkname=Getting%20Maven%20and%20Eclipse%20to%20play%20together" title="LinkedIn" rel="nofollow" target="_blank"><img
src="http://werxltd.com/wp/wp-content/plugins/add-to-any/icons/linkedin.png?9d7bd4" width="16" height="16" alt="LinkedIn"/></a><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwerxltd.com%2Fwp%2F2009%2F12%2F24%2Fgetting-maven-and-eclipse-to-play-together%2F&amp;title=Getting%20Maven%20and%20Eclipse%20to%20play%20together" id="wpa2a_2">Share/Save</a></p>]]></content:encoded> <wfw:commentRss>http://werxltd.com/wp/2009/12/24/getting-maven-and-eclipse-to-play-together/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using apc
Page Caching using apc
Database Caching 4/8 queries in 0.001 seconds using apc
Object Caching 343/345 objects using apc

Served from: werxltd.com @ 2012-05-21 19:52:41 -->
