<?xml version="1.0" encoding="UTF-8"?>
<!--Generated by Squarespace Site Server v5.11.5 (http://www.squarespace.com/) on Sat, 31 Jul 2010 12:32:22 GMT--><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rss="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:cc="http://web.resource.org/cc/"><rss:channel rdf:about="http://blog.jadira.co.uk/blog/"><rss:title>Articles</rss:title><rss:link>http://blog.jadira.co.uk/blog/</rss:link><rss:description></rss:description><dc:language>en-GB</dc:language><dc:date>2010-07-31T12:32:22Z</dc:date><admin:generatorAgent rdf:resource="http://www.squarespace.com/">Squarespace Site Server v5.11.5 (http://www.squarespace.com/)</admin:generatorAgent><rss:items><rdf:Seq><rdf:li rdf:resource="http://blog.jadira.co.uk/blog/2010/7/15/release-user-type-for-joda-time-and-jsr-310-version-12.html"/><rdf:li rdf:resource="http://blog.jadira.co.uk/blog/2010/6/29/eclipse-helios.html"/><rdf:li rdf:resource="http://blog.jadira.co.uk/blog/2010/5/15/release-maven-dependency-navigator-version-10-beta-9.html"/><rdf:li rdf:resource="http://blog.jadira.co.uk/blog/2010/5/4/maven-sites-and-sourceforge.html"/><rdf:li rdf:resource="http://blog.jadira.co.uk/blog/2010/5/2/configuring-open-source-jta-transaction-managers-with-spring.html"/><rdf:li rdf:resource="http://blog.jadira.co.uk/blog/2010/5/1/javasqldate-types-and-the-offsetting-problem.html"/><rdf:li rdf:resource="http://blog.jadira.co.uk/blog/2010/4/25/testing-classes-using-javautildate-with-jmockit.html"/><rdf:li rdf:resource="http://blog.jadira.co.uk/blog/2010/4/22/release-user-type-for-jsr-310-version-10.html"/><rdf:li rdf:resource="http://blog.jadira.co.uk/blog/2010/1/5/java-decompiler.html"/><rdf:li rdf:resource="http://blog.jadira.co.uk/blog/2009/11/16/maven-resource-is-platform-dependent.html"/></rdf:Seq></rss:items></rss:channel><rss:item rdf:about="http://blog.jadira.co.uk/blog/2010/7/15/release-user-type-for-joda-time-and-jsr-310-version-12.html"><rss:title>Release: User Type for Joda Time and JSR 310 version 1.2</rss:title><rss:link>http://blog.jadira.co.uk/blog/2010/7/15/release-user-type-for-joda-time-and-jsr-310-version-12.html</rss:link><dc:creator>Chris</dc:creator><dc:date>2010-07-14T23:53:56Z</dc:date><dc:subject></dc:subject><content:encoded><![CDATA[<p>The 1.2 release of User Type has been produced.</p>
<p>To work around JSR 310 jars not yet being in Maven Central (as the specification is not yet finalised) this release is separated into Joda Time and JSR 310 jars. This means that Hibernate user types from the project for use with Joda Time can now be obtained from <a href="http://repo1.maven.org/maven2/org/jadira/usertype/usertype.jodatime/">Maven Central</a>. If you want the <a href="http://usertype.sourceforge.net/m2-repo/">JSR 310 compatible jar</a>, you can use the project's own Maven repository.</p>
<p>For more information, visit the <a href="http://usertype.sourceforge.net/">project pages</a> on Sourceforge</p>]]></content:encoded></rss:item><rss:item rdf:about="http://blog.jadira.co.uk/blog/2010/6/29/eclipse-helios.html"><rss:title>Eclipse Helios</rss:title><rss:link>http://blog.jadira.co.uk/blog/2010/6/29/eclipse-helios.html</rss:link><dc:creator>Chris</dc:creator><dc:date>2010-06-29T22:19:09Z</dc:date><dc:subject></dc:subject><content:encoded><![CDATA[<p><a href="http://www.eclipse.org/helios/">Eclipse Helios</a> is the simultaneous release of Eclipse 3.6 and a bundle of Eclipse projects.</p>
<p>This post updates my previous quick configuration howtos for Ganymede and Galileo, helping to quickly get up and running with essential Eclipse plugins. The Helios release is ready for use with many key thirdparty plugins already working, a much improved situation on the original release of Galileo. The recipe is for Windows - extrapolate as required.</p>
<p>1. Download Eclipse IDE for Java Developers (either eclipse-jee-helios-win32.zip for 32-bit Windows, or eclipse-java-helios-win32-x86_64.zip for 64-bit Windows). These can be found via <a href="http://www.eclipse.org/downloads/">http://www.eclipse.org/downloads/<br /><br /></a>2. Make a folder for Eclipse somewhere called 'Eclipse', and unzip the Eclipse SDK zip file to the parent folder. I typically create c:\Java\Eclipse and unzip to c:\Java<br /><br />3. Create a shortcut to Eclipse, for example:<br /><br />C:\Java\Eclipse\eclipse.exe -clean -vm "C:\Java\JSE6\bin" -vmargs -Xmx1536m -XX:MaxPermSize=256m <em><br /></em></p>
<p><em>or, potentially using Server VM / ergonomics:</em></p>
<p><em> </em>C:\Java\Eclipse\eclipse.exe -clean -vm "C:\Java\JSE6\bin" -vmargs -server -Dcom.sun.management.jmxremote -Xmx1536m -XX:MaxPermSize=256M -XX:+UseParallelGC -XX:+UseParallelOldGC<br /><br />(where the &lsquo;vm&rsquo; argument points to your appropriate Java runtime with Eclipse - this should be at least version 5.0 and should be 32-bit or 64-bit as appropriate).<br /><br />NB. Best practice is to point to a JDK rather than a JRE location.<br /><br />4. Next, search for new features using the Helios Updates (with "Show the latest version" selected).<br /><br />Pick the appropriate platform features - you can safely select everything. Typical selection could be Business Intelligence Reporting and Charting, Database Development, Programming Languages (Eclipse Java Development Tools, Eclipse XML Editors and Tools and JavaScript Development Tools), Test and Performance, Web XML and Java EE Development (excluding PHP Development Tools (PDT) SDK Feature).</p>
<p>Also, from the Mylyn for Eclipse Helios select all updates except C/C++ Development, Mylyn SDK and Mylyn WikiText SDK).</p>
<p>5. After restarting again, the following update sites can be used to add Mylyn Extras, AspectJ Developer Tools, SvnKit, SubClipse, M2 Eclipse, QuantumDB, PMD, Spring Tools Suite, JBoss Tools, and Log4E:</p>
<p>AJDT <a href="http://download.eclipse.org/tools/ajdt/36/update">http://download.eclipse.org/tools/ajdt/36/update</a></p>
<p>SvnKit <a href="http://eclipse.svnkit.com/1.3.x/">http://eclipse.svnkit.com/1.3.x/</a><br />SubClipse <a href="http://subclipse.tigris.org/update_1.6.x">http://subclipse.tigris.org/update_1.6.x</a></p>
<p>Eclipse GEF (for release 3.6.x select GEF, Zest and Draw2d only) <a href="http://download.eclipse.org/tools/gef/updates/releases/">http://download.eclipse.org/tools/gef/updates/releases/</a><a href="http://download.eclipse.org/tools/gef/updates/releases/"><strong><strong><acronym title="Releases (R)"></acronym></strong></strong></a><br />M2 Eclipse <a href="http://m2eclipse.sonatype.org/sites/m2e">http://m2eclipse.sonatype.org/sites/m2e</a><br />QuantumDB <a href="http://quantum.sourceforge.net/update-site">http://quantum.sourceforge.net/update-site</a><br />Qwickie <a href="http://qwickie.googlecode.com/svn/trunk/qwickie.updatesite/">http://qwickie.googlecode.com/svn/trunk/qwickie.updatesite/</a></p>
<p>JBoss Tools [DEV] <a href="http://download.jboss.org/jbosstools/updates/development/">http://download.jboss.org/jbosstools/updates/development/</a> (only Context and Dependency Injection Tools (all instances), Freemarker IDE (both instances), Hibernate  Tools (all instances), JBoss Tools RichFaces, JBossAS Tools, Seam Tools, XULRunner, TPTP Profile on JBoss Server, JBoss Tools RichFaces (both instances), JBossAS Tools (both instances), SeamTools (both instances), XULRunner (both instances)).<br /> then restart</p>
<p>PMD <a href="http://pmd.sourceforge.net/eclipse">http://pmd.sourceforge.net/eclipse</a> (only PMD for Eclipse 3)<br />Groovy <a href="http://dist.springsource.org/release/GRECLIPSE/e3.6/">http://dist.springsource.org/release/GRECLIPSE/e3.6/</a>&nbsp; (except SDK)<br />EclipseLink (JPA) <a href="http://download.eclipse.org/rt/eclipselink/updates/">http://download.eclipse.org/rt/eclipselink/updates/</a> <br />Eclipse Target Management Project (all except RSE WinCE Services and Examples &amp; SDKs) <a href="http://download.eclipse.org/dsdp/tm/updates/3.2">http://download.eclipse.org/dsdp/tm/updates/3.2</a><span style="text-decoration: underline;"><strong><br /></strong></span>Atlassian Connector (all except Atlassian Subversive Integration, Atlassian Perforce Integration and Dependencies) <a href="http://update.atlassian.com/atlassian-eclipse-plugin/e3.6">http://update.atlassian.com/atlassian-eclipse-plugin/e3.6</a><span style="text-decoration: underline;"><strong><br /></strong></span>then restart</p>
<p>SpringSource Tool Suite [DEV] (except for SpringIDE Core Developer Resources which cannot be installed) <a href="http://dist.springsource.com/milestone/TOOLS/update/e3.6">http://dist.springsource.com/milestone/TOOLS/update/e3.6</a><br />then restart<br /><br />Log4E <a href="http://log4e.jayefem.de/update">http://log4e.jayefem.de/update</a> (note that the free version cannot be installed using the update site)<br />Azzurri Clay <a href="http://www.azzurri.co.jp/eclipse/plugins">http://www.azzurri.co.jp/eclipse/plugins</a><br />JavaCC Plugin <a href="http://eclipse-javacc.sourceforge.net/">http://eclipse-javacc.sourceforge.net/</a><br /> then restart</p>
<p>Apache Directory Studio <a href="http://directory.apache.org/studio/update/1.x">http://directory.apache.org/studio/update/1.x</a><br />TestNG <a href="http://beust.com/eclipse">http://beust.com/eclipse</a><br />then restart<br /><br />6. Other interesting plugins you might want to consider could include:<br /><br />Checkstyle <a href="http://eclipse-cs.sourceforge.net/update/">http://eclipse-cs.sourceforge.net/update/</a><br />LogWatcher <a href="http://graysky.sourceforge.net/">http://graysky.sourceforge.net/</a><br />Color Editor <a href="http://www.gstaff.org/colorEditor/download.html">http://www.gstaff.org/colorEditor/download.html</a><br /><br />7. A couple of plugins are best installed by hand:<br /><br />Download Jar Class Finder version 2.1.0 from <a href="http://www.alphaworks.ibm.com/tech/jarclassfinder">http://www.alphaworks.ibm.com/tech/jarclassfinder</a>/download and copy the Jar to the Eclipse/dropins/plugins subdirectory.<br />Download Tarlog Plugin 1.4.0 from <a href="http://code.google.com/p/tarlog-plugins/">http://code.google.com/p/tarlog-plugins/</a> (I used tarlog.eclipse.plugins_1.4.2.jar) and copy the Jar to the Eclipse/dropins/plugins subdirectory.<br />Download Bnd from <a href="http://www.aqute.biz/Code/Download">http://www.aqute.biz/Code/Download</a> and copy the Jar to the Eclipse/dropins/plugins subdirectory.<br /><br />8. Configure eclipse.ini, for example, with the following:<br /><br />-startup<br />plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar<br />--launcher.library<br />plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100503<br />-product<br />org.eclipse.epp.package.java.product<br />--launcher.defaultAction<br />openFile<br />--launcher.XXMaxPermSize<br />256M<br />-showsplash<br />org.eclipse.platform<br />--launcher.XXMaxPermSize<br />256m<br />--launcher.defaultAction<br />openFile<br />-vmargs<br />-Dosgi.requiredJavaVersion=1.5<br />-Xms40m<br />-Xmx1536m</p>]]></content:encoded></rss:item><rss:item rdf:about="http://blog.jadira.co.uk/blog/2010/5/15/release-maven-dependency-navigator-version-10-beta-9.html"><rss:title>Release: Maven Dependency Navigator Version 1.0 beta 9</rss:title><rss:link>http://blog.jadira.co.uk/blog/2010/5/15/release-maven-dependency-navigator-version-10-beta-9.html</rss:link><dc:creator>Chris</dc:creator><dc:date>2010-05-15T08:16:07Z</dc:date><dc:subject></dc:subject><content:encoded><![CDATA[<p><a href="http://maven-navigator.sourceforge.net/">Maven Dependency Navigator</a> is a new Jadira project.</p>
<p>Maven Dependency Navigator provides a straightforward way to visualise and track Maven dependencies - including duplicate dependencies and conflicting versions.</p>
<p>The project builds on <a href="http://code.google.com/p/maven-dependency-browser/">Maven Dependency Browser</a>, a standalone Swing GUI which we've found to be especially useful in the Release Management and QA function. With Maven Dependency Browser being no longer maintained, we thought it would be useful to bring it up to date and start working on improving it, our goal being to provide a tool useful for visualising Maven builds for users who are not doing day to day development.</p>
<p>This release establishes the project on Sourceforge, and incorporates a new documentation site. The project is updated to be built with the current Maven release (2.2.1) and resolves an issue where groupId and version were not being correctly inherited in multi-module projects.</p>
<p><a href="https://sourceforge.net/projects/maven-navigator/files/">Download</a> Maven Dependency Navigator.</p>
<p><span class="full-image-block ssNonEditable"><span><img src="http://blog.jadira.co.uk/storage/mvn_dependency_navigator1.png?__SQUARESPACE_CACHEVERSION=1273911779907" alt="" /></span></span></p>]]></content:encoded></rss:item><rss:item rdf:about="http://blog.jadira.co.uk/blog/2010/5/4/maven-sites-and-sourceforge.html"><rss:title>Maven Sites and Sourceforge</rss:title><rss:link>http://blog.jadira.co.uk/blog/2010/5/4/maven-sites-and-sourceforge.html</rss:link><dc:creator>Chris</dc:creator><dc:date>2010-05-04T19:43:21Z</dc:date><dc:subject>Maven UML User Type Project</dc:subject><content:encoded><![CDATA[<p>The Maven site for the <a href="http://usertype.sourceforge.net/">User Type project</a> is now online. This site makes use of the excellent <a href="http://fluido-skin.googlecode.com/">Fluido Skin</a> which gives a cleaner, crisper look in comparison to the standard skin.</p>
<p>There's a huge amount of metrics and reporting plugged into the site generation, but some of the features are of particular interest.</p>
<p>Class diagram visualisations can be found throughout the Javadocs. These are generated using the <a href="http://www.umlgraph.org/">UML Graph</a> doclet, using the following example configuration (suitable for Java 5):</p>
<pre class="brush: xml">
			&lt;plugin&gt;
 				&lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
 				&lt;artifactId&gt;maven-javadoc-plugin&lt;/artifactId&gt;
 				&lt;version&gt;2.6.1&lt;/version&gt;
 				&lt;configuration&gt;
 					&lt;linksource&gt;true&lt;/linksource&gt;
 					&lt;links&gt;
 						&lt;link&gt;http://java.sun.com/j2se/1.5.0/docs/api/&lt;/link&gt;
 					&lt;/links&gt;
 					&lt;encoding&gt;UTF-8&lt;/encoding&gt;
 					&lt;executions&gt;
 						&lt;execution&gt;
 							&lt;id&gt;attach-javadocs&lt;/id&gt;
 							&lt;phase&gt;package&lt;/phase&gt;
 							&lt;goals&gt;
 								&lt;goal&gt;jar&lt;/goal&gt;
 							&lt;/goals&gt;
 						&lt;/execution&gt;
 					&lt;/executions&gt;
 					&lt;aggregate&gt;true&lt;/aggregate&gt;
 					&lt;doclet&gt;gr.spinellis.umlgraph.doclet.UmlGraphDoc&lt;/doclet&gt;
 					&lt;docletArtifact&gt;
 						&lt;groupId&gt;gr.spinellis&lt;/groupId&gt;
 						&lt;artifactId&gt;UmlGraph&lt;/artifactId&gt;
 						&lt;version&gt;4.6&lt;/version&gt;
 					&lt;/docletArtifact&gt;
 					&lt;additionalparam&gt;-attributes -enumconstants -enumerations -operations -types -visibility -inferrel -inferdep -hide (java.*)|(org.hibernate.*)|(org.joda.*)&lt;/additionalparam&gt;
 				&lt;/configuration&gt;
 			&lt;/plugin&gt;

