<?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"
	>
<channel>
	<title>Comments on: Opening Maven Projects is Easy as Pie</title>
	<atom:link href="http://blogs.jetbrains.com/idea/2008/03/opening-maven-projects-is-easy-as-pie/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.jetbrains.com/idea/2008/03/opening-maven-projects-is-easy-as-pie/</link>
	<description>tips &#38; tricks, news, how-to's</description>
	<pubDate>Mon, 13 Feb 2012 12:47:34 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: Chad</title>
		<link>http://blogs.jetbrains.com/idea/2008/03/opening-maven-projects-is-easy-as-pie/#comment-136136</link>
		<dc:creator>Chad</dc:creator>
		<pubDate>Thu, 17 Jun 2010 18:19:12 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/2008/03/opening-maven-projects-is-easy-as-pie/#comment-136136</guid>
		<description>I ran into the same problem where intelliJ was not picking up the $M2_HOME variable set for my linux environment.  One workaround is to modify the idea.sh file and add the following:

export M2_HOME=[path/to/maven2]</description>
		<content:encoded><![CDATA[<p>I ran into the same problem where intelliJ was not picking up the $M2_HOME variable set for my linux environment.  One workaround is to modify the idea.sh file and add the following:</p>
<p>export M2_HOME=[path/to/maven2]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HappySpaceInvader</title>
		<link>http://blogs.jetbrains.com/idea/2008/03/opening-maven-projects-is-easy-as-pie/#comment-135493</link>
		<dc:creator>HappySpaceInvader</dc:creator>
		<pubDate>Wed, 09 Jun 2010 10:13:10 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/2008/03/opening-maven-projects-is-easy-as-pie/#comment-135493</guid>
		<description>Why does IntelliJ still not pick up the $M2_HOME I have set in my system.   When trying a Maven build, I get the error "No valid Maven installation found. Either set the home directory in the configuration dialog or set the M2_HOME environment variable on your system.", yet when I run "echo $M2_HOME" in my Terminal, I can see that the environment variable is correctly set (to /usr/share/maven in my case".</description>
		<content:encoded><![CDATA[<p>Why does IntelliJ still not pick up the $M2_HOME I have set in my system.   When trying a Maven build, I get the error &#8220;No valid Maven installation found. Either set the home directory in the configuration dialog or set the M2_HOME environment variable on your system.&#8221;, yet when I run &#8220;echo $M2_HOME&#8221; in my Terminal, I can see that the environment variable is correctly set (to /usr/share/maven in my case&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Axel Wagner</title>
		<link>http://blogs.jetbrains.com/idea/2008/03/opening-maven-projects-is-easy-as-pie/#comment-124600</link>
		<dc:creator>Axel Wagner</dc:creator>
		<pubDate>Thu, 28 Jan 2010 14:26:14 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/2008/03/opening-maven-projects-is-easy-as-pie/#comment-124600</guid>
		<description>@Dan Delorey &#38; @Anton Makeev

bug in .idea/workspace.xml:

after import a maven project just add:

  
    
      
        
      
    
  

and modify by setting a mavenHome variable in             
:
  
    
      
        
          
            
            
            
            

            
...</description>
		<content:encoded><![CDATA[<p>@Dan Delorey &amp; @Anton Makeev</p>
<p>bug in .idea/workspace.xml:</p>
<p>after import a maven project just add:</p>
<p>and modify by setting a mavenHome variable in<br />
:</p>
<p>&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy Leipzig</title>
		<link>http://blogs.jetbrains.com/idea/2008/03/opening-maven-projects-is-easy-as-pie/#comment-69290</link>
		<dc:creator>Jeremy Leipzig</dc:creator>
		<pubDate>Tue, 09 Sep 2008 20:38:12 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/2008/03/opening-maven-projects-is-easy-as-pie/#comment-69290</guid>
		<description>Jigar Gosar: You want the Maven Dependency Sync plugin.
That is what I was looking for myself as you can see several posts above. I don't know why this is not a built-in feature.</description>
		<content:encoded><![CDATA[<p>Jigar Gosar: You want the Maven Dependency Sync plugin.<br />
That is what I was looking for myself as you can see several posts above. I don&#8217;t know why this is not a built-in feature.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jigar Gosar</title>
		<link>http://blogs.jetbrains.com/idea/2008/03/opening-maven-projects-is-easy-as-pie/#comment-59250</link>
		<dc:creator>Jigar Gosar</dc:creator>
		<pubDate>Wed, 11 Jun 2008 11:10:13 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/2008/03/opening-maven-projects-is-easy-as-pie/#comment-59250</guid>
		<description>I have an idea project in which i have couple of modules each of which has a maven pom file. Now if I want to compile the project from within idea I have to manually add each and every library into idea project. How can i tell idea to add all maven dependencies for each module in its configuration so that i can compile projects from within idea. 

Basically, I want that every time I add a dependency in pom file it should also be included in the module dependency, is there any easier way to achieve this?
</description>
		<content:encoded><![CDATA[<p>I have an idea project in which i have couple of modules each of which has a maven pom file. Now if I want to compile the project from within idea I have to manually add each and every library into idea project. How can i tell idea to add all maven dependencies for each module in its configuration so that i can compile projects from within idea. </p>
<p>Basically, I want that every time I add a dependency in pom file it should also be included in the module dependency, is there any easier way to achieve this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anton Makeev</title>
		<link>http://blogs.jetbrains.com/idea/2008/03/opening-maven-projects-is-easy-as-pie/#comment-55740</link>
		<dc:creator>Anton Makeev</dc:creator>
		<pubDate>Mon, 28 Apr 2008 11:25:57 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/2008/03/opening-maven-projects-is-easy-as-pie/#comment-55740</guid>
		<description>Unfortunately at the moment you have to specify an installation path for the Maven Run Configuration itself: the Maven Settings do not affect Run Configurations.
This inconsistency will be fixed in next versions.
</description>
		<content:encoded><![CDATA[<p>Unfortunately at the moment you have to specify an installation path for the Maven Run Configuration itself: the Maven Settings do not affect Run Configurations.<br />
This inconsistency will be fixed in next versions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Delorey</title>
		<link>http://blogs.jetbrains.com/idea/2008/03/opening-maven-projects-is-easy-as-pie/#comment-55326</link>
		<dc:creator>Dan Delorey</dc:creator>
		<pubDate>Wed, 23 Apr 2008 21:36:31 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/2008/03/opening-maven-projects-is-easy-as-pie/#comment-55326</guid>
		<description>I am having trouble debugging maven goals. I can run individual goals by double-clicking them or by selecting "Run Goal" from the context menu. However, if I select "Run 'project_name [goal_name]'" or "Debug 'project_name [goal_name]'" from the context menu, I get an error "Error running Tests: No valid Maven installation found. Either set the home directory in the configuration dialog or set the M2_HOME environment variable on your system." I have set the home directory on the configuration dialog. Can you give me any other pointers? </description>
		<content:encoded><![CDATA[<p>I am having trouble debugging maven goals. I can run individual goals by double-clicking them or by selecting &#8220;Run Goal&#8221; from the context menu. However, if I select &#8220;Run &#8216;project_name [goal_name]&#8216;&#8221; or &#8220;Debug &#8216;project_name [goal_name]&#8216;&#8221; from the context menu, I get an error &#8220;Error running Tests: No valid Maven installation found. Either set the home directory in the configuration dialog or set the M2_HOME environment variable on your system.&#8221; I have set the home directory on the configuration dialog. Can you give me any other pointers?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anton Makeev</title>
		<link>http://blogs.jetbrains.com/idea/2008/03/opening-maven-projects-is-easy-as-pie/#comment-54881</link>
		<dc:creator>Anton Makeev</dc:creator>
		<pubDate>Fri, 18 Apr 2008 08:11:57 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/2008/03/opening-maven-projects-is-easy-as-pie/#comment-54881</guid>
		<description>Compilation with SHIFT+CTRL+F9 does not run maven goal: it runs the native idea compilation process; this process involves regeneration of the war file, though.
I could recommend you to use an exploded directory instead of the war if you want to have a quick hatswap.
If you want any details, please mail me to Anton dot Makeev at jetbrains dot com.</description>
		<content:encoded><![CDATA[<p>Compilation with SHIFT+CTRL+F9 does not run maven goal: it runs the native idea compilation process; this process involves regeneration of the war file, though.<br />
I could recommend you to use an exploded directory instead of the war if you want to have a quick hatswap.<br />
If you want any details, please mail me to Anton dot Makeev at jetbrains dot com.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darin Manica</title>
		<link>http://blogs.jetbrains.com/idea/2008/03/opening-maven-projects-is-easy-as-pie/#comment-54715</link>
		<dc:creator>Darin Manica</dc:creator>
		<pubDate>Wed, 16 Apr 2008 23:01:45 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/2008/03/opening-maven-projects-is-easy-as-pie/#comment-54715</guid>
		<description>I don't want to run hotswap after executing a maven goal, I want to be able to compile a single file and hotswap it without running any maven goals.  For example, say that I run "maven package" to build a .war file and start my app server.  Then I make a change to a java file.  I'd like to compile that single file in Idea and have it hotswap.  Currently, when I run "Compile Foo.java (ctrl+shift+F9)" it runs a maven goal that regenerates the war file instead of just compiling the single file and hotswapping it.  The problem is that redeploying the war file is too slow and doesn't always work (and defeats the purpose of hotswap.)

I used to do this exact behavior, when using running "mvn idea:idea" and having maven generate my project/module files.  For some reason, when I switched over to using the pom as the project file, I lost this functionality.  Otherwise, I prefer using the pom support, so I'm hoping it is possible to hotswap a single file without running maven targets.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t want to run hotswap after executing a maven goal, I want to be able to compile a single file and hotswap it without running any maven goals.  For example, say that I run &#8220;maven package&#8221; to build a .war file and start my app server.  Then I make a change to a java file.  I&#8217;d like to compile that single file in Idea and have it hotswap.  Currently, when I run &#8220;Compile Foo.java (ctrl+shift+F9)&#8221; it runs a maven goal that regenerates the war file instead of just compiling the single file and hotswapping it.  The problem is that redeploying the war file is too slow and doesn&#8217;t always work (and defeats the purpose of hotswap.)</p>
<p>I used to do this exact behavior, when using running &#8220;mvn idea:idea&#8221; and having maven generate my project/module files.  For some reason, when I switched over to using the pom as the project file, I lost this functionality.  Otherwise, I prefer using the pom support, so I&#8217;m hoping it is possible to hotswap a single file without running maven targets.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anton Makeev</title>
		<link>http://blogs.jetbrains.com/idea/2008/03/opening-maven-projects-is-easy-as-pie/#comment-54706</link>
		<dc:creator>Anton Makeev</dc:creator>
		<pubDate>Wed, 16 Apr 2008 10:55:36 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.jetbrains.com/idea/2008/03/opening-maven-projects-is-easy-as-pie/#comment-54706</guid>
		<description>I don't quite understand you.
Do you want to automatically run hotswap after executin maven goal? 
If it's so you may vote for and watch http://www.jetbrains.net/jira/browse/IDEADEV-26044.
We'll implement it in one of the following eaps.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t quite understand you.<br />
Do you want to automatically run hotswap after executin maven goal?<br />
If it&#8217;s so you may vote for and watch <a href="http://www.jetbrains.net/jira/browse/IDEADEV-26044" rel="nofollow">http://www.jetbrains.net/jira/browse/IDEADEV-26044</a>.<br />
We&#8217;ll implement it in one of the following eaps.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

