List of usage examples for org.apache.maven.project MavenProject getSystemArtifacts
@Deprecated
public List<Artifact> getSystemArtifacts()
From source file:com.totsp.mavenplugin.gwt.util.BuildClasspathUtil.java
License:Open Source License
public static Set<File> getSystemPaths(final AbstractGWTMojo mojo) { MavenProject project = mojo.getProject(); Set<File> items = new LinkedHashSet<File>(); // add system for (Artifact a : (Collection<Artifact>) project.getSystemArtifacts()) { items.add(a.getFile());//w w w . j ava 2 s . co m } return items; }