title: Cannot create AsynchronousJiraRestClientFactory (Dependency Issue)
body: <p>I previously made a restful client application in Java to mass-manipulate tickets and expedite workflow, however, I want to create a more holistic application that utilizes the actual JIRA api instead of parsing JSON in my own solution.
  I have a very simple code-block to create a client:</p>
  
  <pre><code>public class SimpleMain {
    public static void main(String[] args) {
      try {
        JiraRestClient client = new AsynchronousJiraRestClientFactory()
          .createWithBasicHttpAuthentication(new URI("https://jira.redacted.com"), "redacted", "redacted");
      } catch (URISyntaxException e) {
        e.printStackTrace();
      }
    }
  }
  </code></pre>
  
  <p>Attempting to create a simple AsynchronousJiraRestClientFactory results in the following exception:</p>
  
  <pre><code>15:12:06.625 [main] DEBUG c.a.j.r.c.i.a.AsynchronousHttpClientFactory$MavenUtils - Could not find version for maven artifact com.atlassian.jira:jira-rest-java-com.atlassian.jira.rest.client
  15:12:06.633 [main] DEBUG c.a.j.r.c.i.a.AsynchronousHttpClientFactory$MavenUtils - Got the following exception
  java.lang.NullPointerException: null
  at java.util.Properties$LineReader.readLine(Properties.java:434) ~[na:1.8.0_51]
  at java.util.Properties.load0(Properties.java:353) ~[na:1.8.0_51]
  at java.util.Properties.load(Properties.java:341) ~[na:1.8.0_51]
  at com.atlassian.jira.rest.client.internal.async.AsynchronousHttpClientFactory$MavenUtils.getVersion(AsynchronousHttpClientFactory.java:158) ~[jira-rest-java-client-core-3.0.0.jar:na]
  at com.atlassian.jira.rest.client.internal.async.AsynchronousHttpClientFactory$RestClientApplicationProperties.getVersion(AsynchronousHttpClientFactory.java:121) [jira-rest-java-client-core-3.0.0.jar:na]
  at com.atlassian.httpclient.apache.httpcomponents.DefaultHttpClient.getUserAgent(DefaultHttpClient.java:168) [atlassian-httpclient-apache-httpcomponents-0.13.2.jar:na]
  at com.atlassian.httpclient.apache.httpcomponents.DefaultHttpClient.&lt;init&gt;(DefaultHttpClient.java:139) [atlassian-httpclient-apache-httpcomponents-0.13.2.jar:na]
  at com.atlassian.jira.rest.client.internal.async.AsynchronousHttpClientFactory.createClient(AsynchronousHttpClientFactory.java:53) [jira-rest-java-client-core-3.0.0.jar:na]
  at com.atlassian.jira.rest.client.internal.async.AsynchronousJiraRestClientFactory.create(AsynchronousJiraRestClientFactory.java:35) [jira-rest-java-client-core-3.0.0.jar:na]
  at com.atlassian.jira.rest.client.internal.async.AsynchronousJiraRestClientFactory.createWithBasicHttpAuthentication(AsynchronousJiraRestClientFactory.java:42) [jira-rest-java-client-core-3.0.0.jar:na]
  at jiratest.SimpleMain.main(SimpleMain.java:13) [classes/:na]
  Exception in thread "main" java.lang.NoSuchMethodError: org.apache.http.nio.client.HttpAsyncClient.start()V
  at com.atlassian.httpclient.apache.httpcomponents.DefaultHttpClient.&lt;init&gt;(DefaultHttpClient.java:162)
  Disconnected from the target VM, address: '127.0.0.1:53429', transport: 'socket'
  at com.atlassian.jira.rest.client.internal.async.AsynchronousHttpClientFactory.createClient(AsynchronousHttpClientFactory.java:53)
  at com.atlassian.jira.rest.client.internal.async.AsynchronousJiraRestClientFactory.create(AsynchronousJiraRestClientFactory.java:35)
  at com.atlassian.jira.rest.client.internal.async.AsynchronousJiraRestClientFactory.createWithBasicHttpAuthentication(AsynchronousJiraRestClientFactory.java:42)
  at jiratest.SimpleMain.main(SimpleMain.java:13)
  </code></pre>
  
  <p>From what I have been reading, this is a dependency issue because of differing libraries. Here is what I'm using:</p>
  
  <pre><code>&lt;properties&gt;
      &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
      &lt;java.version&gt;1.8&lt;/java.version&gt;
      &lt;pojomatic.version&gt;2.0.1&lt;/pojomatic.version&gt;
      &lt;jira-api.version&gt;6.1.1&lt;/jira-api.version&gt;
      &lt;jira-rest-java-client-core.version&gt;3.0.0&lt;/jira-rest-java-client-core.version&gt;
      &lt;httpcore.version&gt;4.4.1&lt;/httpcore.version&gt;
      &lt;commons-io.version&gt;2.4&lt;/commons-io.version&gt;
  &lt;/properties&gt;
  
  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.atlassian.jira&lt;/groupId&gt;
          &lt;artifactId&gt;jira-api&lt;/artifactId&gt;
          &lt;version&gt;${jira-api.version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.atlassian.jira&lt;/groupId&gt;
          &lt;artifactId&gt;jira-rest-java-client-core&lt;/artifactId&gt;
          &lt;version&gt;${jira-rest-java-client-core.version}&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.httpcomponents&lt;/groupId&gt;
          &lt;artifactId&gt;httpclient&lt;/artifactId&gt;
          &lt;version&gt;${httpcore.version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.httpcomponents&lt;/groupId&gt;
          &lt;artifactId&gt;httpcore&lt;/artifactId&gt;
          &lt;version&gt;${httpcore.version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.httpcomponents&lt;/groupId&gt;
          &lt;artifactId&gt;httpcore-nio&lt;/artifactId&gt;
          &lt;version&gt;${httpcore.version}&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.pojomatic&lt;/groupId&gt;
          &lt;artifactId&gt;pojomatic&lt;/artifactId&gt;
          &lt;version&gt;${pojomatic.version}&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-batch&lt;/artifactId&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-starter-test&lt;/artifactId&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  </code></pre>
  
  <p>Does anyone know what versions I should be using? Am I still missing dependencies? I've been reading through atlasian q/a's and various google documents and I think I'm close but I'm not sure what I'm still missing. </p>
  
  <p>Thanks to all in advance :)</p>