<?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: A &#8216;LegUp&#8217; for new Java projects</title>
	<atom:link href="http://richard-wilkinson.co.uk/2009/10/07/a-legup-for-new-java-projects/feed/" rel="self" type="application/rss+xml" />
	<link>http://richard-wilkinson.co.uk/2009/10/07/a-legup-for-new-java-projects/</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Sat, 31 Jul 2010 11:42:21 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Peter</title>
		<link>http://richard-wilkinson.co.uk/2009/10/07/a-legup-for-new-java-projects/#comment-6909</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Sun, 17 Jan 2010 17:57:58 +0000</pubDate>
		<guid isPermaLink="false">http://richard-wilkinson.co.uk/?p=74#comment-6909</guid>
		<description>ok, thanks + no problem... without that line he says:
"Must specify a Configuration when using localhost server mode. For starters, try: bind(Configuration.class).toInstance(Db4o.newConfiguration());"

:-)</description>
		<content:encoded><![CDATA[<p>ok, thanks + no problem&#8230; without that line he says:<br />
&#8220;Must specify a Configuration when using localhost server mode. For starters, try: bind(Configuration.class).toInstance(Db4o.newConfiguration());&#8221;</p>
<p> <img src='http://richard-wilkinson.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://richard-wilkinson.co.uk/2009/10/07/a-legup-for-new-java-projects/#comment-6908</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Sun, 17 Jan 2010 17:00:59 +0000</pubDate>
		<guid isPermaLink="false">http://richard-wilkinson.co.uk/?p=74#comment-6908</guid>
		<description>Hi Peter, 

Sorry I don't have any experience with db4o.  The only thing I can think is that the warp page on the db40 module (http://www.wideplay.com/webextensions%3A%3Ajpaintegration22) does seem to not show :

Configuration config = Db4o.newConfiguration();
bind(Configuration.class).toInstance(config);

Thanks,

Richard</description>
		<content:encoded><![CDATA[<p>Hi Peter, </p>
<p>Sorry I don&#8217;t have any experience with db4o.  The only thing I can think is that the warp page on the db40 module (http://www.wideplay.com/webextensions%3A%3Ajpaintegration22) does seem to not show :</p>
<p>Configuration config = Db4o.newConfiguration();<br />
bind(Configuration.class).toInstance(config);</p>
<p>Thanks,</p>
<p>Richard</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://richard-wilkinson.co.uk/2009/10/07/a-legup-for-new-java-projects/#comment-6906</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Sun, 17 Jan 2010 16:22:38 +0000</pubDate>
		<guid isPermaLink="false">http://richard-wilkinson.co.uk/?p=74#comment-6906</guid>
		<description>forgot to say that this test project is available here:

https://timefinder.svn.sourceforge.net/svnroot/timefinder/branches/timefinderwicket

You will need to start the db4o server via Db4oServer before executing tests or the webapp.

The warp persist 2.0-20090214 project is located here:

http://warp-persist.googlecode.com/svn/tags/20090214/warp-persist/dist/warp-persist-2.0-20090214.zip</description>
		<content:encoded><![CDATA[<p>forgot to say that this test project is available here:</p>
<p><a href="https://timefinder.svn.sourceforge.net/svnroot/timefinder/branches/timefinderwicket" rel="nofollow">https://timefinder.svn.sourceforge.net/svnroot/timefinder/branches/timefinderwicket</a></p>
<p>You will need to start the db4o server via Db4oServer before executing tests or the webapp.</p>
<p>The warp persist 2.0-20090214 project is located here:</p>
<p><a href="http://warp-persist.googlecode.com/svn/tags/20090214/warp-persist/dist/warp-persist-2.0-20090214.zip" rel="nofollow">http://warp-persist.googlecode.com/svn/tags/20090214/warp-persist/dist/warp-persist-2.0-20090214.zip</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://richard-wilkinson.co.uk/2009/10/07/a-legup-for-new-java-projects/#comment-6905</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Sun, 17 Jan 2010 16:14:08 +0000</pubDate>
		<guid isPermaLink="false">http://richard-wilkinson.co.uk/?p=74#comment-6905</guid>
		<description>I am using the following template:
Apache Wicket 1.4, Google Guice 1.0, Warp Persist 1.0 and JPA 1.0

After this it works fine and I updated to
warp persist 2.0-20090214 and google guice 2.0. I had to change the filter according to this information:

http://www.atomicgamer.com/dev/2009/10/wicket-guice-2-0-warp-persist-2-0/

Then I moved to db4o where I had to insert a 'deleteAll' in test-setup before all tests passed.

But now if I want to run the webapp I get:

java.lang.IllegalArgumentException: Configuration already used.
        at com.db4o.internal.Config4Impl.assertIsNotTainted(Config4Impl.java:1094)
        at com.db4o.cs.internal.config.LegacyClientServerFactoryImpl.openClient(LegacyClientServerFactoryImpl.java:24)
        at com.db4o.Db4o.openClient(Db4o.java:152)
        at com.wideplay.warp.persist.db4o.Db4oInternalWorkManager.beginWork(Db4oInternalWorkManager.java:50)
        at com.wideplay.warp.persist.db4o.Db4oInternalWorkManager.beginWork(Db4oInternalWorkManager.java:28)
        at com.wideplay.warp.persist.db4o.Db4oWorkManager.beginWork(Db4oWorkManager.java:34)
        at com.wideplay.warp.persist.PersistenceFilter$1$1.start(PersistenceFilter.java:90)
        at com.wideplay.warp.persist.internal.Lifecycles.failEarly(Lifecycles.java:39)
        at com.wideplay.warp.persist.internal.Lifecycles.failEarlyAndLeaveNoOneBehind(Lifecycles.java:27)
        at com.wideplay.warp.persist.PersistenceFilter.doFilter(PersistenceFilter.java:155)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148)




Do you have any suggestions?

Here is the guice setup snippet, called in Module.configure():



 install(PersistenceService.usingDb4o().across(UnitOfWork.REQUEST).
                forAll(Matchers.any(), Matchers.annotatedWith(Transactional.class)).buildModule());

        bind(EventDao.class).to(EventDaoDb4o.class);

        Configuration config = Db4o.newConfiguration();
        bind(Configuration.class).toInstance(config);

        bindConstant().annotatedWith(Names.named(Db4Objects.HOST)).to(Db4oServer.HOST);
        bindConstant().annotatedWith(Names.named(Db4Objects.PORT)).to(Db4oServer.PORT);
        bindConstant().annotatedWith(Names.named(Db4Objects.USER)).to(Db4oServer.USER);
        bindConstant().annotatedWith(Names.named(Db4Objects.PASSWORD)).to(Db4oServer.PASSWORD);</description>
		<content:encoded><![CDATA[<p>I am using the following template:<br />
Apache Wicket 1.4, Google Guice 1.0, Warp Persist 1.0 and JPA 1.0</p>
<p>After this it works fine and I updated to<br />
warp persist 2.0-20090214 and google guice 2.0. I had to change the filter according to this information:</p>
<p><a href="http://www.atomicgamer.com/dev/2009/10/wicket-guice-2-0-warp-persist-2-0/" rel="nofollow">http://www.atomicgamer.com/dev/2009/10/wicket-guice-2-0-warp-persist-2-0/</a></p>
<p>Then I moved to db4o where I had to insert a &#8216;deleteAll&#8217; in test-setup before all tests passed.</p>
<p>But now if I want to run the webapp I get:</p>
<p>java.lang.IllegalArgumentException: Configuration already used.<br />
        at com.db4o.internal.Config4Impl.assertIsNotTainted(Config4Impl.java:1094)<br />
        at com.db4o.cs.internal.config.LegacyClientServerFactoryImpl.openClient(LegacyClientServerFactoryImpl.java:24)<br />
        at com.db4o.Db4o.openClient(Db4o.java:152)<br />
        at com.wideplay.warp.persist.db4o.Db4oInternalWorkManager.beginWork(Db4oInternalWorkManager.java:50)<br />
        at com.wideplay.warp.persist.db4o.Db4oInternalWorkManager.beginWork(Db4oInternalWorkManager.java:28)<br />
        at com.wideplay.warp.persist.db4o.Db4oWorkManager.beginWork(Db4oWorkManager.java:34)<br />
        at com.wideplay.warp.persist.PersistenceFilter$1$1.start(PersistenceFilter.java:90)<br />
        at com.wideplay.warp.persist.internal.Lifecycles.failEarly(Lifecycles.java:39)<br />
        at com.wideplay.warp.persist.internal.Lifecycles.failEarlyAndLeaveNoOneBehind(Lifecycles.java:27)<br />
        at com.wideplay.warp.persist.PersistenceFilter.doFilter(PersistenceFilter.java:155)<br />
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148)</p>
<p>Do you have any suggestions?</p>
<p>Here is the guice setup snippet, called in Module.configure():</p>
<p> install(PersistenceService.usingDb4o().across(UnitOfWork.REQUEST).<br />
                forAll(Matchers.any(), Matchers.annotatedWith(Transactional.class)).buildModule());</p>
<p>        bind(EventDao.class).to(EventDaoDb4o.class);</p>
<p>        Configuration config = Db4o.newConfiguration();<br />
        bind(Configuration.class).toInstance(config);</p>
<p>        bindConstant().annotatedWith(Names.named(Db4Objects.HOST)).to(Db4oServer.HOST);<br />
        bindConstant().annotatedWith(Names.named(Db4Objects.PORT)).to(Db4oServer.PORT);<br />
        bindConstant().annotatedWith(Names.named(Db4Objects.USER)).to(Db4oServer.USER);<br />
        bindConstant().annotatedWith(Names.named(Db4Objects.PASSWORD)).to(Db4oServer.PASSWORD);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daily del.icio.us for October 2nd through October 13th &#124; Vinny Carpenter's blog</title>
		<link>http://richard-wilkinson.co.uk/2009/10/07/a-legup-for-new-java-projects/#comment-5823</link>
		<dc:creator>Daily del.icio.us for October 2nd through October 13th &#124; Vinny Carpenter's blog</dc:creator>
		<pubDate>Wed, 14 Oct 2009 00:02:04 +0000</pubDate>
		<guid isPermaLink="false">http://richard-wilkinson.co.uk/?p=74#comment-5823</guid>
		<description>[...] A &#8216;LegUp&#8217; for new Java projects &#124; Richard Wilkinson's Blog &#8211; LegUp is a collection of free, open source (Apache 2 licensed) Maven 2 archetypes, and a web based configuration tool provided by jWeekend. It allows you to choose from different combinations of popular Java technologies (Apache Wicket, Spring, Google Guice, JPA, Hibernate, Warp Persist) to allow you to get up and running quickly and easily [...]</description>
		<content:encoded><![CDATA[<p>[...] A &lsquo;LegUp&rsquo; for new Java projects | Richard Wilkinson&#8217;s Blog &#8211; LegUp is a collection of free, open source (Apache 2 licensed) Maven 2 archetypes, and a web based configuration tool provided by jWeekend. It allows you to choose from different combinations of popular Java technologies (Apache Wicket, Spring, Google Guice, JPA, Hibernate, Warp Persist) to allow you to get up and running quickly and easily [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cemal</title>
		<link>http://richard-wilkinson.co.uk/2009/10/07/a-legup-for-new-java-projects/#comment-5785</link>
		<dc:creator>Cemal</dc:creator>
		<pubDate>Sun, 11 Oct 2009 16:42:45 +0000</pubDate>
		<guid isPermaLink="false">http://richard-wilkinson.co.uk/?p=74#comment-5785</guid>
		<description>Dave,

See http://www.nabble.com/forum/ViewPost.jtp?post=25844727&#38;framed=y

Regards - Cemal
jWeekend
OO &#38; Java Technologies, Wicket Training and Development 
http://jWeekend.com</description>
		<content:encoded><![CDATA[<p>Dave,</p>
<p>See <a href="http://www.nabble.com/forum/ViewPost.jtp?post=25844727&amp;framed=y" rel="nofollow">http://www.nabble.com/forum/ViewPost.jtp?post=25844727&amp;framed=y</a></p>
<p>Regards - Cemal<br />
jWeekend<br />
OO &amp; Java Technologies, Wicket Training and Development<br />
<a href="http://jWeekend.com" rel="nofollow">http://jWeekend.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://richard-wilkinson.co.uk/2009/10/07/a-legup-for-new-java-projects/#comment-5784</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Sun, 11 Oct 2009 16:17:19 +0000</pubDate>
		<guid isPermaLink="false">http://richard-wilkinson.co.uk/?p=74#comment-5784</guid>
		<description>Brilliant idea! 
I saved many boring hours after I read your nice article and took the simple Leg Up! Thanks so much, it could not be more easy. Because maven is new for me but getting started is easy like this.

But no glass-fish &#38; wicket? jboss? jeronimo? jee 5 is not bad such Wicket guy thinks (ok, j2ee is quite horrible) and jee app server world could enjoy to have quick, easy experiment of Wicket for web tier, and, maybe reverse also for a Wicket guy :-)

@Dave - I did make project for spring, jpa and also wicket, spring from Leg Up on debian 5 and vista at office and Mac OSX at my home with Java 5 and maven 2.1.0 (what did you try?). Did you try your installed maven with other archetype (http://wicket.apache.org/quickstart). Is your .m2 folder clean - move it and and try again also. I did no try Java 6 with this but I think it will not be the problem.</description>
		<content:encoded><![CDATA[<p>Brilliant idea!<br />
I saved many boring hours after I read your nice article and took the simple Leg Up! Thanks so much, it could not be more easy. Because maven is new for me but getting started is easy like this.</p>
<p>But no glass-fish &amp; wicket? jboss? jeronimo? jee 5 is not bad such Wicket guy thinks (ok, j2ee is quite horrible) and jee app server world could enjoy to have quick, easy experiment of Wicket for web tier, and, maybe reverse also for a Wicket guy <img src='http://richard-wilkinson.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>@Dave - I did make project for spring, jpa and also wicket, spring from Leg Up on debian 5 and vista at office and Mac OSX at my home with Java 5 and maven 2.1.0 (what did you try?). Did you try your installed maven with other archetype (http://wicket.apache.org/quickstart). Is your .m2 folder clean - move it and and try again also. I did no try Java 6 with this but I think it will not be the problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://richard-wilkinson.co.uk/2009/10/07/a-legup-for-new-java-projects/#comment-5778</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Sat, 10 Oct 2009 10:00:58 +0000</pubDate>
		<guid isPermaLink="false">http://richard-wilkinson.co.uk/?p=74#comment-5778</guid>
		<description>I just ran the same command and it worked fine, what version of maven are you using?

Can you try changing this bit of the command line:
-DarchetypeCatalog=http://legup.googlecode.com/svn/repo/archetype-catalog.xml

to this:
-DarchetypeCatalog=http://legup.googlecode.com/svn/repo

and let me know if it works.</description>
		<content:encoded><![CDATA[<p>I just ran the same command and it worked fine, what version of maven are you using?</p>
<p>Can you try changing this bit of the command line:<br />
-DarchetypeCatalog=http://legup.googlecode.com/svn/repo/archetype-catalog.xml</p>
<p>to this:<br />
-DarchetypeCatalog=http://legup.googlecode.com/svn/repo</p>
<p>and let me know if it works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://richard-wilkinson.co.uk/2009/10/07/a-legup-for-new-java-projects/#comment-5775</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Fri, 09 Oct 2009 19:17:03 +0000</pubDate>
		<guid isPermaLink="false">http://richard-wilkinson.co.uk/?p=74#comment-5775</guid>
		<description>I tried to generate a project, and got the following error:

 $ mvn archetype:generate -B -DarchetypeCatalog=http://legup.googlecode.com/svn
/repo/archetype-catalog.xml -DarchetypeArtifactId=wicket-spring-jpa-archetype -
DarchetypeGroupId=com.jweekend -DarchetypeVersion=0.8.0 -DgroupId=com.mycompany -
DartifactId=myproject -Dversion=1.0-SNAPSHOT -Dpackage=com.mycompany
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]    task-segment: [archetype:generate] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] Preparing archetype:generate
[INFO] No goals needed for project - skipping
[INFO] Setting property: classpath.resource.loader.class =&#62; 'org.codehaus.plexus
.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on =&#62; 'false'.
[INFO] Setting property: resource.loader =&#62; 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound =&#62; 'false'.
[INFO] [archetype:generate {execution: default-cli}]
[INFO] Generating project in Batch mode
[WARNING] Error reading archetype catalog http://legup.googlecode.com/svn/repo/a
rchetype-catalog.xml
org.apache.maven.wagon.ResourceDoesNotExistException: Unable to locate resource
in repository
        at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputD
ata(LightweightHttpWagon.java:139)
        at org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:11
6)
        at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)
        at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)
        at org.apache.maven.archetype.source.RemoteCatalogArchetypeDataSource.ge
tArchetypeCatalog(RemoteCatalogArchetypeDataSource.java:74)
        at org.apache.maven.archetype.DefaultArchetype.getRemoteCatalog(DefaultA
rchetype.java:203)
        at org.apache.maven.archetype.ui.DefaultArchetypeSelector.getArchetypesB
yCatalog(DefaultArchetypeSelector.java:249)
        at org.apache.maven.archetype.ui.DefaultArchetypeSelector.selectArchetyp
e(DefaultArchetypeSelector.java:74)
        at org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo.execu
te(CreateProjectFromArchetypeMojo.java:180)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:490)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:694)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
Goal(DefaultLifecycleExecutor.java:569)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:539)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:387)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:284)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:180)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:6
0)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: java.io.FileNotFoundException: http://legup.googlecode.com/svn/repo/a
rchetype-catalog.xml/archetype-catalog.xml
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.j
ava:1298)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpU
RLConnection.java:1292)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:948)
        at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputD
