eclipse:install-plugins

Install plugins resolved from the Maven repository system into an Eclipse instance.

Mojo Attributes :

  • Requires a Maven 2.0 project to execute.
  • Requires dependency resolution of artifacts in scope: compile

Optional Parameters

Name Type Description
archiverManager ArchiverManager Used to configure and retrieve an appropriate tool for extracting each resolved plugin dependency. It is conceivable that some resolved dependencies could be zip files, jar files, or other types, so the manager approach is a convenient way to provide extensibility here.
eclipseDir File This is the installed base directory of the Eclipse instance you want to modify.
inputHandler InputHandler Input handler, needed for comand line handling.
overwrite boolean Determines whether this mojo leaves existing installed plugins as-is, or overwrites them. Default value is false.
pluginDependencyTypes String Comma-delimited list of dependency <type/> values which will be installed in the eclipse instance's plugins directory. Default value is jar.
projectBuilder MavenProjectBuilder Used to retrieve the project metadata (POM) associated with each plugin dependency, to help determine whether that plugin should be installed as a jar, or expanded into a directory.

Parameter Details

archiverManager

Used to configure and retrieve an appropriate tool for extracting each resolved plugin dependency. It is conceivable that some resolved dependencies could be zip files, jar files, or other types, so the manager approach is a convenient way to provide extensibility here.

  • Type : org.codehaus.plexus.archiver.manager.ArchiverManager
  • Required : No

eclipseDir

This is the installed base directory of the Eclipse instance you want to modify.

  • Type : java.io.File
  • Required : No
  • Expression : ${eclipseDir}

inputHandler

Input handler, needed for comand line handling.

  • Type : org.codehaus.plexus.components.interactivity.InputHandler
  • Required : No

overwrite

Determines whether this mojo leaves existing installed plugins as-is, or overwrites them.

  • Type : boolean
  • Required : No
  • Expression : ${overwrite}
  • Default : false

pluginDependencyTypes

Comma-delimited list of dependency <type/> values which will be installed in the eclipse instance's plugins directory.

  • Type : java.lang.String
  • Required : No
  • Expression : ${pluginDependencyTypes}
  • Default : jar

projectBuilder

Used to retrieve the project metadata (POM) associated with each plugin dependency, to help determine whether that plugin should be installed as a jar, or expanded into a directory.

  • Type : org.apache.maven.project.MavenProjectBuilder
  • Required : No