bundles/org.eclipse.packagedrone.repo.importer.aether/src/org/eclipse/packagedrone/repo/importer/aether/AetherImporter.java
public static AetherResult preparePlain ( final Path tmpDir, final ImportConfiguration cfg ) throws ArtifactResolutionException
    {
        Objects.requireNonNull ( tmpDir );
        Objects.requireNonNull ( cfg );

        final RepositoryContext ctx = new RepositoryContext ( tmpDir, cfg.getRepositoryUrl (), cfg.isAllOptional () );

        // extend

        final List<ArtifactRequest> requests = extendRequests ( cfg.getCoordinates ().stream ().map ( c -> {
            final DefaultArtifact artifact = new DefaultArtifact ( c.toString () );
            return makeRequest ( ctx.getRepositories (), artifact );
        } ), ctx, cfg );

        // process

        return asResult ( resolve ( ctx, requests ), cfg, empty () );
    }
public static AetherResult preparePlain ( final Path tmpDir, final ImportConfiguration cfg ) throws ArtifactResolutionException
    {
        Objects.requireNonNull ( tmpDir );
        Objects.requireNonNull ( cfg );

        final RepositoryContext ctx = new RepositoryContext ( tmpDir, cfg.getRepositoryUrl (), cfg.isAllOptional () );

        // extend

        final List<ArtifactRequest> requests = extendRequests ( cfg.getCoordinates ().stream ().map ( c -> {
            final DefaultArtifact artifact = new DefaultArtifact ( c.toString () );
            return makeRequest ( ctx.getRepositories (), artifact );
        } ), ctx, cfg );

        // process

        return asResult ( resolve ( ctx, requests ), cfg, empty () );
    }
public static AetherResult preparePlain ( final Path tmpDir , final ImportConfiguration cfg ) throws ArtifactResolutionException { Objects . requireNonNull ( tmpDir ) ; Objects . requireNonNull ( cfg ) ; final RepositoryContext ctx = new RepositoryContext ( tmpDir , cfg . getRepositoryUrl ( ) , cfg . isAllOptional ( ) ) ; // extend final List < ArtifactRequest > requests = extendRequests ( cfg . getCoordinates ( ) . stream ( ) . map ( c -> { final DefaultArtifact artifact = new DefaultArtifact ( c . toString ( ) ) ; return makeRequest ( ctx . getRepositories ( ) , artifact ) ; } ) , ctx , cfg ) ; // process return asResult ( resolve ( ctx , requests ) , cfg , empty ( ) ) ; }
Prepare a plain import process
<p>
Prepare a simple import request with a specific list of coordinates
</p>
Prepare a plain import process <p > Prepare a simple import request with a specific list of coordinates < / p >