ata(LightweightHttpWagon.java:122)
        ... 27 more
Caused by: java.io.FileNotFoundException: http://legup.googlecode.com/svn/repo/a
rchetype-catalog.xml/archetype-catalog.xml
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:1243)
        at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373
)
        at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputD
ata(LightweightHttpWagon.java:115)
        ... 27 more
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] : java.lang.NullPointerException

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Fri Oct 09 13:11:16 MDT 2009
[INFO] Final Memory: 8M/15M
[INFO] ------------------------------------------------------------------------
 $</description>
		<content:encoded><![CDATA[<p>I tried to generate a project, and got the following error:</p>
<p> $ mvn archetype:generate -B -DarchetypeCatalog=http://legup.googlecode.com/svn<br />
/repo/archetype-catalog.xml -DarchetypeArtifactId=wicket-spring-jpa-archetype -<br />
DarchetypeGroupId=com.jweekend -DarchetypeVersion=0.8.0 -DgroupId=com.mycompany -<br />
DartifactId=myproject -Dversion=1.0-SNAPSHOT -Dpackage=com.mycompany<br />
[INFO] Scanning for projects&#8230;<br />
[INFO] Searching repository for plugin with prefix: &#8216;archetype&#8217;.<br />
[INFO] &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
[INFO] Building Maven Default Project<br />
[INFO]    task-segment: [archetype:generate] (aggregator-style)<br />
[INFO] &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
[INFO] Preparing archetype:generate<br />
[INFO] No goals needed for project - skipping<br />
[INFO] Setting property: classpath.resource.loader.class =&gt; &#8216;org.codehaus.plexus<br />
.velocity.ContextClassLoaderResourceLoader&#8217;.<br />
[INFO] Setting property: velocimacro.messages.on =&gt; &#8216;false&#8217;.<br />
[INFO] Setting property: resource.loader =&gt; &#8216;classpath&#8217;.<br />
[INFO] Setting property: resource.manager.logwhenfound =&gt; &#8216;false&#8217;.<br />
[INFO] [archetype:generate {execution: default-cli}]<br />
[INFO] Generating project in Batch mode<br />
[WARNING] Error reading archetype catalog <a href="http://legup.googlecode.com/svn/repo/a" rel="nofollow">http://legup.googlecode.com/svn/repo/a</a><br />
rchetype-catalog.xml<br />
org.apache.maven.wagon.ResourceDoesNotExistException: Unable to locate resource<br />
in repository<br />
        at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputD<br />
ata(LightweightHttpWagon.java:139)<br />
        at org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:11<br />
6)<br />
        at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)<br />
        at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)<br />
        at org.apache.maven.archetype.source.RemoteCatalogArchetypeDataSource.ge<br />
