Index

A B C D E F G H I J K L M N O P R S T W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractExecJavaBase - Class in org.codehaus.mojo.exec
Abstract base class for ExecJavaMojo implementations (Java 8 and Java 9+).
AbstractExecJavaBase(RepositorySystem, PlexusContainer) - Constructor for class org.codehaus.mojo.exec.AbstractExecJavaBase
 
AbstractExecMojo - Class in org.codehaus.mojo.exec
This class is used for unifying functionality between the 2 mojo exec plugins ('java' and 'exec').
AbstractExecMojo(RepositorySystem) - Constructor for class org.codehaus.mojo.exec.AbstractExecMojo
 
AbstractProperty - Class in org.codehaus.mojo.exec
Base type for system properties.
AbstractProperty() - Constructor for class org.codehaus.mojo.exec.AbstractProperty
 
addAdditionalClasspathElements(List<Path>) - Method in class org.codehaus.mojo.exec.AbstractExecJavaBase
 
additionalClasspathElements - Variable in class org.codehaus.mojo.exec.AbstractExecJavaBase
Additional elements to be appended to the classpath.
addRelevantPluginDependenciesToClasspath(List<Path>) - Method in class org.codehaus.mojo.exec.AbstractExecJavaBase
Add any relevant project dependencies to the classpath.
addRelevantProjectDependenciesToClasspath(List<Path>) - Method in class org.codehaus.mojo.exec.AbstractExecJavaBase
Add any relevant project dependencies to the classpath.
arguments - Variable in class org.codehaus.mojo.exec.AbstractExecJavaBase
The class arguments.

B

BlockExitTransformer - Class in org.codehaus.mojo.exec
 
blockSystemExit - Variable in class org.codehaus.mojo.exec.AbstractExecJavaBase
Whether to try and prohibit the called Java program from terminating the JVM (and with it the whole Maven build) by calling System.exit(int).

C

Classpath - Class in org.codehaus.mojo.exec
 
Classpath() - Constructor for class org.codehaus.mojo.exec.Classpath
 
CLASSPATH_TOKEN - Static variable in class org.codehaus.mojo.exec.ExecMojo
 
classpathFilenameExclusions - Variable in class org.codehaus.mojo.exec.AbstractExecJavaBase
List of file to exclude from the classpath.
classpathScope - Variable in class org.codehaus.mojo.exec.AbstractExecMojo
Defines the scope of the classpath passed to the plugin.
cleanupDaemonThreads - Variable in class org.codehaus.mojo.exec.AbstractExecJavaBase
Whether to interrupt/join and possibly stop the daemon threads upon quitting.
close() - Method in class org.codehaus.mojo.exec.BlockExitTransformer
 
collectProjectArtifactsAndClasspath(List<Artifact>, List<Path>) - Method in class org.codehaus.mojo.exec.AbstractExecMojo
Collects the project artifacts in the specified List and the project specific classpath (build output and build test output) Files in the specified List, depending on the plugin classpathScope value.
consumeLine(String) - Method in class org.codehaus.mojo.exec.EnvStreamConsumer
 
container - Variable in class org.codehaus.mojo.exec.AbstractExecJavaBase
 
createEnvs(File) - Method in class org.codehaus.mojo.exec.ExecMojo
 
createEnvWrapperFile(File) - Method in class org.codehaus.mojo.exec.ExecMojo
 

D

daemonThreadJoinTimeout - Variable in class org.codehaus.mojo.exec.AbstractExecJavaBase
This defines the number of milliseconds to wait for daemon threads to quit following their interruption.
This is only taken into account if AbstractExecJavaBase.cleanupDaemonThreads is true.
determineRelevantPluginDependencies() - Method in class org.codehaus.mojo.exec.AbstractExecMojo
Determine all plugin dependencies relevant to the executable.
doExecClassLoader(String) - Method in class org.codehaus.mojo.exec.AbstractExecJavaBase
 
