Property | Optional? | Description |
---|---|---|
maven.eclipse.workspace | Yes |
Location of the
Eclipse
workspace that holds your configuration and source.
On Windows, this will be the
If this parameter is specified, the external-tools goal will use it as the destination to copy the generated file. |
maven.eclipse.goals | Yes (default=plugins) |
Generate Eclipse external tools mappings for the specified goals. This accepts two values: 'all' for all the goals, and 'plugins' to generate only the plugins' default goals. If this parameter is specified, the external-tools goal will use it as the destination to copy the generated file. |
maven.eclipse.junit | Yes (default=3.8.1) |
The version of JUnit you want added to your project. If this property is set to
none
then JUnit will not be added to your build classpath.
|
maven.eclipse.output.dir | Yes (default=${maven.build.dest) |
The directory to which Eclipse should output its classes. By default this is the same directory as Maven
generates its code however this can be changed so that
maven clean
does not interfere with Eclipse's build.
|
maven.eclipse.test.output.dir | Yes (default=${maven.test.dest} defined in test plugin) | The directory to which Eclipse should output its test classes. |
maven.eclipse.classpath.include | Yes |
Comma delimited list of additional source directories to include in the classpath, like
src/conf
.
|
maven.eclipse.resources.addtoclasspath | Yes | Specify whether to include the resources defined in the POM in the Eclipse classpath. Defaults to false. |
maven.eclipse.conclasspath | Yes |
Comma delimited list of additional kind "con" path to include in the classpath description file like
org.eclipse.pde.core.requiredPlugins
|
maven.eclipse.buildcommands | Yes | Comma delimited list of additional build commands to include in the project description file. The java builder will automatically be added if a java source dir is set (if not already specified in the list). |
maven.eclipse.projectnatures | Yes | Comma delimited list of additional project natures to include in the project description file. These natures will be added after the java nature (if the java nature is not already specified in the list). |
maven.eclipse.project.name | Yes |
Name of the generated project on Eclipse. Defaults to
${artifactId}
.
|
maven.gen.src | Yes (default=${maven.build.dir}/generated-sources) | The directory that generated source code is placed. Maven will select any directories under this as source code. This prevents the generated source from being removed whenever Eclipse does a clean build, and allows the generated code to be clearly in the build directory. |
maven.eclipse.src.extension |
Yes (default=
zip
)
|
The extension used for source attachments. Deprecated, source attachment are expected now at
MAVEN_REPO${groupId}/java-sources/${artifactId}-${version}-sources.jar
|
maven.eclipse.src.download |
Yes (default=
true
)
|
Specify if java sources archives need to be downloaded from the configured remote repositories. Defaults to true. |
maven.eclipse.javadoc.download |
Yes (default=
true
)
|
Specify if javadocs archives need to be downloaded from the configured remote repositories, when no source archive is available. Defaults to true. |
maven.eclipse.multiproject.basedir | Yes |
This is the base directory that the plugin will use when searching for projects to be processed. It is also the 'current directory' for relative paths
Default value is
|
maven.eclipse.multiproject.ignoreFailures | Yes |
Set this to true to allow the plugin to continue when any project fails during processing.
Default value is
|
maven.eclipse.multiproject.includes | Yes |
This is the list of file specifications to be included when searching for projects to be processed by the plugin. The 'top-level' project that you use to runmaven eclipse:multiproject
must not be included in the set of projects to be processed.
Default value is
|
maven.eclipse.multiproject.excludes | Yes |
This is the list of file specifications to be excluded when searching for projects to be processed by the plugin
Default value is
|
maven.eclipse.wtp.enable | Yes |
Do you want to generate settings for WTP? Default value : false. |
maven.eclipse.wtp.version | Yes |
The version of Web Tools Plateform used in eclipse. The plugin actually can create WTP R7(0.7) and 1.5 configuration files. Note that R7/1.5 configuration files are totally different, so be sure to check the version you are using. Valid values are : 0.7, 1.5 Default value is |
maven.eclipse.servletapilist | Yes |
List of servlet api used to find the servlet version to set in wtp. Default value is |
Note that you will need to defined a
MAVEN_REPO
Java Classpath variable in Eclipse. This is done by selecting the Window menu, then Preferences. In the dialog
box, select the Java node and then Classpath Variables. Create a new variable named
MAVEN_REPO
that points to your local Maven repository.