code: protected void extractSourceDependencies() throws MojoExecutionException
      {
          for ( Artifact artifact : getDirectDependencyArtifacts() )
          {
              String type = artifact.getType();
              if ( type.equals( APKSOURCES ) )
              {
                  getLog().debug( "Detected apksources dependency " + artifact + " with file " + artifact.getFile()
                          + ". Will resolve and extract..." );
  
                  final File apksourcesFile = resolveArtifactToFile( artifact );
                  getLog().debug( "Extracting " + apksourcesFile + "..." );
                  extractApksources( apksourcesFile );
              }
          }
  
          if ( extractedDependenciesJavaResources.exists() )
          {
              projectHelper.addResource( project, extractedDependenciesJavaResources.getAbsolutePath(), null, null );
              project.addCompileSourceRoot( extractedDependenciesJavaSources.getAbsolutePath() );
          }
      }
docs: Extract the source dependencies.
  
  @throws MojoExecutionException if it fails.