doExecModulePath(String, String) - Method in class org.codehaus.mojo.exec.AbstractExecJavaBase
Execute using module path (Java 9+ JPMS).
doExecModulePath(String, String) - Method in class org.codehaus.mojo.exec.ExecJavaMojo
Execute using module path (Java 9+ JPMS).
doRun(Class<?>) - Method in class org.codehaus.mojo.exec.AbstractExecJavaBase
 

E

EnvStreamConsumer - Class in org.codehaus.mojo.exec
 
EnvStreamConsumer() - Constructor for class org.codehaus.mojo.exec.EnvStreamConsumer
 
equals(Object) - Method in class org.codehaus.mojo.exec.ExecutableDependency
excludedJvmPackages - Variable in class org.codehaus.mojo.exec.AbstractExecJavaBase
Additional packages to NOT load from the jvm even if it is in a flat classpath.
ExecJavaMojo - Class in org.codehaus.mojo.exec
Executes the supplied java class in the current VM with the enclosing project's dependencies as classpath.
ExecJavaMojo(RepositorySystem, PlexusContainer) - Constructor for class org.codehaus.mojo.exec.ExecJavaMojo
 
ExecMojo - Class in org.codehaus.mojo.exec
A Plugin for executing external programs.
ExecMojo(RepositorySystem, ToolchainManager) - Constructor for class org.codehaus.mojo.exec.ExecMojo
 
executableDependency - Variable in class org.codehaus.mojo.exec.AbstractExecMojo
If provided the ExecutableDependency identifies which of the plugin dependencies contains the executable class.
ExecutableDependency - Class in org.codehaus.mojo.exec
ExecutableDependency class.
ExecutableDependency() - Constructor for class org.codehaus.mojo.exec.ExecutableDependency
 
execute() - Method in class org.codehaus.mojo.exec_maven_plugin.HelpMojo
execute() - Method in class org.codehaus.mojo.exec.AbstractExecJavaBase
Execute goal.
execute() - Method in class org.codehaus.mojo.exec.ExecMojo
priority in the execute method will be to use System properties arguments over the pom specification.
executeCommandLine(Executor, CommandLine, Map<String, String>, FileOutputStream) - Method in class org.codehaus.mojo.exec.ExecMojo
 
executeCommandLine(Executor, CommandLine, Map<String, String>, OutputStream, OutputStream) - Method in class org.codehaus.mojo.exec.ExecMojo
 
executeCommandLine(Executor, CommandLine, Map<String, String>, PumpStreamHandler) - Method in class org.codehaus.mojo.exec.ExecMojo
 
executeMainMethod(Class<?>) - Method in class org.codehaus.mojo.exec.AbstractExecJavaBase
Execute the main method.
exit(int) - Static method in class org.codehaus.mojo.exec.SystemExitManager
Always throws a SystemExitException when System.exit(int) is called, instead of terminating the JVM.
ExtendedExecutor - Class in org.codehaus.mojo.exec
An executor which has the ability to use the ProcessBuilder.inheritIO() flag.
ExtendedExecutor(boolean) - Constructor for class org.codehaus.mojo.exec.ExtendedExecutor
 

F

findExecutableArtifact() - Method in class org.codehaus.mojo.exec.AbstractExecMojo
Examine the plugin dependencies to find the executable artifact.
findMethod(Class<?>, String, boolean, Class<?>[]) - Method in class org.codehaus.mojo.exec.AbstractExecJavaBase
Finds a method with the given name, parameter types, and static modifier requirement.
forcedJvmPackages - Variable in class org.codehaus.mojo.exec.AbstractExecJavaBase
Additional packages to load from the jvm even if a classpath dependency matches.

G

getActiveThreads(ThreadGroup) - Method in class org.codehaus.mojo.exec.AbstractExecJavaBase
 
getArtifactId() - Method in class org.codehaus.mojo.exec.ExecutableDependency
Getter for the field artifactId.
getClassLoader() - Method in class org.codehaus.mojo.exec.AbstractExecJavaBase
Set up a classloader for the execution of the main class.
getDependencies() - Method in class org.codehaus.mojo.exec.Modulepath
 
