the bloggard

No Safe Haven in Maven (Some Real World Challenges)

Posted in Technology by conorpower on March 25, 2010

I first came across Maven a number of years ago at a client site we were doing some work at and got my hands dirty integrating it with a custom development project that was ongoing at the time and was very impressed with the efficiencies it brought to the project once some initial scripting was completed and the proper conventions were followed. At this stage, Maven 2.x was recently released and from all everything I read was a big improvement over the the earlier 1.x versions.

In the intervening years, my “usage” of Maven has been mainly around enforcing it’s adoption as the build and deployment tool of choice for a development team or recommending its usgae to other technical leads and architects. More recently however I was fortunate, or unfortunate as the case may be, to get my hands dirty with it again and integrate it with a Google App Engine project I was involved with. I was so moved by the experience that I am going to summarize my more recent experiences of it in this blog post … (more…)


Amazon S3 deployment w/ JetS3t and Maven

Posted in Technology by conorpower on March 16, 2010

While playing around with Amazon AWS for a little while last year and running a number of instances on the cloud I didn’t pay much attention to their file storage offering, Amazon S3 (Simple Storage Service) for storing and distributing files on the cloud. All that changed recently when I came across an issue with Google App Engine and a third party library I was using.

The issue was that GAE has a file limitation for applications deployed to the platform of 3,000 files. The third party library being used was Smart GWT and after the GWT compilation step there was much more than 3,000 files in the web application causing the application deployment to fail. Unfortunately there’s no way around this on GAE except to host the files elsewhere, with Amazon S3 being the obvious candidate.

I had been using Maven for build and deployment and now needed to integrate deployment to S3 into the same build process and wanted to share how this was done in this post. The S3 service provides a straightforward ReST based API to manage deployments and there are a growing number of tools available providing a layer of functionality on top of the service. One need only search for “amazon s3 deployment tools” on Google to see the vast number available as browser plugins, windows explorer extensions and command line utilities.

For me, I came across an excellent suite of utilities called JetS3t that can be used to manage your S3 deployments …  (more…)

Tagged with: , , , , ,