Package org.eclipse.xtext.maven
Class AbstractXtextMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.eclipse.xtext.maven.AbstractXtextMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
AbstractInstallDebugInfoMojo,AbstractXtextGeneratorMojo
public abstract class AbstractXtextMojo
extends org.apache.maven.plugin.AbstractMojo
- Since:
- 2.26
- Author:
- Heinrich Weichert
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final ObjectLock object to ensure thread-safetyFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddCompileSourceRoots(Language language) protected voidaddTestCompileSourceRoots(Language language) org.apache.maven.project.MavenProjectprotected FileresolveFilePath(String path) Resolves the given relative file-path to an absolute File inside the project's base directoryMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.plugin.Mojo
execute
-
Field Details
-
lock
Lock object to ensure thread-safety
-
-
Constructor Details
-
AbstractXtextMojo
public AbstractXtextMojo()
-
-
Method Details
-
getProject
public org.apache.maven.project.MavenProject getProject() -
getLanguages
-
resolveFilePath
Resolves the given relative file-path to an absolute File inside the project's base directory- Parameters:
path- Relative file path- Returns:
- File with an absolute path
-
addCompileSourceRoots
-
addTestCompileSourceRoots
-