{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-sdk-for-java/issues/472","labels_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/issues/472/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/issues/472/comments","events_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/issues/472/events","html_url":"https://github.com/Azure/azure-sdk-for-java/issues/472","id":69418680,"number":472,"title":"mvn compile doesn't work on master","user":{"login":"voytoo","id":2294027,"avatar_url":"https://avatars.githubusercontent.com/u/2294027?v=3","gravatar_id":"","url":"https://api.github.com/users/voytoo","html_url":"https://github.com/voytoo","followers_url":"https://api.github.com/users/voytoo/followers","following_url":"https://api.github.com/users/voytoo/following{/other_user}","gists_url":"https://api.github.com/users/voytoo/gists{/gist_id}","starred_url":"https://api.github.com/users/voytoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voytoo/subscriptions","organizations_url":"https://api.github.com/users/voytoo/orgs","repos_url":"https://api.github.com/users/voytoo/repos","events_url":"https://api.github.com/users/voytoo/events{/privacy}","received_events_url":"https://api.github.com/users/voytoo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Azure/azure-sdk-for-java/labels/Team","name":"Team","color":"DDDDDD"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-19T12:15:33Z","updated_at":"2015-04-22T18:33:22Z","closed_at":"2015-04-22T18:15:47Z","body":"mvn compile doesn't work on master\r\n\r\na lot of errors like:\r\n\r\n[INFO] -------------------------------------------------------------\r\n[ERROR] COMPILATION ERROR : \r\n[INFO] -------------------------------------------------------------\r\n[ERROR] /work/azure/azure-sdk-for-java/core/src/main/java/com/microsoft/windowsazure/core/pipeline/apache/HttpRequestInterceptorAdapter.java:[21,23] cannot find symbol\r\n  symbol:   class HttpRequest\r\n  location: package org.apache.http\r\n[ERROR] /work/azure/azure-sdk-for-java/core/src/main/java/com/microsoft/windowsazure/core/pipeline/apache/HttpRequestInterceptorAdapter.java:[22,23] cannot find symbol\r\n\r\n\r\nmvn --version\r\nApache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 14:51:28+0100)\r\nMaven home: /Volumes/Macintosh HD/Users/mvojtek/apps/apache-maven-3.0.5\r\nJava version: 1.8.0_20, vendor: Oracle Corporation\r\nJava home: /Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home/jre\r\nDefault locale: en_US, platform encoding: UTF-8\r\nOS name: \"mac os x\", version: \"10.10.3\", arch: \"x86_64\", family: \"mac\"\r\n\r\nI was able to fix this issue by providing explicit version to httpclient dependency for several modules (like management)\r\n\r\n<dependency>\r\n      <groupId>org.apache.httpcomponents</groupId>\r\n      <artifactId>httpclient</artifactId>\r\n      <version>4.3.1</version>\r\n    </dependency>\r\n\r\nThere is version specified in parent pom, but it looks like this version is not in use and submodules try to get latest httpclient (4.4.x), which has incompatible changes.\n<!---@tfsbridge:{\"tfsId\":3695458}-->"},"comment":{"url":"https://api.github.com/repos/Azure/azure-sdk-for-java/issues/comments/95294049","html_url":"https://github.com/Azure/azure-sdk-for-java/issues/472#issuecomment-95294049","issue_url":"https://api.github.com/repos/Azure/azure-sdk-for-java/issues/472","id":95294049,"user":{"login":"voytoo","id":2294027,"avatar_url":"https://avatars.githubusercontent.com/u/2294027?v=3","gravatar_id":"","url":"https://api.github.com/users/voytoo","html_url":"https://github.com/voytoo","followers_url":"https://api.github.com/users/voytoo/followers","following_url":"https://api.github.com/users/voytoo/following{/other_user}","gists_url":"https://api.github.com/users/voytoo/gists{/gist_id}","starred_url":"https://api.github.com/users/voytoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voytoo/subscriptions","organizations_url":"https://api.github.com/users/voytoo/orgs","repos_url":"https://api.github.com/users/voytoo/repos","events_url":"https://api.github.com/users/voytoo/events{/privacy}","received_events_url":"https://api.github.com/users/voytoo/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T18:33:22Z","updated_at":"2015-04-22T18:33:22Z","body":"This is probably not problem of maven. Works for me on linux with following maven:\r\n\r\nApache Maven 3.0.5\r\nMaven home: /usr/share/maven\r\nJava version: 1.7.0_76, vendor: Oracle Corporation\r\nJava home: /usr/lib/jvm/java-7-oracle/jre\r\nDefault locale: en_US, platform encoding: UTF-8\r\nOS name: \"linux\", version: \"3.13.0-32-generic\", arch: \"amd64\", family: \"unix\""}}