moresandeep/P4M — pull request #2 by acooley (2013-03-11 21:50:43+00:00)
Title: MAVENized

Hi Sandeep,

Thank you for creating this library. I'm pretty sure there are many projects out there which have had to construct this library and it's great that you've shared yours so that the rest of us don't have to write it (every time we work at a different start-up :)).

I've made some changes that I think will allow it to fit nicely with the direction that most J2EE development has gone:

1. I've restructured the project to fit with the MAVEN architecture. Now it can be built, tested and installed using MAVEN. If you honor the pull request we can submit your code to a central repository and everybody will be able to install it using MAVEN.

2. I've added class constructors that allow configuration without using the .properties file. This allows the settings in the .properties files to be overridden. Some environments like DropWizard like to use .yml. Others want to pull configuration from environment vars, etc.

Hopefully you will approve these changes and we can promote your library as the best way to access memcached from Java.