</pre>
<p>The <a href="http://maven.apache.org/plugins/maven-enforcer-plugin/">enforcer plugin</a> is being used to require Java 5, and Maven 2.2.1 - to help guarantee that builds are reproducible. Together with these requirements, the use of commons-logging is prohibited. This is a great practice which helps ensure all logging is performed using <a href="http://www.slf4j.org/">SLF4J</a>:</p>
<pre class="brush: xml">
 			&lt;plugin&gt;
 				&lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
 				&lt;artifactId&gt;maven-enforcer-plugin&lt;/artifactId&gt;
 				&lt;version&gt;1.0-beta-1&lt;/version&gt;
 				&lt;executions&gt;
 					&lt;execution&gt;
 						&lt;id&gt;enforce-versions&lt;/id&gt;
 						&lt;goals&gt;
 							&lt;goal&gt;enforce&lt;/goal&gt;
 						&lt;/goals&gt;
 						&lt;configuration&gt;
 							&lt;rules&gt;
 								&lt;requireMavenVersion&gt;
 									&lt;version&gt;2.2.1&lt;/version&gt;
 								&lt;/requireMavenVersion&gt;
 								&lt;requireJavaVersion&gt;
 									&lt;version&gt;1.5.0&lt;/version&gt;
 								&lt;/requireJavaVersion&gt;
 								&lt;bannedDependencies&gt;
 									&lt;excludes&gt;
 										&lt;exclude&gt;commons-logging:*&lt;/exclude&gt;
 									&lt;/excludes&gt;
 								&lt;/bannedDependencies&gt;
 								&lt;requirePluginVersions&gt;
 									&lt;banLatest&gt;true&lt;/banLatest&gt;
 									&lt;banRelease&gt;true&lt;/banRelease&gt;
 									&lt;banSnapshots&gt;true&lt;/banSnapshots&gt;
 									&lt;unCheckedPluginList&gt;&lt;/unCheckedPluginList&gt;
 								&lt;/requirePluginVersions&gt;
 							&lt;/rules&gt;
 						&lt;/configuration&gt;
 					&lt;/execution&gt;
 				&lt;/executions&gt;
 			&lt;/plugin&gt;