getExitCode() - Method in exception org.codehaus.mojo.exec.SystemExitException
 
getGroupId() - Method in class org.codehaus.mojo.exec.ExecutableDependency
Getter for the field groupId.
getKey() - Method in class org.codehaus.mojo.exec.Property
Getter for the field key.
getParsedEnv() - Method in class org.codehaus.mojo.exec.EnvStreamConsumer
 
getPluginDependencies() - Method in class org.codehaus.mojo.exec.AbstractExecMojo
 
getProcessDestroyer() - Method in class org.codehaus.mojo.exec.ExecMojo
 
getSession() - Method in class org.codehaus.mojo.exec.AbstractExecMojo
 
getSuccessCodes() - Method in class org.codehaus.mojo.exec.ExecMojo
 
getSystemProperty(String) - Method in class org.codehaus.mojo.exec.ExecMojo
 
getUnparsedLines() - Method in class org.codehaus.mojo.exec.EnvStreamConsumer
 
getValue() - Method in class org.codehaus.mojo.exec.Property
Getter for the field value.

H

hasCommandlineArgs() - Method in class org.codehaus.mojo.exec.AbstractExecMojo
 
hashCode() - Method in class org.codehaus.mojo.exec.ExecutableDependency
HelpMojo - Class in org.codehaus.mojo.exec_maven_plugin
Display help information on exec-maven-plugin.
Call mvn exec:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.
HelpMojo() - Constructor for class org.codehaus.mojo.exec_maven_plugin.HelpMojo
 

I

includePluginDependencies - Variable in class org.codehaus.mojo.exec.AbstractExecMojo
Indicates if this plugin's dependencies should be used when executing the main class.
includeProjectDependencies - Variable in class org.codehaus.mojo.exec.AbstractExecJavaBase
Indicates if the project dependencies should be used when executing the main class.
isSkip() - Method in class org.codehaus.mojo.exec.AbstractExecMojo
Check if the execution should be skipped

J

joinNonDaemonThreads(ThreadGroup) - Method in class org.codehaus.mojo.exec.AbstractExecJavaBase
 
joinThread(Thread, long) - Method in class org.codehaus.mojo.exec.AbstractExecJavaBase
 

K

keepAlive - Variable in class org.codehaus.mojo.exec.AbstractExecJavaBase
Deprecated.
since 1.1-alpha-1

L

launch(CommandLine, Map<String, String>, File) - Method in class org.codehaus.mojo.exec.ExtendedExecutor
 
launch(CommandLine, Map<String, String>, Path) - Method in class org.codehaus.mojo.exec.ExtendedExecutor
 
lookup(Parameter, String) - Method in class org.codehaus.mojo.exec.AbstractExecJavaBase
 
lookupParam(Parameter) - Method in class org.codehaus.mojo.exec.AbstractExecJavaBase
 

M

mainClass - Variable in class org.codehaus.mojo.exec.AbstractExecJavaBase
The main class to execute.
With Java 9 and above you can prefix it with the modulename, e.g.
matches(Artifact) - Method in class org.codehaus.mojo.exec.ExecutableDependency
Matches the groupId and artifactId.
Modulepath - Class in org.codehaus.mojo.exec
 
Modulepath() - Constructor for class org.codehaus.mojo.exec.Modulepath
 
MODULEPATH_TOKEN - Static variable in class org.codehaus.mojo.exec.ExecMojo
 

N

newInstance(Class<?>) - Method in class org.codehaus.mojo.exec.AbstractExecJavaBase
 

O

org.codehaus.mojo.exec - package org.codehaus.mojo.exec
 
org.codehaus.mojo.exec_maven_plugin - package org.codehaus.mojo.exec_maven_plugin
 
originalSystemProperties - Variable in class org.codehaus.mojo.exec.AbstractExecJavaBase
 

P

