title: No artifacts found that match the file pattern "**/target/*.apk"
body: <p>I got this output from Jenkins console while trying to compile an android project: 
  just notice that I didn't make any change on the main Class
  this is the jenkins console:</p>
  
  <pre><code>[INFO] BUILD SUCCESS
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 10.701s
  [INFO] Finished at: Thu May 29 17:56:45 CEST 2014
  [INFO] Final Memory: 24M/491M
  [INFO] ------------------------------------------------------------------------
  [JENKINS] Archiving /var/opt/jenkins/workspace/Android-Project-App/trunk/pom.xml to com.proj.android.project.mobile/project-android/0.0.1-SNAPSHOT/project-android-0.0.1-SNAPSHOT.pom
  [JENKINS] Archiving /var/opt/jenkins/workspace/Android-Project-App/trunk/assets/build/project-android.apk to com.proj.android.project.mobile/project-android/0.0.1-20140529.155643-5/project-android-0.0.1-20140529.155643-5.apk
  [JENKINS] Archiving /var/opt/jenkins/workspace/Android-Project-App/trunk/assets/build/project-android.jar to com.proj.android.project.mobile/project-android/0.0.1-20140529.155643-5/project-android-0.0.1-20140529.155643-5.jar
  channel stopped
  Archiving artifacts
  ERROR: No artifacts found that match the file pattern "**/target/*.apk". Configuration error?
  ERROR: ‘**/target/*.apk’ doesn’t match anything: ‘**’ exists but not ‘**/target/*.apk’
  Build step 'Archive the artifacts' changed build result to FAILURE
  IRC notifier plugin: Sending notification to: #jenkins
  Finished: FAILURE
  </code></pre>
  
  <p>and this is my pom:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;parent&gt;
          &lt;groupId&gt;com.proj&lt;/groupId&gt;
          &lt;artifactId&gt;android&lt;/artifactId&gt;
          &lt;version&gt;1.1-SNAPSHOT&lt;/version&gt;
      &lt;/parent&gt;
  
      &lt;groupId&gt;com.proj.android.project.mobile&lt;/groupId&gt;
      &lt;artifactId&gt;project-android&lt;/artifactId&gt;
      &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
      &lt;packaging&gt;apk&lt;/packaging&gt;
      &lt;name&gt;project Android Application&lt;/name&gt;
      &lt;description&gt;project mobile application for android client&lt;/description&gt;
      &lt;url&gt;http://maven.apache.org&lt;/url&gt;
  
      &lt;issueManagement&gt;
          &lt;system&gt;jira&lt;/system&gt;
          &lt;url&gt;http://www/jira/browse/${jira.project.key}&lt;/url&gt;
      &lt;/issueManagement&gt;
      &lt;scm&gt;
          &lt;connection&gt;scm:svn:http://svn/android/project-mobile-app/trunk/&lt;/connection&gt;
          &lt;developerConnection&gt;scm:svn:https://svn/android/project-mobile-app/trunk/&lt;/developerConnection&gt;
          &lt;url&gt;http://svn/web/wsvn/android/project-mobile-app/&lt;/url&gt;
      &lt;/scm&gt;
      &lt;dependencyManagement&gt;
          &lt;dependencies&gt;
              &lt;!-- Android dependencies --&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;android&lt;/groupId&gt;
                  &lt;artifactId&gt;android&lt;/artifactId&gt;
                  &lt;scope&gt;provided&lt;/scope&gt;
                  &lt;version&gt;4.0.3_r2&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;android&lt;/groupId&gt;
                  &lt;artifactId&gt;support-v4&lt;/artifactId&gt;
                  &lt;version&gt;r6&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;junit&lt;/groupId&gt;
                  &lt;artifactId&gt;junit&lt;/artifactId&gt;
                  &lt;scope&gt;test&lt;/scope&gt;
                  &lt;version&gt;${junit.version}&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;org.apache.maven&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-plugin-api&lt;/artifactId&gt;
                  &lt;version&gt;3.1&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;bouncycastle&lt;/groupId&gt;
                  &lt;artifactId&gt;bcprov-jdk14&lt;/artifactId&gt;
                  &lt;version&gt;138&lt;/version&gt;
              &lt;/dependency&gt;
              &lt;!-- &lt;dependency&gt; --&gt;
              &lt;!-- &lt;groupId&gt;com.proj.android.sample&lt;/groupId&gt; --&gt;
              &lt;!-- &lt;artifactId&gt;pdf-viewer-ng&lt;/artifactId&gt; --&gt;
              &lt;!-- &lt;type&gt;apklib&lt;/type&gt; --&gt;
              &lt;!-- &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt; --&gt;
              &lt;!-- &lt;/dependency&gt; --&gt;
              &lt;dependency&gt;
                  &lt;groupId&gt;com.proj.project.client&lt;/groupId&gt;
                  &lt;artifactId&gt;project-client&lt;/artifactId&gt;
                  &lt;version&gt;${project-client.version}&lt;/version&gt;
              &lt;/dependency&gt;
          &lt;/dependencies&gt;
      &lt;/dependencyManagement&gt;
      &lt;build&gt;
          &lt;finalName&gt;${project.artifactId}&lt;/finalName&gt;
          &lt;sourceDirectory&gt;build&lt;/sourceDirectory&gt;
          &lt;directory&gt;${project.basedir}/assets/build&lt;/directory&gt;
          &lt;pluginManagement&gt;
              &lt;plugins&gt;
                  &lt;plugin&gt;
                      &lt;groupId&gt;com.jayway.maven.plugins.android.generation2&lt;/groupId&gt;
                      &lt;artifactId&gt;android-maven-plugin&lt;/artifactId&gt;
                      &lt;version&gt;2.4&lt;/version&gt;
                      &lt;configuration&gt;
                          &lt;extractDuplicates&gt;true&lt;/extractDuplicates&gt;
                      &lt;/configuration&gt;
                  &lt;/plugin&gt;
  
              &lt;/plugins&gt;
          &lt;/pluginManagement&gt;
      &lt;/build&gt;
      &lt;properties&gt;
          &lt;android.version&gt;4.0.3_r2&lt;/android.version&gt;
          &lt;android.sdk&gt;15&lt;/android.sdk&gt;
          &lt;android.emulator.avd&gt;AVD_15_4_0_3&lt;/android.emulator.avd&gt;
          &lt;jira.project.key&gt;UNIAPPAND-1&lt;/jira.project.key&gt;
          &lt;junit.version&gt;4.11&lt;/junit.version&gt;
          &lt;com.proj.project.client&gt;1.0-SNAPSHOT&lt;/com.proj.project.client&gt;
      &lt;/properties&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>I think my problem come from target directory because jenkins mentioned that.
  I had 3 directories at jenkins: assets ,res et src
  Should I add more then these three folders?  for example libs or target ??</p>