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:
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 . |
ArtifactFactory component.
org.apache.maven.artifact.factory.ArtifactFactory
No
id::layout::url
java.lang.String
No
${deployTo}
org.apache.maven.artifact.deployer.ArtifactDeployer
No
java.io.File
No
${eclipseDir}
org.codehaus.plexus.components.interactivity.InputHandler
No
org.apache.maven.artifact.installer.ArtifactInstaller
No
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}
false