parseCommandlineArgs() - Method in class org.codehaus.mojo.exec.AbstractExecMojo
Parses the argument string given by the user.
preloadCommonPool - Variable in class org.codehaus.mojo.exec.AbstractExecJavaBase
Forces the creation of fork join common pool to avoids the threads to be owned by the isolated thread group and prevent a proper shutdown.
preloadCommonPool() - Method in class org.codehaus.mojo.exec.AbstractExecJavaBase
To avoid the exec:java to consider common pool threads leaked, let's pre-create them.
project - Variable in class org.codehaus.mojo.exec.AbstractExecMojo
The enclosing project.
ProjectProperties - Class in org.codehaus.mojo.exec
Represents all project properties (to set as system properties).
ProjectProperties() - Constructor for class org.codehaus.mojo.exec.ProjectProperties
 
propertiesUpdater(Properties) - Method in class org.codehaus.mojo.exec.AbstractExecJavaBase
 
Property - Class in org.codehaus.mojo.exec
Wrapper class for the systemProperty argument type.
Property() - Constructor for class org.codehaus.mojo.exec.Property
 

R

registerSourceRoots() - Method in class org.codehaus.mojo.exec.AbstractExecMojo
Register compile and compile tests source roots if necessary
repositorySystem - Variable in class org.codehaus.mojo.exec.AbstractExecMojo
 
resolveVersion(Function<VersionRangeResult, Object>) - Method in class org.codehaus.mojo.exec.AbstractExecJavaBase
 

S

setArtifactId(String) - Method in class org.codehaus.mojo.exec.ExecutableDependency
Setter for the field artifactId.
setDependencies(Collection<String>) - Method in class org.codehaus.mojo.exec.Modulepath
 
setDependency(String) - Method in class org.codehaus.mojo.exec.Modulepath
 
setGroupId(String) - Method in class org.codehaus.mojo.exec.ExecutableDependency
Setter for the field groupId.
setKey(String) - Method in class org.codehaus.mojo.exec.Property
Setter for the field key.
setSuccessCodes(Integer...) - Method in class org.codehaus.mojo.exec.ExecMojo
 
setSystemProperties() - Method in class org.codehaus.mojo.exec.AbstractExecJavaBase
Pass any given system properties to the java system properties.
setValue(String) - Method in class org.codehaus.mojo.exec.Property
Setter for the field value.
START_PARSING_INDICATOR - Static variable in class org.codehaus.mojo.exec.EnvStreamConsumer
 
stopUnresponsiveDaemonThreads - Variable in class org.codehaus.mojo.exec.AbstractExecJavaBase
Wether to call Thread.stop() following a timing out of waiting for an interrupted thread to finish.
SystemExitException - Exception in org.codehaus.mojo.exec
Exception to be thrown by SystemExitManager when System.exit(int) is called
SystemExitException(String, int) - Constructor for exception org.codehaus.mojo.exec.SystemExitException
 
SystemExitManager - Class in org.codehaus.mojo.exec
Will be used by BlockExitTransformer to replace System.exit(int) by this implementation.
systemProperties - Variable in class org.codehaus.mojo.exec.AbstractExecJavaBase
A list of system properties to be passed.
SystemProperty - Class in org.codehaus.mojo.exec
Just to comply to maven configuration (object converter) and the legacy configuration.
SystemProperty() - Constructor for class org.codehaus.mojo.exec.SystemProperty
 

T

terminateThreads(ThreadGroup) - Method in class org.codehaus.mojo.exec.AbstractExecJavaBase
 
THREAD_STOP_UNAVAILABLE - Static variable in class org.codehaus.mojo.exec.AbstractExecJavaBase
 
toString() - Method in class org.codehaus.mojo.exec.Modulepath
 
toString() - Method in class org.codehaus.mojo.exec.ExecutableDependency
transform(ClassLoader, String, Class<?>, ProtectionDomain, byte[]) - Method in class org.codehaus.mojo.exec.BlockExitTransformer
 

W

waitFor(long) - Method in class org.codehaus.mojo.exec.AbstractExecJavaBase
Stop program execution for nn millis.
A B C D E F G H I J K L M N O P R S T W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form