<?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: creating attached maven artifacts with gmaven</title>
	<atom:link href="http://osi.fotap.org/2008/12/12/creating-attached-maven-artifacts-with-gmaven/feed/" rel="self" type="application/rss+xml" />
	<link>http://osi.fotap.org/2008/12/12/creating-attached-maven-artifacts-with-gmaven/</link>
	<description>my thoughts and my life. yes, another blog on the internet. who would have thought.</description>
	<lastBuildDate>Fri, 20 Aug 2010 01:20:23 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Wim Deblauwe</title>
		<link>http://osi.fotap.org/2008/12/12/creating-attached-maven-artifacts-with-gmaven/comment-page-1/#comment-7943</link>
		<dc:creator>Wim Deblauwe</dc:creator>
		<pubDate>Thu, 09 Jul 2009 13:59:22 +0000</pubDate>
		<guid isPermaLink="false">http://osi.fotap.org/?p=84#comment-7943</guid>
		<description>Hi, thanks for this. 

If you use Maven 2.2.0 and Gmaven 1.0-rc5, which are currently the last versions for each, then you need to replace

project.class.getDeclaredField(”original”).accessible = true
                                    helper.attachArtifact( project.original, “zip”, “asdoc”, asDocJar )


with

helper.attachArtifact( project.getDelegate(), &quot;zip&quot;, &quot;asdoc&quot;, asDocJar )

otherwise, you get the following error:

NoSuchFieldError: original


hope this helps someone avoiding my struggle :)

regards,

Wim</description>
		<content:encoded><![CDATA[<p>Hi, thanks for this. </p>
<p>If you use Maven 2.2.0 and Gmaven 1.0-rc5, which are currently the last versions for each, then you need to replace</p>
<p>project.class.getDeclaredField(”original”).accessible = true<br />
                                    helper.attachArtifact( project.original, “zip”, “asdoc”, asDocJar )</p>
<p>with</p>
<p>helper.attachArtifact( project.getDelegate(), &#8220;zip&#8221;, &#8220;asdoc&#8221;, asDocJar )</p>
<p>otherwise, you get the following error:</p>
<p>NoSuchFieldError: original</p>
<p>hope this helps someone avoiding my struggle <img src='http://osi.fotap.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>regards,</p>
<p>Wim</p>
]]></content:encoded>
	</item>
</channel>
</rss>
