diff options
author | Digital Rounin <digitalrounin@gmail.com> | 2013-09-03 18:55:33 +0700 |
---|---|---|
committer | Digital Rounin <digitalrounin@gmail.com> | 2013-09-03 18:55:33 +0700 |
commit | 1792cf93aaf496ddaff3cd3124ce182e3296eb8f (patch) | |
tree | 117601d0cf13895dd5fb8689bde85fbe94322c9c | |
parent | 5820f308631a825a05feddddd0aafb962f272b9b (diff) | |
download | nanohttpd-1792cf93aaf496ddaff3cd3124ce182e3296eb8f.tar.gz |
Moved httpclient and httpmime to test scope
The following packages where defaulting to the compile scope while they are
only needed for unit tests:
- org.apache.httpcomponents.httpclient
- org.apache.httpcomponents.httpmime
This is causing unnecessary dependencies to be carried over to Android apps.
-rw-r--r-- | core/pom.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/pom.xml b/core/pom.xml index e1eeb49..4d4361f 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -21,11 +21,13 @@ <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>4.2.5</version> + <scope>test</scope> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpmime</artifactId> <version>4.2.5</version> + <scope>test</scope> </dependency> </dependencies> |