<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Making a Maven Archetype</title>
	<atom:link href="http://ninomartinez.wordpress.com/2008/09/03/making-a-maven-archetype/feed/" rel="self" type="application/rss+xml" />
	<link>http://ninomartinez.wordpress.com/2008/09/03/making-a-maven-archetype/</link>
	<description>TechBlog about Wicket, Persistence, IOC and Java</description>
	<lastBuildDate>Fri, 09 Oct 2009 07:41:07 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Maven Troubles</title>
		<link>http://ninomartinez.wordpress.com/2008/09/03/making-a-maven-archetype/#comment-56</link>
		<dc:creator>Maven Troubles</dc:creator>
		<pubDate>Thu, 12 Mar 2009 21:42:08 +0000</pubDate>
		<guid isPermaLink="false">http://ninomartinez.wordpress.com/?p=58#comment-56</guid>
		<description>[...] as per Nino Martinez&#039;s tip I used mvn archetype:create-from-project to attempt to create an archetype from my example [...]</description>
		<content:encoded><![CDATA[<p>[...] as per Nino Martinez&#8217;s tip I used mvn archetype:create-from-project to attempt to create an archetype from my example [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yang</title>
		<link>http://ninomartinez.wordpress.com/2008/09/03/making-a-maven-archetype/#comment-50</link>
		<dc:creator>Yang</dc:creator>
		<pubDate>Tue, 24 Feb 2009 12:59:02 +0000</pubDate>
		<guid isPermaLink="false">http://ninomartinez.wordpress.com/?p=58#comment-50</guid>
		<description>I got the same error, but resolved when using newer version of archetype plugin.

try 2.0-alpha-4 of maven-archetype-plugin by specifying the version in pom.xml

  
    
      
        maven-archetype-plugin
        2.0-alpha-4
      
    
  </description>
		<content:encoded><![CDATA[<p>I got the same error, but resolved when using newer version of archetype plugin.</p>
<p>try 2.0-alpha-4 of maven-archetype-plugin by specifying the version in pom.xml</p>
<p>        maven-archetype-plugin<br />
        2.0-alpha-4</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ninomartinez</title>
		<link>http://ninomartinez.wordpress.com/2008/09/03/making-a-maven-archetype/#comment-46</link>
		<dc:creator>ninomartinez</dc:creator>
		<pubDate>Sun, 25 Jan 2009 18:22:46 +0000</pubDate>
		<guid isPermaLink="false">http://ninomartinez.wordpress.com/?p=58#comment-46</guid>
		<description>Hmm that&#039;s a bit wierd, what kind of project are it, war / jar or?

But notice that both problems are actually only INFO&#039;s...</description>
		<content:encoded><![CDATA[<p>Hmm that&#8217;s a bit wierd, what kind of project are it, war / jar or?</p>
<p>But notice that both problems are actually only INFO&#8217;s&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elwyn</title>
		<link>http://ninomartinez.wordpress.com/2008/09/03/making-a-maven-archetype/#comment-45</link>
		<dc:creator>Elwyn</dc:creator>
		<pubDate>Sat, 17 Jan 2009 10:08:19 +0000</pubDate>
		<guid isPermaLink="false">http://ninomartinez.wordpress.com/?p=58#comment-45</guid>
		<description>Hi Nino,

Great tip here, thanks.

I have encountered a couple of problems when trying to follow the steps above and I wonder if you have any pointers on how to resolve things.

Firstly, when running mvn archetype:create-from-project I get the following error.

...

[INFO] Cannot create archetype from this project.

Embedded error: /home/emalethan/work/zzmalethan_blog/seemorej-hibernate-archetype-template/src/main/archetype/archetype.properties (No such file or directory)

...

When I add this file (empty, btw) I get a much bigger error, as follows.


...[INFO] [archetype:create-from-project]
java.lang.NullPointerException
	at org.apache.oro.text.regex.Perl5Compiler.compile(Perl5Compiler.java:1954)
	at org.apache.maven.archetype.FilteringCopier.copy(FilteringCopier.java:83)
	at org.apache.maven.archetype.FileUtils.copyFile(FileUtils.java:797)
	at org.apache.maven.archetype.FileUtils.copyFileToDirectory(FileUtils.java:749)

...

I can&#039;t find much by Googling. I&#039;d be grateful for any pointers?

Cheers

E</description>
		<content:encoded><![CDATA[<p>Hi Nino,</p>
<p>Great tip here, thanks.</p>
<p>I have encountered a couple of problems when trying to follow the steps above and I wonder if you have any pointers on how to resolve things.</p>
<p>Firstly, when running mvn archetype:create-from-project I get the following error.</p>
<p>&#8230;</p>
<p>[INFO] Cannot create archetype from this project.</p>
<p>Embedded error: /home/emalethan/work/zzmalethan_blog/seemorej-hibernate-archetype-template/src/main/archetype/archetype.properties (No such file or directory)</p>
<p>&#8230;</p>
<p>When I add this file (empty, btw) I get a much bigger error, as follows.</p>
<p>&#8230;[INFO] [archetype:create-from-project]<br />
java.lang.NullPointerException<br />
	at org.apache.oro.text.regex.Perl5Compiler.compile(Perl5Compiler.java:1954)<br />
	at org.apache.maven.archetype.FilteringCopier.copy(FilteringCopier.java:83)<br />
	at org.apache.maven.archetype.FileUtils.copyFile(FileUtils.java:797)<br />
	at org.apache.maven.archetype.FileUtils.copyFileToDirectory(FileUtils.java:749)</p>
<p>&#8230;</p>
<p>I can&#8217;t find much by Googling. I&#8217;d be grateful for any pointers?</p>
<p>Cheers</p>
<p>E</p>
]]></content:encoded>
	</item>
</channel>
</rss>
