Fork me on GitHub

eclipse:to-maven

Full name:

org.apache.maven.plugins:maven-eclipse-plugin:2.10:to-maven

Description:

Add eclipse artifacts from an eclipse installation to the local repo. This mojo automatically analize the eclipse directory, copy plugins jars to the local maven repo, and generates appropriate poms. This is the official central repository builder for Eclipse plugins, so it has the necessary default values. For customized repositories see MakeArtifactsMojo Typical usage: mvn eclipse:to-maven -DdeployTo=maven.org::default::scpexe://repo1.maven.org/home/maven/repository-staging/to-ibiblio/eclipse-staging -DeclipseDir=.

Attributes:

Optional Parameters

Name Type Since Description
deployTo String - Specifies a remote repository to which generated artifacts should be deployed to. If this property is specified, artifacts are also deployed to the remote repo. The format for this parameter is id::layout::url
User property is: deployTo.
eclipseDir File - Eclipse installation dir. If not set, a value for this parameter will be asked on the command line.
User property is: eclipseDir.
stripQualifier boolean - Strip qualifier (fourth token) from the plugin version. Qualifiers are for eclipse plugin the equivalent of timestamped snapshot versions for Maven, but the date is maintained also for released version (e.g. a jar for the release 3.2 can be named org.eclipse.core.filesystem_1.0.0.v20060603.jar. It's usually handy to not to include this qualifier when generating maven artifacts for major releases, while it's needed when working with eclipse integration/nightly builds.
Default value is: false.
User property is: stripQualifier.

Parameter Details

deployTo:

Specifies a remote repository to which generated artifacts should be deployed to. If this property is specified, artifacts are also deployed to the remote repo. The format for this parameter is id::layout::url
  • Type: java.lang.String
  • Required: No
  • User Property: deployTo

eclipseDir:

Eclipse installation dir. If not set, a value for this parameter will be asked on the command line.
  • Type: java.io.File
  • Required: No
  • User Property: eclipseDir

stripQualifier:

Strip qualifier (fourth token) from the plugin version. Qualifiers are for eclipse plugin the equivalent of timestamped snapshot versions for Maven, but the date is maintained also for released version (e.g. a jar for the release 3.2 can be named org.eclipse.core.filesystem_1.0.0.v20060603.jar. It's usually handy to not to include this qualifier when generating maven artifacts for major releases, while it's needed when working with eclipse integration/nightly builds.
  • Type: boolean
  • Required: No
  • User Property: stripQualifier
  • Default: false