Example usage for org.apache.maven.project MavenProject getSystemArtifacts

List of usage examples for org.apache.maven.project MavenProject getSystemArtifacts

Introduction

In this page you can find the example usage for org.apache.maven.project MavenProject getSystemArtifacts.

Prototype

@Deprecated
    public List<Artifact> getSystemArtifacts() 

Source Link

Usage

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;
}