</pre>
<p>You will also note that enforcer requires that exact versions are required for all utilised plugins. Again, this guarantees the reproducibility of builds.</p>
<p>Another point of interest is the use of toolchains. <a href="http://maven.apache.org/guides/mini/guide-using-toolchains.html">Toolchains</a> allows you to externalise the JDK under which Maven runs from the JDK used for building. This would be particularly relevant for a project using recent builds of Maven which require Java 5, but needing to build using an older JDK.</p>
<pre class="brush: xml">
			&lt;plugin&gt;
 				&lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
 				&lt;artifactId&gt;maven-toolchains-plugin&lt;/artifactId&gt;
 				&lt;version&gt;1.0&lt;/version&gt;
 				&lt;executions&gt;
 					&lt;execution&gt;
 						&lt;phase&gt;validate&lt;/phase&gt;
 						&lt;goals&gt;
 							&lt;goal&gt;toolchain&lt;/goal&gt;
 						&lt;/goals&gt;
 					&lt;/execution&gt;
 				&lt;/executions&gt;
 				&lt;configuration&gt;
 					&lt;toolchains&gt;
 						&lt;jdk&gt;
 							&lt;version&gt;5.0&lt;/version&gt;
 							&lt;vendor&gt;sun&lt;/vendor&gt;
 						&lt;/jdk&gt;
 					&lt;/toolchains&gt;
 			 	 &lt;/configuration&gt;
 			&lt;/plugin&gt;

