tycho-eclipserun:eclipse-run

Full name:

org.eclipse.tycho.extras:tycho-eclipserun-plugin:2.7.5:eclipse-run

Description:

Launch an eclipse process with arbitrary commandline arguments. The eclipse installation is defined by the dependencies to bundles specified.

Attributes:

  • Requires a Maven project to be executed.
  • The goal is thread-safe and supports parallel builds.

Required Parameters

Name Type Since Description
<repositories> List - p2 repositories which will be used to resolve dependencies. Example:
<repositories>
 <repository>
  <id>juno</id>
  <layout>p2</layout>
  <url>https://download.eclipse.org/releases/juno</url>
 </repository>
</repositories>

Optional Parameters

Name Type Since Description
<addDefaultDependencies> boolean - Whether to add default dependencies to bundles org.eclipse.equinox.launcher, org.eclipse.osgi and org.eclipse.core.runtime.
Default value is: true.
<appArgLine> String - Deprecated. use applicationsArgs instead.
<applicationsArgs> List 0.24.0 List of applications arguments set on the command line. Example:
<applicationsArgs>
  <args>-buildfile</args>
  <args>build-test.xml</args>
</applicationsArgs>

<argLine> String - Deprecated. use jvmArgs instead.
<clearWorkspaceBeforeLaunch> boolean - Whether the workspace should be cleared before running eclipse.

If false and a workspace from a previous run exists, that workspace is reused.


Default value is: true.
<dependencies> List - Dependencies which will be resolved transitively to make up the eclipse runtime. Example:
<dependencies>
 <dependency>
  <artifactId>org.eclipse.ant.core</artifactId>
  <type>eclipse-plugin</type>
 </dependency>
</dependencies>

<environmentVariables> Map - Additional environments to set for the forked JVM.
<executionEnvironment> String - Execution environment profile name used to resolve dependencies.
Default value is: JavaSE-11.
<forkedProcessTimeoutInSeconds> int - Kill the forked process after a certain number of seconds. If set to 0, wait forever for the process, never timing out.
User property is: eclipserun.timeout.
<jvmArgs> List 0.25.0 List of JVM arguments set on the command line. Example:
<jvmArgs>
  <args>-Xdebug</args>
  <args>-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044</args>
</jvmArgs>

<project> MavenProject - (no description)
User property is: project.
<skip> boolean - Whether to skip mojo execution.
Default value is: false.
User property is: eclipserun.skip.
<work> File - Work area. This includes:
  • <work>/configuration: The configuration area (-configuration)
  • <work>/data: The data ('workspace') area (-data)

Default value is: ${project.build.directory}/eclipserun-work.

Parameter Details

<addDefaultDependencies>

Whether to add default dependencies to bundles org.eclipse.equinox.launcher, org.eclipse.osgi and org.eclipse.core.runtime.
  • Type: boolean
  • Required: No
  • Default: true

<appArgLine>

Deprecated. use applicationsArgs instead.
Arbitrary applications arguments to set on the command line.
  • Type: java.lang.String
  • Required: No

<applicationsArgs>

List of applications arguments set on the command line. Example:
<applicationsArgs>
  <args>-buildfile</args>
  <args>build-test.xml</args>
</applicationsArgs>
  • Type: java.util.List
  • Since: 0.24.0
  • Required: No

<argLine>

Deprecated. use jvmArgs instead.
Arbitrary JVM options to set on the command line.
  • Type: java.lang.String
  • Required: No

<clearWorkspaceBeforeLaunch>

Whether the workspace should be cleared before running eclipse.

If false and a workspace from a previous run exists, that workspace is reused.

  • Type: boolean
  • Required: No
  • Default: true

<dependencies>

Dependencies which will be resolved transitively to make up the eclipse runtime. Example:
<dependencies>
 <dependency>
  <artifactId>org.eclipse.ant.core</artifactId>
  <type>eclipse-plugin</type>
 </dependency>
</dependencies>
  • Type: java.util.List
  • Required: No

<environmentVariables>

Additional environments to set for the forked JVM.
  • Type: java.util.Map
  • Required: No

<executionEnvironment>

Execution environment profile name used to resolve dependencies.
  • Type: java.lang.String
  • Required: No
  • Default: JavaSE-11

<forkedProcessTimeoutInSeconds>

Kill the forked process after a certain number of seconds. If set to 0, wait forever for the process, never timing out.
  • Type: int
  • Required: No
  • User Property: eclipserun.timeout

<jvmArgs>

List of JVM arguments set on the command line. Example:
<jvmArgs>
  <args>-Xdebug</args>
  <args>-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044</args>
</jvmArgs>
  • Type: java.util.List
  • Since: 0.25.0
  • Required: No

<project>

(no description)
  • Type: org.apache.maven.project.MavenProject
  • Required: No
  • User Property: project

<repositories>

p2 repositories which will be used to resolve dependencies. Example:
<repositories>
 <repository>
  <id>juno</id>
  <layout>p2</layout>
  <url>https://download.eclipse.org/releases/juno</url>
 </repository>
</repositories>
  • Type: java.util.List
  • Required: Yes

<skip>

Whether to skip mojo execution.
  • Type: boolean
  • Required: No
  • User Property: eclipserun.skip
  • Default: false

<work>

Work area. This includes:
  • <work>/configuration: The configuration area (-configuration)
  • <work>/data: The data ('workspace') area (-data)
  • Type: java.io.File
  • Required: No
  • Default: ${project.build.directory}/eclipserun-work