Package org.eclipse.tycho.versionbump
Class UpdateTargetMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.eclipse.tycho.versionbump.AbstractUpdateMojo
-
- org.eclipse.tycho.versionbump.UpdateTargetMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="update-target") public class UpdateTargetMojo extends AbstractUpdateMojo
Quick&dirty way to update .target file to use latest versions of IUs available from specified metadata repositories.
-
-
Field Summary
Fields Modifier and Type Field Description private org.apache.maven.project.MavenProject
project
private java.io.File
targetFile
-
Fields inherited from class org.eclipse.tycho.versionbump.AbstractUpdateMojo
equinox, executionEnvironment, p2, resolutionContext
-
-
Constructor Summary
Constructors Constructor Description UpdateTargetMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doUpdate()
protected java.io.File
getFileToBeUpdated()
-
Methods inherited from class org.eclipse.tycho.versionbump.AbstractUpdateMojo
execute
-
-
-
-
Method Detail
-
doUpdate
protected void doUpdate() throws java.io.IOException, java.net.URISyntaxException
- Specified by:
doUpdate
in classAbstractUpdateMojo
- Throws:
java.io.IOException
java.net.URISyntaxException
-
getFileToBeUpdated
protected java.io.File getFileToBeUpdated()
- Specified by:
getFileToBeUpdated
in classAbstractUpdateMojo
-
-