</pre>
<p>Setting up a Maven site is surprisingly straightforward. A <a href="http://communitymapbuilder.org/display/MAVENUSER/MavenAndSourceforge?showComments=true">good howto guide</a> is available on CommunityMapBuilder, and the Maven documentation describes the steps that need to performed <a href="http://maven.apache.org/plugins/maven-site-plugin/examples/site-deploy-to-sourceforge.net.html">to enable a shell which can be used with <em>mvn site-deploy</em></a>. You must display the Sourceforge logo on your Maven site, which can be achieved by including a 'poweredBy' entry in the site.xml file:</p>
<pre class="brush: xml">
    &lt;poweredBy&gt;
        &lt;logo name=&quot;Hosted by SourceForge&quot; href=&quot;http://www.sourceforge.net/&quot; img=&quot;http://sourceforge.net/sflogo.php?group_id=16035&amp;amp;type=1&quot; /&gt;
        ...
    &lt;/poweredBy&gt;

</pre>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;">
<pre>			<span class="hl kwa">&lt;plugin&gt;</span><br /><span class="hl line"> </span>				<span class="hl kwa">&lt;groupId&gt;</span>org.apache.maven.plugins<span class="hl kwa">&lt;/groupId&gt;</span><br /><span class="hl line"> </span>				<span class="hl kwa">&lt;artifactId&gt;</span>maven-javadoc-plugin<span class="hl kwa">&lt;/artifactId&gt;</span><br /><span class="hl line"> </span>				<span class="hl kwa">&lt;version&gt;</span><span class="hl num">2.6.1</span><span class="hl kwa">&lt;/version&gt;</span><br /><span class="hl line"> </span>				<span class="hl kwa">&lt;configuration&gt;</span><br /><span class="hl line"> </span>					<span class="hl kwa">&lt;linksource&gt;</span>true<span class="hl kwa">&lt;/linksource&gt;</span><br /><span class="hl line"> </span>					<span class="hl kwa">&lt;links&gt;</span><br /><span class="hl line"> </span>						<span class="hl kwa">&lt;link&gt;</span>http://java.sun.com/j2se/<span class="hl num">1.5.0</span>/docs/api/<span class="hl kwa">&lt;/link&gt;</span><br /><span class="hl line"> </span>					<span class="hl kwa">&lt;/links&gt;</span><br /><span class="hl line"> </span>					<span class="hl kwa">&lt;encoding&gt;</span>UTF-<span class="hl num">8</span><span class="hl kwa">&lt;/encoding&gt;</span><br /><span class="hl line"> </span>					<span class="hl kwa">&lt;executions&gt;</span><br /><span class="hl line"> </span>						<span class="hl kwa">&lt;execution&gt;</span><br /><span class="hl line"> </span>							<span class="hl kwa">&lt;id&gt;</span>attach-javadocs<span class="hl kwa">&lt;/id&gt;</span><br /><span class="hl line"> </span>							<span class="hl kwa">&lt;phase&gt;</span>package<span class="hl kwa">&lt;/phase&gt;</span><br /><span class="hl line"> </span>							<span class="hl kwa">&lt;goals&gt;</span><br /><span class="hl line"> </span>								<span class="hl kwa">&lt;goal&gt;</span>jar<span class="hl kwa">&lt;/goal&gt;</span><br /><span class="hl line"> </span>							<span class="hl kwa">&lt;/goals&gt;</span><br /><span class="hl line"> </span>						<span class="hl kwa">&lt;/execution&gt;</span><br /><span class="hl line"> </span>					<span class="hl kwa">&lt;/executions&gt;</span><br /><span class="hl line"> </span>					<span class="hl kwa">&lt;aggregate&gt;</span>true<span class="hl kwa">&lt;/aggregate&gt;</span><br /><span class="hl line"> </span>					<span class="hl kwa">&lt;doclet&gt;</span>gr.spinellis.umlgraph.doclet.UmlGraphDoc<span class="hl kwa">&lt;/doclet&gt;</span><br /><span class="hl line"> </span>					<span class="hl kwa">&lt;docletArtifact&gt;</span><br /><span class="hl line"> </span>						<span class="hl kwa">&lt;groupId&gt;</span>gr.spinellis<span class="hl kwa">&lt;/groupId&gt;</span><br /><span class="hl line"> </span>						<span class="hl kwa">&lt;artifactId&gt;</span>UmlGraph<span class="hl kwa">&lt;/artifactId&gt;</span><br /><span class="hl line"> </span>						<span class="hl kwa">&lt;version&gt;</span><span class="hl num">4.6</span><span class="hl kwa">&lt;/version&gt;</span><br /><span class="hl line"> </span>					<span class="hl kwa">&lt;/docletArtifact&gt;</span><br /><span class="hl line"> </span>					<span class="hl kwa">&lt;additionalparam&gt;</span>-attributes -enumconstants -enumerations -operations -types -visibility -inferrel -inferdep -hide (java.*)|(org.hibernate.*)|(org.joda.*)<span class="hl kwa">&lt;/additionalparam&gt;</span><br /><span class="hl line"> </span>				<span class="hl kwa">&lt;/configuration&gt;</span><br /><span class="hl line"> </span>			<span class="hl kwa">&lt;/plugin&gt;</span></pre>
</div>]]></content:encoded></rss:item><rss:item rdf:about="http://blog.jadira.co.uk/blog/2010/5/2/configuring-open-source-jta-transaction-managers-with-spring.html"><rss:title>Configuring Open Source JTA Transaction Managers with Spring</rss:title><rss:link>http://blog.jadira.co.uk/blog/2010/5/2/configuring-open-source-jta-transaction-managers-with-spring.html</rss:link><dc:creator>Chris</dc:creator><dc:date>2010-05-02T20:23:29Z</dc:date><dc:subject>Spring Transactions</dc:subject><content:encoded><![CDATA[<p>This blog post records in one place the Spring configuration required for each of the four most commonly used open source standalone transaction managers:</p>
<p>For <a href="http://www.jboss.org/jbosstm">Arjuna / JBossTS</a>, apply the following configuration.:</p>
<pre class="brush: xml">
&lt;bean id=&quot;jbossTS&quot;  class=&quot;com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionManagerImple&quot;  /&gt;
&lt;bean id=&quot;jbossUserTransaction&quot;  
    class=&quot;com.arjuna.ats.internal.jta.transaction.arjunacore.UserTransactionImple&quot;  /&gt;

