title: Can't access to Sonar or project doesn't exist on Sonar instance
body: <p>We are setting up Sonar for a particular project for the first time and we are getting the below error. </p>
  
  <p>I am just wondering why are sonar is trying to retrieve information from the project as this is the first time SONAR is set up for this project</p>
  
  <pre><code>[INFO] Building &lt;project1&gt; Application
  [INFO]    task-segment: [org.codehaus.sonar-plugins.pdf-report:maven-pdfreport-plugin:1.3:generate] (aggregator-style)
  [INFO] ------------------------------------------------------------------------
  [INFO] [pdfreport:generate {execution: default-cli}]
  [INFO] Team workbook report type selected
  [INFO] Retrieving project info for &lt;project1&gt;
  [ERROR] Can�t access to Sonar or project doesn't exist on Sonar instance. HTTP KO to     http://sonar.server.com:8080/sonar/api/resources?resource=&lt;project1&gt;&amp;depth=0&amp;format=xml
  java.io.IOException: Can�t access to Sonar or project doesn't exist on Sonar instance.
  at org.sonar.report.pdf.util.SonarAccess.getUrlAsDocument(SonarAccess.java:132)
  at org.sonar.report.pdf.entity.Project.initializeProject(Project.java:98)
  at org.sonar.report.pdf.PDFReporter.getProject(PDFReporter.java:114)
  at org.sonar.report.pdf.PDFReporter.getReport(PDFReporter.java:71)
  at org.sonar.report.pdf.mojo.SonarPDFMojo.execute(SonarPDFMojo.java:162)
  at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284)
  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
  [INFO] [01:22:06.415] Execute org.codehaus.sonar-plugins.pdf-report:maven-pdfreport-plugin:1.3:generate done: 615 ms
  </code></pre>
  
  <p>And also i do not think the problem is with maven-pdfreport-plugin because the other projects which are already using sonar are running without any error.</p>
  
  <p>Thank you!</p>