@Mojo(name="cache", defaultPhase=NONE, threadSafe=true, requiresDependencyResolution=COMPILE_PLUS_RUNTIME) public class CacheMojo extends org.apache.maven.plugin.AbstractMojo
Loader
on all classes found in the project,
as well as call all cachePackage()
methods found on them. It displays
to the standard output the directories cached, the former on a line starting
with "PATH=" and the latter on another line starting with "PACKAGEPATH=".Modifier and Type | Field and Description |
---|---|
(package private) String |
classOrPackageName
Process only this class or package (suffixed with .* or .**).
|
(package private) String[] |
classOrPackageNames
Process only these classes or packages (suffixed with .* or .**).
|
(package private) org.apache.maven.plugin.descriptor.PluginDescriptor |
plugin |
(package private) org.apache.maven.project.MavenProject |
project |
Constructor and Description |
---|
CacheMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
(package private) String |
join(String separator,
Iterable<String> strings) |
@Parameter(property="javacpp.classOrPackageName") String classOrPackageName
@Parameter(property="javacpp.classOrPackageNames") String[] classOrPackageNames
@Parameter(defaultValue="${project}", required=true, readonly=true) org.apache.maven.project.MavenProject project
@Parameter(defaultValue="${plugin}", required=true, readonly=true) org.apache.maven.plugin.descriptor.PluginDescriptor plugin
Copyright © 2024. All rights reserved.