<?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/"
	>

<channel>
	<title>Chris Johnston &#187; Wicket</title>
	<atom:link href="http://www.fuzzylizard.com/archives/category/wicket/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fuzzylizard.com</link>
	<description>Web development and design with a little VFX thrown in for fun</description>
	<lastBuildDate>Mon, 14 Sep 2009 23:06:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Wicket Phone Book and Maven 2</title>
		<link>http://www.fuzzylizard.com/archives/2008/01/21/919/</link>
		<comments>http://www.fuzzylizard.com/archives/2008/01/21/919/#comments</comments>
		<pubDate>Mon, 21 Jan 2008 06:07:41 +0000</pubDate>
		<dc:creator>Chris Johnston</dc:creator>
				<category><![CDATA[Application Development]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Java Frameworks]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Wicket]]></category>

		<guid isPermaLink="false">http://www.fuzzylizard.com/archives/2008/01/21/919/</guid>
		<description><![CDATA[This evening I tried to download and setup the wicket-phonebook example in Eclipse. The application uses Maven2, something I have not had a lot of experience working with. In the root directory of wicket-phonebook, there is a script called Eclipse.sh which configures everything as an Eclipse project. It also downloads into the Maven2 repository almost [...]]]></description>
			<content:encoded><![CDATA[<p>This evening I tried to download and setup the <a href="http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-phonebook">wicket-phonebook</a> example in Eclipse. The application uses Maven2, something I have not had a lot of experience working with. In the root directory of wicket-phonebook, there is a script called Eclipse.sh which configures everything as an Eclipse project. It also downloads into the Maven2 repository almost all the dependencies.</p>
<p>However, there are two steps that are not done:</p>
<ol>
<li>Set up the M2_REPO environment variable in Eclipse</li>
<li>Download and install JTA</li>
</ol>
<p>For the first, I found the following command:</p>
<pre>
mvn -Declipse.workspace=
<path_to_workspace> eclipse:add-maven-repo
</path_to_workspace></pre>
<p>And for the second problem, I found the answer on <a href="http://www.jugpadova.it/articles/2005/11/26/maven-2-spring-and-jta-depencies">JUGPadova website.</a> In short, the problem has to do with Sun&#8217;s licensing of some of their J2EE jar files. Once I downloaded the JTA.1.0.1B.jar file, the following command put it in place and took care of all remaining errors in my Eclipse project.</p>
<pre>
mvn install:install-file \
  -Dfile=./jta-1_0_1B-classes.zip \
  -DgroupId=javax.transaction \
  -DartifactId=jta -Dversion=1.0.1B \
  -Dpackaging=jar
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.fuzzylizard.com/archives/2008/01/21/919/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
