org.codehaus.mojo.apt
Class MavenProjectUtils

java.lang.Object
  extended by org.codehaus.mojo.apt.MavenProjectUtils

public final class MavenProjectUtils
extends Object

Provides utilities for working with Maven projects.

Version:
$Id: MavenProjectUtils.java 6836 2008-04-25 09:11:04Z mark $
Author:
Mark Hobson

Method Summary
static List getClasspathElements(org.apache.maven.project.MavenProject project, List artifacts)
          Gets a list of paths for the specified artifacts.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getClasspathElements

public static List getClasspathElements(org.apache.maven.project.MavenProject project,
                                        List artifacts)
                                 throws org.apache.maven.artifact.DependencyResolutionRequiredException
Gets a list of paths for the specified artifacts.

Parameters:
project - the project
artifacts - the artifacts to obtain paths for
Returns:
a list of String paths to the specified artifacts
Throws:
org.apache.maven.artifact.DependencyResolutionRequiredException - if an artifact cannot be found


Copyright © 2006-2011 The Codehaus Mojo Project. All Rights Reserved.