Package org.scoverage.plugin
Class SCoveragePreCompileMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.scoverage.plugin.SCoveragePreCompileMojo
- All Implemented Interfaces:
ContextEnabled
,Mojo
@Mojo(name="pre-compile",
defaultPhase=GENERATE_RESOURCES)
public class SCoveragePreCompileMojo
extends AbstractMojo
Configures project for compilation with SCoverage instrumentation.
Supported compiler plugins:
This is internal mojo, executed in forked
Supported compiler plugins:
This is internal mojo, executed in forked
scoverage
life cycle.
- Since:
- 1.0.0
- Author:
- Grzegorz Slowikowski
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List
<org.eclipse.aether.repository.RemoteRepository> protected org.eclipse.aether.RepositorySystemSession
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
Configures project for compilation with SCoverage instrumentation.Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
repoSession
@Parameter(defaultValue="${repositorySystemSession}", readonly=true) protected org.eclipse.aether.RepositorySystemSession repoSession -
remoteRepos
@Parameter(defaultValue="${project.remoteProjectRepositories}", readonly=true) protected List<org.eclipse.aether.repository.RemoteRepository> remoteRepos
-
-
Constructor Details
-
SCoveragePreCompileMojo
public SCoveragePreCompileMojo()
-
-
Method Details
-
execute
Configures project for compilation with SCoverage instrumentation.- Throws:
MojoExecutionException
- if unexpected problem occurs
-