&lt;bean id=&quot;txManager&quot; class=&quot;org.springframework.transaction.jta.JtaTransactionManager&quot;&gt;
    &lt;property name=&quot;transactionManager&quot; ref=&quot;jbossTS&quot; /&gt;
    &lt;property name=&quot;userTransaction&quot; ref=&quot;jbossUserTransaction&quot;  /&gt;
&lt;/bean&gt;    
</pre>
<p>For <a href="http://jotm.objectweb.org/">JOTM</a>, apply the following:</p>
<pre class="brush: xml">
&lt;bean id=&quot;jotm&quot; class=&quot;org.springframework.transaction.jta.JotmFactoryBean&quot; /&gt;
&lt;bean id=&quot;txManager&quot; class=&quot;org.springframework.transaction.jta.JtaTransactionManager&quot;&gt;
    &lt;property name=&quot;userTransaction&quot; ref=&quot;jotm&quot; /&gt;
    &lt;property name=&quot;allowCustomIsolationLevels&quot; value=&quot;true&quot; /&gt;
&lt;/bean&gt;
</pre>
<p>For <a href="http://www.atomikos.com/">Atomikos</a>, the following configuration can be used:</p>
<pre class="brush: xml">
&lt;bean id=&quot;atomikos&quot; class=&quot;com.atomikos.icatch.jta.UserTransactionManager&quot;  
    init-method=&quot;init&quot; destroy-method=&quot;close&quot;&gt;
   &lt;property name=&quot;forceShutdown&quot; value=&quot;false&quot; /&gt;
