<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Adding Googles GData Java API to your maven repository</title>
	<atom:link href="http://www.techbits.de/2009/08/06/adding-googles-gdata-java-api-to-your-maven-repository/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techbits.de/2009/08/06/adding-googles-gdata-java-api-to-your-maven-repository/</link>
	<description>thoughts on hardware, software, development and tech news</description>
	<lastBuildDate>Tue, 27 Jul 2010 17:38:33 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: tom</title>
		<link>http://www.techbits.de/2009/08/06/adding-googles-gdata-java-api-to-your-maven-repository/comment-page-1/#comment-67510</link>
		<dc:creator>tom</dc:creator>
		<pubDate>Tue, 27 Jul 2010 17:38:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.techbits.de/?p=181#comment-67510</guid>
		<description>ahghgh...those &quot;while()&quot; blocks above should be &quot;while(&lt;cmd&gt;)&quot;</description>
		<content:encoded><![CDATA[<p>ahghgh&#8230;those &#8220;while()&#8221; blocks above should be &#8220;while(&lt;cmd&gt;)&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tom</title>
		<link>http://www.techbits.de/2009/08/06/adding-googles-gdata-java-api-to-your-maven-repository/comment-page-1/#comment-67509</link>
		<dc:creator>tom</dc:creator>
		<pubDate>Tue, 27 Jul 2010 17:37:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.techbits.de/?p=181#comment-67509</guid>
		<description>Here&#039;s another variant on the windows theme, but for those *nix/osx inclined.  Assuming you grab the &quot;gdata-java.xxx.zip&quot; file from http://code.google.com/p/gdata-java-client/downloads/list, here&#039;s a couple scripts I wrote to help install those from their exploded location into your company&#039;s repo:

{code}
install.pl
#!/usr/bin/perl -w

my $artifactId=$ARGV[0];
my $version=$ARGV[1];
my $jar=$ARGV[2];
die &quot;must supply artifactId, version and jar on command line&quot; unless ($artifactId &amp;&amp; $version &amp;&amp; $jar);

my $cmd = &quot;/usr/share/maven-2.1.0/bin/mvn deploy:deploy-file -DgroupId=com.google.gdata -DartifactId=$artifactId -Dversion=$version -Dfile=$jar -Dpackaging=jar -DgeneratePom=true -Durl=file:/// -Drepository=&quot;;
print &quot;executing command = $cmd\n&quot;;
open(CMD, &quot;$cmd&#124;&quot;) or die &quot;Could not exec $cmd $!&quot;;
while() {
    print $_;
}
close(CMD);

{code}

installall.pl
{code}
#!/usr/bin/perl -w

my @jars = `ls *.jar`;
chomp(@jars);
foreach my $jar (@jars) {
    #print &quot;found jar $jar\n&quot;;
    if($jar =~ /(.*)-(\d\.\d)\.jar/) {
        #print &quot;\tartifact is $1 and version is $2\n&quot;;
        my $cmd = &quot;./install.pl $1 $2 $jar&quot;;
        open(CMD, &quot;$cmd&#124;&quot;) or die &quot;Could not execute $cmd $!&quot;;
        while() {
            print $_;
        }
        close(CMD);
    }
}

{code}</description>
		<content:encoded><![CDATA[<p>Here&#8217;s another variant on the windows theme, but for those *nix/osx inclined.  Assuming you grab the &#8220;gdata-java.xxx.zip&#8221; file from <a href="http://code.google.com/p/gdata-java-client/downloads/list" rel="nofollow">http://code.google.com/p/gdata-java-client/downloads/list</a>, here&#8217;s a couple scripts I wrote to help install those from their exploded location into your company&#8217;s repo:</p>
<p>{code}<br />
install.pl<br />
#!/usr/bin/perl -w</p>
<p>my $artifactId=$ARGV[0];<br />
my $version=$ARGV[1];<br />
my $jar=$ARGV[2];<br />
die &#8220;must supply artifactId, version and jar on command line&#8221; unless ($artifactId &amp;&amp; $version &amp;&amp; $jar);</p>
<p>my $cmd = &#8220;/usr/share/maven-2.1.0/bin/mvn deploy:deploy-file -DgroupId=com.google.gdata -DartifactId=$artifactId -Dversion=$version -Dfile=$jar -Dpackaging=jar -DgeneratePom=true -Durl=file:/// -Drepository=&#8221;;<br />
print &#8220;executing command = $cmd\n&#8221;;<br />
open(CMD, &#8220;$cmd|&#8221;) or die &#8220;Could not exec $cmd $!&#8221;;<br />
while() {<br />
    print $_;<br />
}<br />
close(CMD);</p>
<p>{code}</p>
<p>installall.pl<br />
{code}<br />
#!/usr/bin/perl -w</p>
<p>my @jars = `ls *.jar`;<br />
chomp(@jars);<br />
foreach my $jar (@jars) {<br />
    #print &#8220;found jar $jar\n&#8221;;<br />
    if($jar =~ /(.*)-(\d\.\d)\.jar/) {<br />
        #print &#8220;\tartifact is $1 and version is $2\n&#8221;;<br />
        my $cmd = &#8220;./install.pl $1 $2 $jar&#8221;;<br />
        open(CMD, &#8220;$cmd|&#8221;) or die &#8220;Could not execute $cmd $!&#8221;;<br />
        while() {<br />
            print $_;<br />
        }<br />
        close(CMD);<br />
    }<br />
}</p>
<p>{code}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pascal</title>
		<link>http://www.techbits.de/2009/08/06/adding-googles-gdata-java-api-to-your-maven-repository/comment-page-1/#comment-65985</link>
		<dc:creator>pascal</dc:creator>
		<pubDate>Thu, 10 Jun 2010 22:12:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.techbits.de/?p=181#comment-65985</guid>
		<description>Hello,
I have pushed a bit further my gdata maven repository stored on google code http://code.google.com/p/mandubian-mvn following David Carter idea based on Tattletale to extract dependencies and generate the Poms automatically. I have also added a Nexus Index to this repository and version up to 1.41.3 are currently mavenized! Have fun! Pascal</description>
		<content:encoded><![CDATA[<p>Hello,<br />
I have pushed a bit further my gdata maven repository stored on google code <a href="http://code.google.com/p/mandubian-mvn" rel="nofollow">http://code.google.com/p/mandubian-mvn</a> following David Carter idea based on Tattletale to extract dependencies and generate the Poms automatically. I have also added a Nexus Index to this repository and version up to 1.41.3 are currently mavenized! Have fun! Pascal</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sjuxqttejto</title>
		<link>http://www.techbits.de/2009/08/06/adding-googles-gdata-java-api-to-your-maven-repository/comment-page-1/#comment-63084</link>
		<dc:creator>sjuxqttejto</dc:creator>
		<pubDate>Wed, 05 May 2010 13:06:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.techbits.de/?p=181#comment-63084</guid>
		<description>lHeygi  &lt;a href=&quot;http://aviwjxlscizi.com/&quot; rel=&quot;nofollow&quot;&gt;aviwjxlscizi&lt;/a&gt;, [url=http://pdluwefftgts.com/]pdluwefftgts[/url], [link=http://ptvpnlfmoiih.com/]ptvpnlfmoiih[/link], http://fvyljilkslff.com/</description>
		<content:encoded><![CDATA[<p>lHeygi  <a href="http://aviwjxlscizi.com/" rel="nofollow">aviwjxlscizi</a>, [url=http://pdluwefftgts.com/]pdluwefftgts[/url], [link=http://ptvpnlfmoiih.com/]ptvpnlfmoiih[/link], <a href="http://fvyljilkslff.com/" rel="nofollow">http://fvyljilkslff.com/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NotATroll</title>
		<link>http://www.techbits.de/2009/08/06/adding-googles-gdata-java-api-to-your-maven-repository/comment-page-1/#comment-59799</link>
		<dc:creator>NotATroll</dc:creator>
		<pubDate>Fri, 16 Apr 2010 14:45:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.techbits.de/?p=181#comment-59799</guid>
		<description>An even better solution would be to stop using Maven at all.</description>
		<content:encoded><![CDATA[<p>An even better solution would be to stop using Maven at all.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dcarter</title>
		<link>http://www.techbits.de/2009/08/06/adding-googles-gdata-java-api-to-your-maven-repository/comment-page-1/#comment-57837</link>
		<dc:creator>dcarter</dc:creator>
		<pubDate>Mon, 29 Mar 2010 01:58:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.techbits.de/?p=181#comment-57837</guid>
		<description>Take a look at this project: http://github.com/dcarter/Google-Data-APIs-Mavenized  It contains a script to generate poms with full dependency information for all the gdata jars, and instructions for using the jars/poms that are hosted on a Sonatype public repository. Soon the project will be syncing these artifacts to the Maven central repo.</description>
		<content:encoded><![CDATA[<p>Take a look at this project: <a href="http://github.com/dcarter/Google-Data-APIs-Mavenized" rel="nofollow">http://github.com/dcarter/Google-Data-APIs-Mavenized</a>  It contains a script to generate poms with full dependency information for all the gdata jars, and instructions for using the jars/poms that are hosted on a Sonatype public repository. Soon the project will be syncing these artifacts to the Maven central repo.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mogi</title>
		<link>http://www.techbits.de/2009/08/06/adding-googles-gdata-java-api-to-your-maven-repository/comment-page-1/#comment-54903</link>
		<dc:creator>mogi</dc:creator>
		<pubDate>Sat, 06 Mar 2010 09:33:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.techbits.de/?p=181#comment-54903</guid>
		<description>an even better solution would be to write a script that iterates over all files, parses their name and decides the values of the parameters.</description>
		<content:encoded><![CDATA[<p>an even better solution would be to write a script that iterates over all files, parses their name and decides the values of the parameters.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim O'Brien</title>
		<link>http://www.techbits.de/2009/08/06/adding-googles-gdata-java-api-to-your-maven-repository/comment-page-1/#comment-51034</link>
		<dc:creator>Tim O'Brien</dc:creator>
		<pubDate>Fri, 07 Aug 2009 13:09:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.techbits.de/?p=181#comment-51034</guid>
		<description>A better solution would be to get a repository manager and upload the artifacts (or automate this with the deploy:deploy-file goal).

I&#039;d suggest nexus: http://nexus.sonatype.org</description>
		<content:encoded><![CDATA[<p>A better solution would be to get a repository manager and upload the artifacts (or automate this with the deploy:deploy-file goal).</p>
<p>I&#8217;d suggest nexus: <a href="http://nexus.sonatype.org" rel="nofollow">http://nexus.sonatype.org</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
