<?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>Bit Mojo - Hiram Chirino &#187; checksum maven-plugin</title>
	<atom:link href="http://hiramchirino.com/blog/tag/checksum-maven-plugin/feed/" rel="self" type="application/rss+xml" />
	<link>http://hiramchirino.com/blog</link>
	<description>My Ramblings on Hawt Tech</description>
	<lastBuildDate>Fri, 03 Feb 2012 14:25:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>New Checksum Plugin</title>
		<link>http://hiramchirino.com/blog/2008/08/new-checksum-plugin/</link>
		<comments>http://hiramchirino.com/blog/2008/08/new-checksum-plugin/#comments</comments>
		<pubDate>Sat, 02 Aug 2008 15:18:00 +0000</pubDate>
		<dc:creator>Hiram Chirino</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[checksum maven-plugin]]></category>

		<guid isPermaLink="false">http://hiramchirino.com/wordpress/2008/08/new-checksum-plugin/</guid>
		<description><![CDATA[So in my last post I was suggesting making it easier to include dependency checksums as part of a maven build. I decided that it should be simple enough to implement this as a Maven Plugin. For those of you interested, you can get the source to the new Checksum Plugin here. The basic problem [...]]]></description>
			<content:encoded><![CDATA[<p>So in <a href="http://hiramchirino.com/blog/2008/07/comments-on-maven-repository-security.html">my last post</a> I was suggesting making it easier to include dependency checksums as part of a maven build.  I decided that it should be simple enough to implement this as a Maven Plugin.  For those of you interested, you can get the source to the <a href="https://svn.apache.org/repos/asf/servicemix/maven-plugins/checksum-maven-plugin/trunk" onclick="pageTracker._trackPageview('/outgoing/svn.apache.org/repos/asf/servicemix/maven-plugins/checksum-maven-plugin/trunk?referer=');">new Checksum Plugin here</a>.</p>
<p>The basic problem the plugin is trying to solve is that it is possible that central repositories get hacked and the artifacts/dependencies of our builds get replaced with<br />malicious versions.  Right now we have no way to easily detect that<br />and we could potential create a release build of a project which<br />bundles one of those malicious dependencies.  In practice this rarely<br />occurs, but it&#8217;s not out of the realm of possibilities. </p>
<p>Basically the plugin supports generating a checksum.txt file that is included as part of the project build. This file holds all the checksums for the dependencies (including the dependencies&#8217; pom checksum).  Generating/updating is induced via the use of a maven profile.  This is only done when dependencies get updated.</p>
<p>In a normal build the plugin just validates the checksums of the downloaded dependencies against those stored in the checksum.txt file.</p>
<p>I wish I could move up the validation of the dependencies from their current maven life cycle locations, but it seems you can&#8217;t get the list of dependencies it gets moved up any more.  Any maven mojo hackers have any work arounds for that?</p>
]]></content:encoded>
			<wfw:commentRss>http://hiramchirino.com/blog/2008/08/new-checksum-plugin/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