tArchetypeCatalog(RemoteCatalogArchetypeDataSource.java:74)<br />
        at org.apache.maven.archetype.DefaultArchetype.getRemoteCatalog(DefaultA<br />
rchetype.java:203)<br />
        at org.apache.maven.archetype.ui.DefaultArchetypeSelector.getArchetypesB<br />
yCatalog(DefaultArchetypeSelector.java:249)<br />
        at org.apache.maven.archetype.ui.DefaultArchetypeSelector.selectArchetyp<br />
e(DefaultArchetypeSelector.java:74)<br />
        at org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo.execu<br />
te(CreateProjectFromArchetypeMojo.java:180)<br />
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi<br />
nManager.java:490)<br />
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa<br />
ultLifecycleExecutor.java:694)<br />
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone<br />
Goal(DefaultLifecycleExecutor.java:569)<br />
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau<br />
ltLifecycleExecutor.java:539)<br />
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan<br />
dleFailures(DefaultLifecycleExecutor.java:387)<br />
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen<br />
ts(DefaultLifecycleExecutor.java:284)<br />
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi<br />
fecycleExecutor.java:180)<br />
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)<br />
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)<br />
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)<br />
        at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:6<br />
0)<br />
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.<br />
java:39)<br />
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces<br />
sorImpl.java:25)<br />
        at java.lang.reflect.Method.invoke(Method.java:597)<br />
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)<br />
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)<br />
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)</p>
<p>        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)<br />
Caused by: java.io.FileNotFoundException: <a href="http://legup.googlecode.com/svn/repo/a" rel="nofollow">http://legup.googlecode.com/svn/repo/a</a><br />
rchetype-catalog.xml/archetype-catalog.xml<br />
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)</p>
<p>        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct<br />
orAccessorImpl.java:39)<br />
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC<br />
onstructorAccessorImpl.java:27)<br />
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)<br />
        at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.j<br />
