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 :
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 . |
ArtifactFactory component.
org.apache.maven.artifact.factory.ArtifactFactory
No
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
java.lang.String
No
${deployTo}
ArtifactDeployer component.
org.apache.maven.artifact.deployer.ArtifactDeployer
No
Eclipse installation dir. If not set, a value for this parameter will be asked on the command line.
java.io.File
No
${eclipseDir}
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"
java.lang.String
No
${forcedQualifier}
Input handler, needed for comand line handling.
org.codehaus.plexus.components.interactivity.InputHandler
No
ArtifactInstaller component.
org.apache.maven.artifact.installer.ArtifactInstaller
No
Resolve version ranges in generated pom dependencies to versions of the other plugins being converted
boolean
No
${resolveVersionRanges}
false
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.
boolean
No
${stripQualifier}
true