eclipse:to-maven

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 {@link MakeArtifactsMojo} Typical usage: mvn eclipse:to-maven -DdeployTo=maven.org::default::scpexe://repo1.maven.org/home/maven/repository-staging/to-ibiblio/eclipse-staging -DeclipseDir=.

Mojo Attributes:

    Optional Parameters

    Name Type Description
    artifactFactory ArtifactFactory ArtifactFactory component.
    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
    deployer ArtifactDeployer ArtifactDeployer component.
    eclipseDir File Eclipse installation dir. If not set, a value for this parameter will be asked on the command line.
    inputHandler InputHandler Input handler, needed for comand line handling.
    installer ArtifactInstaller ArtifactInstaller component.
    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.

    Parameter Details

    artifactFactory

    ArtifactFactory component.

    • Type: org.apache.maven.artifact.factory.ArtifactFactory
    • Required: No

    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
    • Expression: ${deployTo}

    deployer ArtifactDeployer component.
    • Type: org.apache.maven.artifact.deployer.ArtifactDeployer
    • Required: No

    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
    • Expression: ${eclipseDir}

    inputHandler Input handler, needed for comand line handling.
    • Type: org.codehaus.plexus.components.interactivity.InputHandler
    • Required: No

    installer ArtifactInstaller component.
    • Type: org.apache.maven.artifact.installer.ArtifactInstaller
    • Required: No

    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
    • Expression: ${stripQualifier}
    • Default: false