Wednesday 28 July 2010

Flickj API Examples

Use google code search to find current sample code.

http://www.google.com/codesearch?q=file:java+%22com.aetrion.flickr.Flickr%22&hl=en&btnG=Search+Code

Adding Flickrj 1.2 to maven

First download Flickrj and install locacally.

run this command from the install dir

mvn install:install-file 
-Dfile=flickrapi-1.2.jar 
-DgroupId=com.aetrion.flickr 
-DartifactId=flickrapi 
-Dversion=1.2 
-Dpackaging=jar

to reference the artifact in your pom add


com.aetrion.flickr
flickrapi
1.2