Class DirectorMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.eclipse.tycho.plugins.p2.director.DirectorMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="director",
defaultPhase=NONE,
threadSafe=true,
requiresProject=false)
public class DirectorMojo
extends org.apache.maven.plugin.AbstractMojo
Allows to run the director
application to manage Eclipse Installations. This mojo can be used in two ways
- As a commandline invocation passing arguments as properties using
mvn org.eclipse.tycho:tycho-p2-director-plugin:director -Ddestination=[target] ... -D... - as an execution inside a pom
<plugin> <groupId>org.eclipse.tycho</groupId> <artifactId>tycho-p2-director-plugin</artifactId> <version>${tycho-version}</version> <executions> <execution> <goals> <goal>director</goal> </goals> <phase>package</phase> <configuration> <destination>...</destination> ... other arguments ... </configuration> </execution> </executions> </plugin>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
DirectorMojo
public DirectorMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-