public class ReflectionsMojo
extends org.jfrog.jade.plugins.common.injectable.MvnInjectableMojoSupport
use it by configuring the pom with:
<build>
<plugins>
<plugin>
<groupId>org.reflections</groupId>
<artifactId>reflections-maven</artifactId>
<version>0.9.5</version>
<executions>
<execution>
<goals>
<goal>reflections</goal>
</goals>
<phase>process-classes</phase>
</execution>
</executions>
<configuration>
<... optional configuration here>
</configuration>
</plugin>
</plugins>
</build>
scanners - a comma separated list of scanner classes names (fully qualified names or simple names).
defaults to TypeAnnotationsScanner, SubTypesScanner
includeExclude - a comma separated list of include exclude filters,
to be used with FilterBuilder to filter the inputs of all scanners.
defaults to "-java\..*, -javax\..*, -sun\..*, -com\.sun\..*"
destinations - destination path to save metadata to.
defaults to ${project.build.outputDirectory}/META-INF/reflections/${project.artifactId}-reflections.xml
serializer - serializer class name to be used for saving (fully qualified names or simple names).
defaults to XmlSerializer
parallel - indicates whether to use parallel scanning of classes, using j.u.c FixedThreadPool,
defaults to false
tests - If set to true, the mojo will generate the metadata for the test classes as well| Constructor and Description |
|---|
ReflectionsMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
getPluginContext, setPluginContext, updateFromMvnInjectablecreateFolder, fillPluginSettings, getAntProject, getArtifactFactory, getArtifactResolver, getFailSafeScope, getLocalRepository, getLog, getMaven2AntManager, getNameProvider, getPluginArtifacts, getProject, getProjectHelper, resolveAndGetAntPath, resolveArtifacts, setArtifactFactory, setArtifactResolver, setLocalRepository, setLog, setMaven2AntManager, setNameProvider, setPluginArtifacts, setProject, setProjectHelperCopyright © 2012. All Rights Reserved.