public abstract class AbstractTeaVMMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected File |
classFiles |
protected ClassLoader |
classLoader |
protected List<String> |
compileScopes |
protected boolean |
debugInformationGenerated |
protected boolean |
incremental |
protected org.apache.maven.artifact.repository.MavenArtifactRepository |
localRepository |
protected boolean |
minifying |
protected List<org.apache.maven.artifact.Artifact> |
pluginArtifacts |
protected org.apache.maven.project.MavenProject |
project |
protected Properties |
properties |
protected List<org.apache.maven.artifact.repository.MavenArtifactRepository> |
remoteRepositories |
protected org.apache.maven.repository.RepositorySystem |
repositorySystem |
protected boolean |
sourceFilesCopied |
protected boolean |
sourceMapsGenerated |
protected String[] |
transformers |
| Constructor and Description |
|---|
AbstractTeaVMMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addSourceProviders(List<org.teavm.tooling.sources.SourceFileProvider> providers) |
protected boolean |
filterByScope(org.apache.maven.artifact.Artifact artifact) |
protected List<File> |
getAdditionalClassPath() |
protected List<org.teavm.tooling.sources.SourceFileProvider> |
getSourceFileProviders() |
protected abstract File |
getTargetDirectory() |
protected List<org.teavm.model.ClassHolderTransformer> |
instantiateTransformers(ClassLoader classLoader) |
protected boolean |
isSupportedScope(String scope) |
protected ClassLoader |
prepareClassLoader() |
protected void |
setupTool(org.teavm.tooling.BaseTeaVMTool tool) |
getLog, getPluginContext, setLog, setPluginContext@Component protected org.apache.maven.project.MavenProject project
@Component protected org.apache.maven.repository.RepositorySystem repositorySystem
@Parameter(required=true,
readonly=true,
defaultValue="${localRepository}")
protected org.apache.maven.artifact.repository.MavenArtifactRepository localRepository
@Parameter(required=true,
readonly=true,
defaultValue="${project.remoteArtifactRepositories}")
protected List<org.apache.maven.artifact.repository.MavenArtifactRepository> remoteRepositories
@Parameter(readonly=true,
defaultValue="${plugin.artifacts}")
protected List<org.apache.maven.artifact.Artifact> pluginArtifacts
@Parameter(defaultValue="${project.build.outputDirectory}")
protected File classFiles
@Parameter protected boolean minifying
@Parameter protected Properties properties
@Parameter protected boolean debugInformationGenerated
@Parameter protected boolean sourceMapsGenerated
@Parameter protected boolean sourceFilesCopied
@Parameter protected boolean incremental
@Parameter protected String[] transformers
protected ClassLoader classLoader
protected abstract File getTargetDirectory()
protected final List<org.teavm.model.ClassHolderTransformer> instantiateTransformers(ClassLoader classLoader) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected void setupTool(org.teavm.tooling.BaseTeaVMTool tool)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected final ClassLoader prepareClassLoader() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected boolean filterByScope(org.apache.maven.artifact.Artifact artifact)
protected boolean isSupportedScope(String scope)
protected final List<org.teavm.tooling.sources.SourceFileProvider> getSourceFileProviders()
protected void addSourceProviders(List<org.teavm.tooling.sources.SourceFileProvider> providers)
Copyright © 2017. All rights reserved.