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

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

Introduction

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

Prototype

@Deprecated
    public List<String> getSystemClasspathElements() throws DependencyResolutionRequiredException 

Source Link

Usage

From source file:org.jetbrains.kotlin.projectsextensions.maven.classpath.MavenExtendedClassPath.java

License:Apache License

private List<String> getSystemClasspathElements(Project proj) throws DependencyResolutionRequiredException {
    MavenProject mavenProj = MavenHelper.getOriginalMavenProject(proj);
    if (mavenProj == null) {
        return Collections.emptyList();
    }//from  w  w w .  j a  v a 2s.c om
    List<String> systemClasspath = mavenProj.getSystemClasspathElements();
    if (systemClasspath == null || systemClasspath.isEmpty()) {
        KotlinLogger.INSTANCE.logInfo(proj.getProjectDirectory().getPath() + " system classpath is empty");
    }

    return systemClasspath;
}