eclipse:make-artifacts

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. Use eclipse:to-maven for the latest naming conventions in place, groupId.artifactId.

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.
    forcedQualifier String Default token to use as a qualifier. Tipically qualifiers for plugins in the same eclipse build are different. This parameter can be used to "align" qualifiers so that all the plugins coming from the same eclipse build can be easily identified. For example, setting this to "M3" will force the pluging versions to be "*.*.*.M3"
    inputHandler InputHandler Input handler, needed for comand line handling.
    installer ArtifactInstaller ArtifactInstaller component.
    resolveVersionRanges boolean Resolve version ranges in generated pom dependencies to versions of the other plugins being converted Default value is false.
    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 true.

    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}

    forcedQualifier Default token to use as a qualifier. Tipically qualifiers for plugins in the same eclipse build are different. This parameter can be used to "align" qualifiers so that all the plugins coming from the same eclipse build can be easily identified. For example, setting this to "M3" will force the pluging versions to be "*.*.*.M3"
    • Type: java.lang.String
    • Required: No
    • Expression: ${forcedQualifier}

    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

    resolveVersionRanges Resolve version ranges in generated pom dependencies to versions of the other plugins being converted
    • Type: boolean
    • Required: No
    • Expression: ${resolveVersionRanges}
    • Default: false

    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: true