org.codehaus.tycho.osgicompiler
Class AbstractOsgiCompilerMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.tycho.osgicompiler.copied.AbstractCompilerMojo
org.codehaus.tycho.osgicompiler.AbstractOsgiCompilerMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- OsgiCompilerMojo, OsgiTestCompilerMojo
public abstract class AbstractOsgiCompilerMojo
- extends AbstractCompilerMojo
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RULE_SEPARATOR
public static final java.lang.String RULE_SEPARATOR
RULE_EXCLUDE_ALL
public static final java.lang.String RULE_EXCLUDE_ALL
- Exclude all but keep looking for other another match
- See Also:
- Constant Field Values
AbstractOsgiCompilerMojo
public AbstractOsgiCompilerMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
CompilationFailureException
- Specified by:
execute
in interface org.apache.maven.plugin.Mojo
- Overrides:
execute
in class AbstractCompilerMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
CompilationFailureException
initializeProjectContext
public void initializeProjectContext()
- public for testing purposes
getOutputDirectory
protected java.io.File getOutputDirectory()
- Specified by:
getOutputDirectory
in class AbstractCompilerMojo
getClasspathElements
public java.util.List<java.lang.String> getClasspathElements()
throws org.apache.maven.plugin.MojoExecutionException
- Specified by:
getClasspathElements
in class AbstractCompilerMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
getCompileSourceRoots
protected final java.util.List<java.lang.String> getCompileSourceRoots()
throws org.apache.maven.plugin.MojoExecutionException
- Specified by:
getCompileSourceRoots
in class AbstractCompilerMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
getConfiguredCompileSourceRoots
protected abstract java.util.List<java.lang.String> getConfiguredCompileSourceRoots()
getSourceInclusionScanner
protected org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner getSourceInclusionScanner(int staleMillis)
- Specified by:
getSourceInclusionScanner
in class AbstractCompilerMojo
getSourceInclusionScanner
protected org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner getSourceInclusionScanner(java.lang.String inputFileEnding)
- Specified by:
getSourceInclusionScanner
in class AbstractCompilerMojo
getPdeCompileSourceRoots
protected java.util.List<java.lang.String> getPdeCompileSourceRoots()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
getCompilerConfiguration
protected org.codehaus.plexus.compiler.CompilerConfiguration getCompilerConfiguration(java.util.List<java.lang.String> compileSourceRoots)
throws org.apache.maven.plugin.MojoExecutionException
- Overrides:
getCompilerConfiguration
in class AbstractCompilerMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
Copyright © 2008-2011. All Rights Reserved.