EclipseToMavenMojo for the latest naming conventionspublic class MakeArtifactsMojo extends EclipseToMavenMojo implements org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
eclipse:to-maven for the latest naming conventions in place, groupId.
artifactId.| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
forcedQualifier
Deprecated.
Default token to use as a qualifier.
|
private boolean |
resolveVersionRanges
Deprecated.
Resolve version ranges in generated pom dependencies to versions of the other plugins being converted
|
private boolean |
stripQualifier
Deprecated.
Strip qualifier (fourth token) from the plugin version.
|
inputHandler, installer| Constructor and Description |
|---|
MakeArtifactsMojo()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
createArtifactId(java.lang.String bundleName)
Deprecated.
Get the artifact id equal to the bundleName e.g.
|
protected java.lang.String |
createGroupId(java.lang.String bundleName)
Deprecated.
Get the group id as the three first tokens in artifacts Id e.g.
|
protected java.lang.String |
osgiVersionToMavenVersion(java.lang.String version)
Deprecated.
|
protected void |
processPlugin(EclipseOsgiPlugin plugin,
org.apache.maven.model.Model model,
java.util.Map plugins,
java.util.Map models)
Deprecated.
|
protected void |
resolveVersionRanges(org.apache.maven.model.Model model,
java.util.Map models)
Deprecated.
Resolve version ranges in the model provided, overriding version ranges with versions from the dependency in the
provided map of models.
|
contextualize, execute, fixBuildNumberSeparator, getKey, osgiVersionToMavenVersion, parseDependencies, processFilegetLog, getPluginContext, setLog, setPluginContextprivate boolean stripQualifier
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.private java.lang.String forcedQualifier
private boolean resolveVersionRanges
protected java.lang.String osgiVersionToMavenVersion(java.lang.String version)
osgiVersionToMavenVersion in class EclipseToMavenMojoprotected java.lang.String createGroupId(java.lang.String bundleName)
org.eclipse.jdt ->
org.eclipse.jdtcreateGroupId in class EclipseToMavenMojobundleName - bundle nameprotected java.lang.String createArtifactId(java.lang.String bundleName)
org.eclipse.jdt -> org.eclipse.jdtcreateArtifactId in class EclipseToMavenMojobundleName - bundle nameprotected void resolveVersionRanges(org.apache.maven.model.Model model,
java.util.Map models)
throws org.apache.maven.plugin.MojoFailureException
EclipseToMavenMojoresolveVersionRanges in class EclipseToMavenMojoorg.apache.maven.plugin.MojoFailureExceptionprotected void processPlugin(EclipseOsgiPlugin plugin, org.apache.maven.model.Model model, java.util.Map plugins, java.util.Map models) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
processPlugin in class EclipseToMavenMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException