<?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: 3 ways to run Java main from Maven</title>
	<atom:link href="http://www.vineetmanohar.com/2009/11/02/3-ways-to-run-java-main-from-maven/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vineetmanohar.com/2009/11/02/3-ways-to-run-java-main-from-maven/</link>
	<description>Java, Web 2.0 and other Tech topics</description>
	<lastBuildDate>Thu, 11 Mar 2010 16:05:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: vineet</title>
		<link>http://www.vineetmanohar.com/2009/11/02/3-ways-to-run-java-main-from-maven/comment-page-1/#comment-3557</link>
		<dc:creator>vineet</dc:creator>
		<pubDate>Wed, 09 Dec 2009 06:33:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.vineetmanohar.com/?p=584#comment-3557</guid>
		<description>If you get the following error:
Project ID: org.codehaus.mojo:maven-exec-plugin 
POM Location: ~/.m2/repository/org/codehaus/mojo/maven-exec-plugin/1.1.1/maven-exec-plugin-1.1.1.pom
Reason: Not a v4.0.0 POM. for project org.codehaus.mojo:maven-exec-plugin at ~/.m2/repository/org/codehaus/mojo/maven-exec-plugin/1.1.1/maven-exec-plugin-1.1.1.pom

and the following content in the file: ~/.m2/repository/org/apache/maven/plugins/maven-exec-plugin/maven-metadata-java.net.xml

&lt;code&gt;
&lt;!DOCTYPE HTML PUBLIC &quot;-//IETF//DTD HTML 2.0//EN&quot;&gt;
&lt;html&gt;&lt;head&gt;
&lt;title&gt;301 Moved Permanently&lt;/title&gt;
&lt;/head&gt;&lt;body&gt;
&lt;h1&gt;Moved Permanently&lt;/h1&gt;
&lt;p&gt;The document has moved &lt;a href=&quot;http://download.java.net/maven/1/org.apache.maven.plugins/poms/maven-metadata.xml&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;hr&gt;
&lt;address&gt;Apache Server at maven-repository.dev.java.net Port 443&lt;/address&gt;
&lt;/body&gt;&lt;/html&gt;
&lt;/code&gt;

Try the full command line:
&lt;code&gt;mvn org.codehaus.mojo:exec-maven-plugin:1.1.1:java -Dexec.mainClass=com.vineetmanohar.module.Main&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>If you get the following error:<br />
Project ID: org.codehaus.mojo:maven-exec-plugin<br />
POM Location: ~/.m2/repository/org/codehaus/mojo/maven-exec-plugin/1.1.1/maven-exec-plugin-1.1.1.pom<br />
Reason: Not a v4.0.0 POM. for project org.codehaus.mojo:maven-exec-plugin at ~/.m2/repository/org/codehaus/mojo/maven-exec-plugin/1.1.1/maven-exec-plugin-1.1.1.pom</p>
<p>and the following content in the file: ~/.m2/repository/org/apache/maven/plugins/maven-exec-plugin/maven-metadata-java.net.xml</p>
<p><code><br />
< !DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"><br />
<html><head></p>
<p></head><body></p>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://download.java.net/maven/1/org.apache.maven.plugins/poms/maven-metadata.xml" rel="nofollow">here</a>.</p>
<hr />
<address>Apache Server at maven-repository.dev.java.net Port 443</address>
<p></body></html><br />
</code></p>
<p>Try the full command line:<br />
<code>mvn org.codehaus.mojo:exec-maven-plugin:1.1.1:java -Dexec.mainClass=com.vineetmanohar.module.Main</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik</title>
		<link>http://www.vineetmanohar.com/2009/11/02/3-ways-to-run-java-main-from-maven/comment-page-1/#comment-2888</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Wed, 04 Nov 2009 10:45:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.vineetmanohar.com/?p=584#comment-2888</guid>
		<description>Don&#039;t forget the Maven CLI method, it&#039;s waaay faster than anything else!</description>
		<content:encoded><![CDATA[<p>Don&#8217;t forget the Maven CLI method, it&#8217;s waaay faster than anything else!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