ava:1298)<br />
        at java.security.AccessController.doPrivileged(Native Method)<br />
        at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpU<br />
RLConnection.java:1292)<br />
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon<br />
nection.java:948)<br />
        at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputD<br />
ata(LightweightHttpWagon.java:122)<br />
        &#8230; 27 more<br />
Caused by: java.io.FileNotFoundException: <a href="http://legup.googlecode.com/svn/repo/a" rel="nofollow">http://legup.googlecode.com/svn/repo/a</a><br />
rchetype-catalog.xml/archetype-catalog.xml<br />
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon<br />
nection.java:1243)<br />
        at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373<br />
)<br />
        at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputD<br />
ata(LightweightHttpWagon.java:115)<br />
        &#8230; 27 more<br />
[INFO] &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
[ERROR] BUILD FAILURE<br />
[INFO] &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
[INFO] : java.lang.NullPointerException</p>
<p>[INFO] &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
[INFO] For more information, run Maven with the -e switch<br />
[INFO] &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
[INFO] Total time: 7 seconds<br />
[INFO] Finished at: Fri Oct 09 13:11:16 MDT 2009<br />
[INFO] Final Memory: 8M/15M<br />
[INFO] &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
 $</p>
]]></content:encoded>
	</item>
</channel>
</rss>