&lt;/bean&gt;

&lt;bean id=&quot;atomikosUserTransaction&quot; class=&quot;com.atomikos.icatch.jta.UserTransactionImp&quot;&gt;
   &lt;property name=&quot;transactionTimeout&quot; value=&quot;300&quot; /&gt;
&lt;/bean&gt;

&lt;bean id=&quot;txManager&quot; class=&quot;org.springframework.transaction.jta.JtaTransactionManager&quot;&gt;
   &lt;property name=&quot;transactionManager&quot; ref=&quot;atomikos&quot; /&gt;
   &lt;property name=&quot;userTransaction&quot; ref=&quot;AtomikosUserTransaction&quot; /&gt;
&lt;/bean&gt;
</pre>
<p>Finally, for <a href="http://docs.codehaus.org/display/BTM/Home">Bitronix</a> you can use the following:</p>
<pre class="brush: xml">
&lt;bean id=&quot;bitronixConfig&quot; factory-method=&quot;getConfiguration&quot; 
    class=&quot;bitronix.tm.TransactionManagerServices&quot;&gt;
    &lt;property name=&quot;serverId&quot; value=&quot;spring-btm&quot; /&gt;
&lt;/bean&gt;
&lt;bean id=&quot;bitronix&quot; factory-method=&quot;getTransactionManager&quot;
    class=&quot;bitronix.tm.TransactionManagerServices&quot; depends-on=&quot;bitronixConfig&quot; 
    destroy-method=&quot;shutdown&quot; /&gt;
