Adding Flickrj 1.2 to maven

less than 1 minute read

First download Flickrj and install locacally.

run this command from the install dir

<pre class="brush:html">mvn install:install-file
-Dfile=flickrapi-1.2.jar
-DgroupId=com.aetrion.flickr
-DartifactId=flickrapi
-Dversion=1.2
-Dpackaging=jar
</pre>
to reference the artifact in your pom add

<pre class="brush:xml">
com.aetrion.flickr</groupId>
flickrapi</artifactId>
1.2
</dependency>
</pre>

Categories:

Updated:

Leave a Comment