<?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/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>offTheHill &#187; maven</title>
	<atom:link href="http://www.offthehill.org/articles/tag/maven/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.offthehill.org</link>
	<description>tech, motorsports, and the occasional artwork</description>
	<lastBuildDate>Wed, 05 May 2010 23:39:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<!-- podcast_generator="podPress/8.8" - maintenance_release="8.8.4" -->
		<copyright>2006-2007 </copyright>
		<managingEditor>josh@offthehill.org (offTheHill)</managingEditor>
		<webMaster>josh@offthehill.org (offTheHill)</webMaster>
		<category>posts</category>
		<itunes:keywords></itunes:keywords>
		<itunes:subtitle></itunes:subtitle>
		<itunes:summary>Babbling my way across the Internet</itunes:summary>
		<itunes:author>offTheHill</itunes:author>
		<itunes:category text="Society &amp; Culture"/>
		<itunes:owner>
			<itunes:name>offTheHill</itunes:name>
			<itunes:email>josh@offthehill.org</itunes:email>
		</itunes:owner>
		<itunes:block>No</itunes:block>
		<itunes:explicit>no</itunes:explicit>
		<itunes:image href="http://www.offthehill.org/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<image>
			<url>http://www.offthehill.org/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
			<title>offTheHill</title>
			<link>http://www.offthehill.org</link>
			<width>144</width>
			<height>144</height>
		</image>
		<item>
		<title>A-Star Search in Clojure</title>
		<link>http://www.offthehill.org/articles/2009/10/16/a-star-search-in-clojure/</link>
		<comments>http://www.offthehill.org/articles/2009/10/16/a-star-search-in-clojure/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 21:45:20 +0000</pubDate>
		<dc:creator>pardsbane</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[a*]]></category>
		<category><![CDATA[a-star]]></category>
		<category><![CDATA[astar]]></category>
		<category><![CDATA[astar-in-clojure]]></category>
		<category><![CDATA[clojure]]></category>
		<category><![CDATA[functional programming]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[maven]]></category>

		<guid isPermaLink="false">http://www.offthehill.org/?p=167</guid>
		<description><![CDATA[A demo of A-Star search implemented in Clojure, bootstrapped through Java with a Maven build system.]]></description>
			<content:encoded><![CDATA[	<p>I wanted to refresh my knowledge of functional programming, A-Star search, and I figured learning <a title="Clojure homepage" href="http://www.clojure.org" target="_blank">Clojure</a> at the same time couldn&#8217;t hurt. I figured I&#8217;d do all three at once, and throw in a health dose of Maven and Java at the same time.</p>

	<p>This project was intended to:<br />
<ol>
	<li>Refresh myself on how to do functional programming</li>
	<li>Refresh my knowledge of A* search</li>
	<li>Help me learn Clojure</li>
	<li>Demonstrate Java interoperating with Clojure</li>
	<li>Demonstrate Maven as a viable build system for Clojure</li><br />
</ol><br />
<a href="http://www.offthehill.org/wp-content/uploads/2009/10/astar.zip">Download The Demo Here</a></p>

	<p>Once downloaded, unzip the zip file and open a terminal.</p>

	<p>You now have three options:</p>

	<p><strong>Review the Source Code</strong></p>

	<p>The meat of the code is all in Clojure, here:</p>

	<p><em>src/main/resources/com/example/clap/astar.clj</em></p>

	<p>There is a bit of boot-strap Java code in the following file, but I can&#8217;t say its all that interesting:</p>

	<p><em>src/main/java/com/example/clap/App.java</em></p>

	<p><strong>Running from Source</strong></p>

	<p>If you are on a Mac, or you already have Maven and Java installed, just run the following:</p>

	<p><em>cd astar &amp;&amp; mvn test</em></p>

	<p>Maven will download all the needed packages and then compiled and execute the demo.</p>

	<p><strong>Running from Binary</strong></p>

	<p>If you are on Linux, or have cygwin installed on Windows, you can run the following:</p>

	<p><em>cd astar/bin/ &amp;&amp; ./run-astar</em></p>]]></content:encoded>
			<wfw:commentRss>http://www.offthehill.org/articles/2009/10/16/a-star-search-in-clojure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using JOGL as a Dependency in Maven</title>
		<link>http://www.offthehill.org/articles/2009/09/08/using-jogl-as-a-dependency-in-maven/</link>
		<comments>http://www.offthehill.org/articles/2009/09/08/using-jogl-as-a-dependency-in-maven/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 19:14:04 +0000</pubDate>
		<dc:creator>pardsbane</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jogl]]></category>
		<category><![CDATA[maven]]></category>

		<guid isPermaLink="false">http://www.offthehill.org/?p=161</guid>
		<description><![CDATA[	At work, we need to start using JOGL as a dependency of our project, which we build with Maven. JOGL, the Java OpenGL interface, uses platform specific binaries, which introduces some complexity to the build process.

	After a brief websearch, I found the appropriately titled using-jogl-as-dependency-in-maven, unfortunately, it appears to be a private blog, so I [...]]]></description>
			<content:encoded><![CDATA[	<p>At work, we need to start using <span class="caps">JOGL</span> as a dependency of our project, which we build with Maven. <span class="caps">JOGL</span>, the Java OpenGL interface, uses platform specific binaries, which introduces some complexity to the build process.</p>

	<p>After a brief websearch, I found the appropriately titled <a href="http://tastyimportant.blogspot.com/2008/11/using-jogl-as-dependency-in-maven.html" target="_blank">using-jogl-as-dependency-in-maven</a>, unfortunately, it appears to be a private blog, so I can&#8217;t see if the information is useful or not.</p>

	<p>I did find on <a href="http://www.mvnbrowser.com/artifacts-browse.html?groupId=net.java.dev.jogl" target="_blank">mvnbrowser.com</a> that jogl-1.1.1-rc6 (as of this writing) is on the dev.java.net Maven2 repository, but I couldn&#8217;t find a usage guide.</p>

	<p>Oh well, I&#8217;ll keep looking. For now its not a hugely pressing issue, so the one developer who is using has just hacked his Eclipse setup.</p>]]></content:encoded>
			<wfw:commentRss>http://www.offthehill.org/articles/2009/09/08/using-jogl-as-a-dependency-in-maven/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Maven to create a Mac OS X app bundle</title>
		<link>http://www.offthehill.org/articles/2007/11/05/using-maven-to-create-a-mac-os-x-app-bundle/</link>
		<comments>http://www.offthehill.org/articles/2007/11/05/using-maven-to-create-a-mac-os-x-app-bundle/#comments</comments>
		<pubDate>Mon, 05 Nov 2007 20:57:24 +0000</pubDate>
		<dc:creator>pardsbane</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://www.offthehill.org/articles/2007/11/05/using-maven-to-create-a-mac-os-x-app-bundle/</guid>
		<description><![CDATA[	I came across this post and this Maven plugin today. Call me cynical, but I was shocked when it worked out of the box, building our application as a Mac friendly .app which can be run with a double click.

	To test it out, all I did was change into our application&#8217;s trunk directory and ran:

	mvn [...]]]></description>
			<content:encoded><![CDATA[	<p>I came across <a href="http://simplericity.com/2007/09/19/1190234671861.html">this post</a> and <a href="http://mojo.codehaus.org/osxappbundle-maven-plugin/">this Maven plugin</a> today. Call me cynical, but I was shocked when it worked out of the box, building our application as a Mac friendly .app which can be run with a double click.</p>

	<p>To test it out, all I did was change into our application&#8217;s trunk directory and ran:</p>

	<p><code>mvn package osxappbundle:bundle -DmainClass=com.mypkg.MyMain</code></p>

	<p>And it worked!</p>

	<p>So I extended integrated it into our pom.xml with the following. Now whenever our app is packaged on a Mac, in addition to the other artifacts, an .app, .dmg, and .zip of the My App tool will be created.</p>

<pre>
&#60;profiles&#62;
   ....
        &#60;profile&#62;
            &#60;id&#62;package-osx-bundle&#60;/id&#62;
            &#60;activation&#62;
                &#60;os&#62;
                    &#60;family&#62;mac&#60;/family&#62;
                &#60;/os&#62;
            &#60;/activation&#62;
            &#60;build&#62;
                &#60;plugins&#62;
                    &#60;plugin&#62;
                        &#60;groupId&#62;org.codehaus.mojo&#60;/groupId&#62;
                        &#60;artifactId&#62;osxappbundle-maven-plugin&#60;/artifactId&#62;
                        &#60;configuration&#62;
                            &#60;mainClass&#62;com.mypkg.MyMain&#60;/mainClass&#62;
                            &#60;bundleName&#62;My App&#60;/bundleName&#62;
                            &#60;jvmVersion&#62;1.5+&#60;/jvmVersion&#62;
                        &#60;/configuration&#62;
                        &#60;executions&#62;
                            &#60;execution&#62;
                                &#60;phase&#62;package&#60;/phase&#62;
                                &#60;!-- append to the packaging phase. --&#62;
                                &#60;goals&#62;
                                    &#60;goal&#62;bundle&#60;/goal&#62;
                                &#60;/goals&#62;
                            &#60;/execution&#62;
                        &#60;/executions&#62;
                    &#60;/plugin&#62;
                &#60;/plugins&#62;
            &#60;/build&#62;
        &#60;/profile&#62;
    &#60;/profiles&#62;
</pre>]]></content:encoded>
			<wfw:commentRss>http://www.offthehill.org/articles/2007/11/05/using-maven-to-create-a-mac-os-x-app-bundle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Maven with Eclipse</title>
		<link>http://www.offthehill.org/articles/2007/09/05/using-maven-with-eclipse/</link>
		<comments>http://www.offthehill.org/articles/2007/09/05/using-maven-with-eclipse/#comments</comments>
		<pubDate>Wed, 05 Sep 2007 15:22:24 +0000</pubDate>
		<dc:creator>pardsbane</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[devlopment]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[maven]]></category>

		<guid isPermaLink="false">291186314</guid>
		<description><![CDATA[	I uninstalled M2Eclipse and installed q4e and gave it a shot. All the core functionality seems to be there (dependancy management is the big one for me) and importing from a project pom seems to work (although It didn&#8217;t seem to import a multilayer project, I had to import each module separately, but thats ok [...]]]></description>
			<content:encoded><![CDATA[	<p>I uninstalled <a href="http://m2eclipse.codehaus.org/">M2Eclipse</a> and installed <a href="http://code.google.com/p/q4e/">q4e</a> and gave it a shot. All the core functionality seems to be there (dependancy management is the big one for me) and importing from a project pom seems to work (although It didn&#8217;t seem to import a multilayer project, I had to import each module separately, but thats ok for me).</p>

	<p>Its nice to add dependancies manually, although I&#8217;d like to see a dependancy search page like m2eclipse has and a place to cut and paste dependancy <span class="caps">XML</span> chunks (I use mvnrepository.com a lot). The dependancy graph is a nice feature although the controls on the side seem a bit buggy.</p>

	<p>A pom view somewhat like the built in Ant view would be nice, where I can double click a phase or a plugin:goal and run it, although I understand it might make sense to be able to manually which goals / phases appear in the workspace.</p>

	<p>So far so good, I hope the m2eclipse and q4eclipse projects can work together in the future.</p>]]></content:encoded>
			<wfw:commentRss>http://www.offthehill.org/articles/2007/09/05/using-maven-with-eclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
