code: public void importArtifacts(SessionProvider sp, File folder) throws RepositoryException, FileNotFoundException
     {
        if (!folder.exists())
           throw new FileNotFoundException("Source folder expected");
        try
        {
           this.listErrorPom.clear();
           importFilesToJCR(sp, folder);
        }
        catch (Exception e)
        {
           LOG.error("Exception during uploading local folder to JCR", e);
        }
     }
docs: /*
  (non-Javadoc)
  @see org.exoplatform.services.jcr.ext.maven.ArtifactManagingService#importArtifacts
  (org.exoplatform.services.jcr.ext.common.SessionProvider, java.io.File)