title: Maven - Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single (1-pre-dist) on project
body: <p>I'm using wso2 emm 2.2.0 Beta, Please refer the below error console. when I run the maven install I got maven assembly plugin issue. </p>
  
  <p>So please let me know why it occurs? and give some suggestion to fix this problem.</p>
  
  <pre><code>[INFO] Scanning for projects...
  [INFO]                                                                         
  [INFO] ------------------------------------------------------------------------
  [INFO] Building WSO2 Mobile Device Manager (MDM) - Distribution 2.2.0-BETA2
  [INFO] ------------------------------------------------------------------------
  [INFO] 
  [INFO] --- incremental-build-plugin:1.3:incremental-build (default) @ wso2emm ---
  [INFO] Verifying module descriptor ...
  [INFO] Verifying parent modules...
  [INFO] Verifying resources...
  [INFO] Resources directory does not exist : /home/next/Praveen/Project/secureON/Project/Project_Setup/product-emm-2.2.0-BETA2/modules/distribution/src/main/resources
  [INFO] Verifying sources...
  [INFO] No sources to check ...
  [INFO] 
  [INFO] --- buildnumber-maven-plugin:1.3:create (default) @ wso2emm ---
  [INFO] Storing buildNumber: 27 Oct 2016 at timestamp: 1477554746130
  [WARNING] Cannot get the branch information from the git repository: 
  Detecting the current branch failed: fatal: Not a git repository (or any of the parent directories): .git
  
  [INFO] Executing: /bin/sh -c cd /home/next/Praveen/Project/secureON/Project/Project_Setup/product-emm-2.2.0-BETA2/modules/distribution &amp;&amp; git rev-parse --verify HEAD
  [INFO] Working directory: /home/next/Praveen/Project/secureON/Project/Project_Setup/product-emm-2.2.0-BETA2/modules/distribution
  [INFO] Storing buildScmBranch: UNKNOWN_BRANCH
  [INFO] 
  [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ wso2emm ---
  [INFO] 
  [INFO] --- maven-assembly-plugin:2.4:single (1-pre-dist) @ wso2emm ---
  [INFO] Reading assembly descriptor: /home/next/Praveen/Project/secureON/Project/Project_Setup/product-emm-2.2.0-BETA2/modules/distribution/src/assembly/dist.xml
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 1.203s
  [INFO] Finished at: Thu Oct 27 13:22:26 IST 2016
  [INFO] Final Memory: 13M/188M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single (1-pre-dist) on project wso2emm: Failed to create assembly: Error creating assembly archive dist: You must set at least one file.
  </code></pre>