diff --git a/.gitignore b/.gitignore index 81aa2479a..60e6c3722 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,5 @@ *.war *.ear -/target/ \ No newline at end of file +/target/ +/nbactions.xml \ No newline at end of file diff --git a/pom.xml b/pom.xml index ecd88eaed..c13167112 100644 --- a/pom.xml +++ b/pom.xml @@ -74,12 +74,14 @@ + junit junit 4.11 test + com.fasterxml.jackson.core jackson-core @@ -95,6 +97,7 @@ jackson-databind 2.2.1 + org.slf4j slf4j-api @@ -106,8 +109,9 @@ 1.7.5 test + - com.moviejukebox + org.yamj api-common 1.0-SNAPSHOT @@ -117,6 +121,7 @@ ${project.artifactId}-${project.version}-${buildNumber} + org.codehaus.mojo buildnumber-maven-plugin @@ -136,6 +141,7 @@ + org.apache.maven.plugins maven-compiler-plugin @@ -148,6 +154,7 @@ + org.apache.maven.plugins maven-jar-plugin @@ -163,6 +170,7 @@ + org.apache.maven.plugins maven-surefire-plugin @@ -172,6 +180,7 @@ ${skipTests} + org.apache.maven.plugins maven-antrun-plugin @@ -200,6 +209,7 @@ + org.apache.maven.plugins maven-assembly-plugin @@ -219,11 +229,13 @@ + org.codehaus.mojo versions-maven-plugin 2.0 + org.apache.maven.plugins maven-site-plugin @@ -255,31 +267,37 @@ + org.apache.maven.plugins maven-clean-plugin 2.5 + org.apache.maven.plugins maven-deploy-plugin 2.7 + org.apache.maven.plugins maven-gpg-plugin 1.4 + org.apache.maven.plugins maven-install-plugin 2.4 + org.apache.maven.plugins maven-resources-plugin 2.6 + diff --git a/src/main/java/com/omertron/themoviedbapi/TheMovieDbApi.java b/src/main/java/com/omertron/themoviedbapi/TheMovieDbApi.java index f1745709b..7e28b9fc1 100644 --- a/src/main/java/com/omertron/themoviedbapi/TheMovieDbApi.java +++ b/src/main/java/com/omertron/themoviedbapi/TheMovieDbApi.java @@ -21,7 +21,6 @@ package com.omertron.themoviedbapi; import static com.omertron.themoviedbapi.tools.ApiUrl.*; import com.fasterxml.jackson.databind.ObjectMapper; -import com.moviejukebox.api.common.http.CommonHttpClient; import com.omertron.themoviedbapi.MovieDbException.MovieDbExceptionType; import com.omertron.themoviedbapi.model.*; import com.omertron.themoviedbapi.results.TmdbResultsList; @@ -40,6 +39,7 @@ import org.apache.commons.lang3.StringUtils; import org.apache.http.client.methods.HttpGet; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import org.yamj.api.common.http.CommonHttpClient; /** * The MovieDb API

This is for version 3 of the API as specified here: http://help.themoviedb.org/kb/api/about-3