&lt;bean id=&quot;txManager&quot; class=&quot;org.springframework.transaction.jta.JtaTransactionManager&quot;&gt;
    &lt;property name=&quot;transactionManager&quot; ref=&quot;bitronix&quot; /&gt;
    &lt;property name=&quot;userTransaction&quot; ref=&quot;bitronix&quot; /&gt;
&lt;/bean&gt;
</pre>]]></content:encoded></rss:item><rss:item rdf:about="http://blog.jadira.co.uk/blog/2010/5/1/javasqldate-types-and-the-offsetting-problem.html"><rss:title>java.sql.Date Type(s) and the Offsetting Problem</rss:title><rss:link>http://blog.jadira.co.uk/blog/2010/5/1/javasqldate-types-and-the-offsetting-problem.html</rss:link><dc:creator>Chris</dc:creator><dc:date>2010-05-01T05:55:41Z</dc:date><dc:subject>Hibernate JSR 310 Joda Time User Type Project</dc:subject><content:encoded><![CDATA[<p>the rationale:</p>
<blockquote>
<p>The JDBC API follows the Java platform’s approach of representing dates and times as a millisecond value relative to January 1, 1970 00:00:00 GMT. Since most datab</p>
</blockquote>]]></content:encoded></rss:item><rss:item rdf:about="http://blog.jadira.co.uk/blog/2010/4/25/testing-classes-using-javautildate-with-jmockit.html"><rss:title>Testing Classes using java.util.Date with JMockit</rss:title><rss:link>http://blog.jadira.co.uk/blog/2010/4/25/testing-classes-using-javautildate-with-jmockit.html</rss:link><dc:creator>Chris</dc:creator><dc:date>2010-04-25T17:41:11Z</dc:date><dc:subject>JUnit</dc:subject><content:encoded><![CDATA[<p>A great article on LShift Ltd's blog discusses using <a href="https://jmockit.dev.java.net/">JMockit</a> to mock out <a href="http://www.lshift.net/blog/2009/12/06/testing-times-in-java#comments">System.currentTimeMillis():</a></p>
<pre class="brush: java">
@MockClass(realClass = System.class)
public class MockSystem {
    private Calendar now = null;

