Collection<Artifact> missing = new HashSet<>( e.getMissingArtifacts() );
artifacts = projectDependenciesResolver.resolve(project, scopes, session); } catch (MultipleArtifactsNotFoundException e) { Collection<Artifact> missing = new HashSet<>(e.getMissingArtifacts()); artifacts.removeAll(e.getMissingArtifacts()); } catch (AbstractArtifactResolutionException e) { throw new RuntimeException("Could not resolve project dependencies", e);
Collection<Artifact> missing = new HashSet<Artifact>( me.getMissingArtifacts() ); for ( Iterator<Artifact> it = missing.iterator(); it.hasNext(); )
artifacts = projectDependenciesResolver.resolve(project, scopes, session); } catch (MultipleArtifactsNotFoundException e) { Collection<Artifact> missing = new HashSet<>(e.getMissingArtifacts()); artifacts.removeAll(e.getMissingArtifacts()); } catch (AbstractArtifactResolutionException e) { throw new RuntimeException("Could not resolve project dependencies", e);
this.resolutionErrorHandler.throwErrors(request, result); } catch (MultipleArtifactsNotFoundException e) { final Collection<Artifact> missing = new HashSet<>(e.getMissingArtifacts()); if (!missing.isEmpty()) { throw new MojoExecutionException(e.getLocalizedMessage(), e);