<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule">

<channel>
	<title>wolfg&#039;s Weblog &#187; maven-eclipse-plugin</title>
	<atom:link href="http://guoyong.org/tag/maven-eclipse-plugin/feed" rel="self" type="application/rss+xml" />
	<link>http://guoyong.org</link>
	<description>wolfg&#039;s journey with open source, linux, programming, sysadm ...</description>
	<lastBuildDate>Thu, 04 Aug 2011 15:02:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.5/cn/</creativeCommons:license>		<item>
		<title>maven-eclipse-plugin v2.6与aspectj</title>
		<link>http://guoyong.org/2009/04/24/365</link>
		<comments>http://guoyong.org/2009/04/24/365#comments</comments>
		<pubDate>Fri, 24 Apr 2009 06:17:47 +0000</pubDate>
		<dc:creator>wolfg</dc:creator>
				<category><![CDATA[Dev]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[maven-eclipse-plugin]]></category>

		<guid isPermaLink="false">http://guoyong.org/?p=365</guid>
		<description><![CDATA[最近一段时间以来，项目中使用maven-eclipse-plugin的eclipse:eclipse目标时比较恼人。pom里已经加入了aspectj的依赖，但生成的.classpath里却没有相应的classpathentry。 今天google到了解决办法，有两个： 1. 强制使用上个版本的maven-eclipse-plugin &#60;groupId&#62;org.apache.maven.plugins&#60;/groupId&#62;&#160; &#60;artifactId&#62;maven-eclipse-plugin&#60;/artifactId&#62;&#160; &#60;version&#62;2.5.1&#60;/version&#62;&#60;/plugin&#62; 2. 设置ajdtVersion为none &#60;groupId&#62;org.apache.maven.plugins&#60;/groupId&#62;&#160; &#60;artifactId&#62;maven-eclipse-plugin&#60;/artifactId&#62;&#160; &#60;configuration&#62;&#160;&#160; &#160;&#60;ajdtVersion&#62;none&#60;/ajdtVersion&#62;&#160; &#60;/configuration&#62;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#60;/plugin&#62;]]></description>
			<content:encoded><![CDATA[<p>最近一段时间以来，项目中使用maven-eclipse-plugin的eclipse:eclipse目标时比较恼人。pom里已经加入了aspectj的依赖，但生成的.classpath里却没有相应的classpathentry。</p>
<p>今天google到了解决办法，有两个：</p>
<p>1. 强制使用上个版本的maven-eclipse-plugin</p>
<div class="hl-surround"><div class="hl-main"><span style="color: Olive;">&lt;</span><span style="color: Green;">groupId</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">org.apache.maven.plugins</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">groupId</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp; </span><span style="color: Olive;">&lt;</span><span style="color: Green;">artifactId</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">maven-eclipse-plugin</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">artifactId</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp; </span><span style="color: Olive;">&lt;</span><span style="color: Green;">version</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">2.5.1</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">version</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br /></span><span style="color: Olive;">&lt;/</span><span style="color: Green;">plugin</span><span style="color: Olive;">&gt;</span></div></div>
<p>2. 设置ajdtVersion为none</p>
<div class="hl-surround"><div class="hl-main"><span style="color: Olive;">&lt;</span><span style="color: Green;">groupId</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">org.apache.maven.plugins</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">groupId</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp; </span><span style="color: Olive;">&lt;</span><span style="color: Green;">artifactId</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">maven-eclipse-plugin</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">artifactId</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp; </span><span style="color: Olive;">&lt;</span><span style="color: Green;">configuration</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">ajdtVersion</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">none</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">ajdtVersion</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp; </span><span style="color: Olive;">&lt;/</span><span style="color: Green;">configuration</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br /></span><span style="color: Olive;">&lt;/</span><span style="color: Green;">plugin</span><span style="color: Olive;">&gt;</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://guoyong.org/2009/04/24/365/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