    public MockSystem(Calendar now) {
        this.now = now;
    }

    @Mock
    public long currentTimeMillis() {
        return now.getTimeInMillis();
    }
}
</pre>]]></content:encoded></rss:item><rss:item rdf:about="http://blog.jadira.co.uk/blog/2010/4/22/release-user-type-for-jsr-310-version-10.html"><rss:title>Release: User Type for JSR 310 Version 1.0</rss:title><rss:link>http://blog.jadira.co.uk/blog/2010/4/22/release-user-type-for-jsr-310-version-10.html</rss:link><dc:creator>Chris</dc:creator><dc:date>2010-04-22T22:04:27Z</dc:date><dc:subject>Hibernate JSR 310 User Type Project</dc:subject><content:encoded><![CDATA[<p>Announcing <span style="text-decoration: underline;"><strong>User Type</strong></span>, our Apache 2.0 licensed library of additional capabilities for working with Hibernate, Relase 1.0 of which contains User Types for use with Hibernate and JSR 310. These have been tested, where relevant to ensure you can read data written by Joda Time Hibernate using this library.</p>
<p>To download the release and to find out more, visit <a href="http://usertype.sourceforge.net/">http://usertype.sourceforge.net/</a></p>]]></content:encoded></rss:item><rss:item rdf:about="http://blog.jadira.co.uk/blog/2010/1/5/java-decompiler.html"><rss:title>Java Decompiler</rss:title><rss:link>http://blog.jadira.co.uk/blog/2010/1/5/java-decompiler.html</rss:link><dc:creator>Chris</dc:creator><dc:date>2010-01-05T22:19:23Z</dc:date><dc:subject>Compilers</dc:subject><content:encoded><![CDATA[<p>Many years ago, JAD, the Java Decompiler was released and caused quite a stir, as it made trivial obtaining readable Java sources from Java class files. The author of JAD resolved not to maintain it however, and as new releases of Java have been made JAD was not updated for interoperability.</p>
<p>Enter the <a href="http://java.decompiler.free.fr/">Java Decompiler Project</a>. The project Provides a core decompiler, Eclipse plugin and standalone GUI. The releases are interoperable through all current releases of the Java compiler from 1.1.8 to 1.6.0.&nbsp;</p>]]></content:encoded></rss:item><rss:item rdf:about="http://blog.jadira.co.uk/blog/2009/11/16/maven-resource-is-platform-dependent.html"><rss:title>Maven: Resource is Platform Dependent</rss:title><rss:link>http://blog.jadira.co.uk/blog/2009/11/16/maven-resource-is-platform-dependent.html</rss:link><dc:creator>Chris</dc:creator><dc:date>2009-11-16T22:17:51Z</dc:date><dc:subject>Maven</dc:subject><content:encoded><![CDATA[<p>The following error was being emitted by the resources plugin using Maven 2.2.0:</p>
<p style="padding-left: 30px;">[INFO] [resources:testResources {execution: default-testResources}]<br />[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!</p>
<p>This warning is a hint to update your pom with an encoding to be used. For example:</p>
<pre class="brush: xml">
&lt;project&gt;
  ...
  &lt;properties&gt;
    &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
    ...
  &lt;/properties&gt;
  ...
&lt;/project&gt;
</pre>
<p>This setting is applied across all plugins (in builds of Maven prior to 2.1.0 encoding was required to be set on a per plugin basis).</p>
<p>More details are available here: <a rel="nofollow" href="http://docs.codehaus.org/display/MAVENUSER/POM+Element+for+Source+File+Encoding">http://docs.codehaus.org/display/MAVENUSER/POM+Element+for+Source+File+Encoding</a>.</p>]]></content:encoded></rss:item></rdf:RDF>