public final class ResourceFinder extends Object
Constructor and Description |
---|
ResourceFinder(File basedir) |
Modifier and Type | Method and Description |
---|---|
URL |
findResource(String resource)
Find a resource by searching:
1. |
void |
setCompileClassPath(List<String> classpath) |
void |
setPluginClassPath(ClassLoader classLoader) |
public ResourceFinder(File basedir)
public void setPluginClassPath(ClassLoader classLoader)
public URL findResource(String resource) throws org.apache.maven.plugin.MojoFailureException
resource
- The resource to getorg.apache.maven.plugin.MojoFailureException
- If the resource is not foundCopyright © 2008-2012 Mathieu Carbou. All Rights Reserved.