public static PlexusModuleContributor of(FilePath... jars) { return of(asList(jars)); }
@Override public List<URL> getPlexusComponentJars() { List<URL> urls = new ArrayList<>(); for (PlexusModuleContributor pc : all) { urls.addAll(pc.getPlexusComponentJars()); } return urls; } }
public Void call() throws IOException { Maven32Main.addPlexusComponents( c.getPlexusComponentJars().toArray( new URL[0] ) ); return null; }
@Override public PlexusModuleContributor createFor(AbstractBuild<?, ?> context) throws IOException, InterruptedException { if (MavenExtractorHelper.isDisabled(context) || MavenVersionHelper.isLowerThanMaven3(((MavenModuleSetBuild) context))) { return null; } File maven3ExtractorJar = Which.jarFile(BuildInfoRecorder.class); FilePath dependenciesDirectory = PluginDependencyHelper.getActualDependencyDirectory(maven3ExtractorJar, context.getBuiltOn().getRootPath()); FilePath[] files = dependenciesDirectory.list(INCLUDED_FILES, EXCLUDED_FILES); List<FilePath> jars = Lists.newArrayList(); Collections.addAll(jars, files); return PlexusModuleContributor.of(jars); } }
public Void call() throws IOException { Maven31Main.addPlexusComponents( c.getPlexusComponentJars().toArray( new URL[0] ) ); return null; }
public Void call() throws IOException { Main.addPlexusComponents(c.getPlexusComponentJars().toArray(new URL[0])); return null; } }
public Void call() throws IOException { Maven33Main.addPlexusComponents( c.getPlexusComponentJars().toArray( new URL[0] ) ); return null; }
public Void call() throws IOException { Maven35Main.addPlexusComponents( c.getPlexusComponentJars().toArray( new URL[0] ) ); return null; }
public Void call() throws IOException { Maven3Main.addPlexusComponents(c.getPlexusComponentJars().toArray(new URL[0])); return null; }
List<URL> urls = plexusContributors.getPlexusComponentJars(); if (!urls.isEmpty()) { mer.setClassLoader(