Package org.eclipse.tycho.versions
Class UpdatePomMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.eclipse.tycho.versions.UpdatePomMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="update-pom", aggregator=true, requiresDirectInvocation=true) public class UpdatePomMojo extends org.apache.maven.plugin.AbstractMojo
Update pom.xml version to match corresponding Eclipse/OSGi metadata.
-
-
Field Summary
Fields Modifier and Type Field Description protected ProjectMetadataReader
pomReader
private PomVersionUpdater
pomUpdater
protected org.apache.maven.execution.MavenSession
session
-
Constructor Summary
Constructors Constructor Description UpdatePomMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
-
-
-
Field Detail
-
session
@Parameter(property="session", readonly=true) protected org.apache.maven.execution.MavenSession session
-
pomReader
@Component protected ProjectMetadataReader pomReader
-
pomUpdater
@Component private PomVersionUpdater pomUpdater
-
-