Package org.eclipse.tycho.versionbump
Class AbstractUpdateMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.eclipse.tycho.versionbump.AbstractUpdateMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
UpdateProductMojo
,UpdateTargetMojo
public abstract class AbstractUpdateMojo extends org.apache.maven.plugin.AbstractMojo
-
-
Field Summary
Fields Modifier and Type Field Description protected org.eclipse.sisu.equinox.EquinoxServiceFactory
equinox
protected String
executionEnvironment
protected org.eclipse.tycho.p2.resolver.facade.P2Resolver
p2
protected org.eclipse.tycho.p2.target.facade.TargetPlatformConfigurationStub
resolutionContext
-
Constructor Summary
Constructors Constructor Description AbstractUpdateMojo()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
doUpdate()
void
execute()
protected abstract File
getFileToBeUpdated()
-
-
-
Field Detail
-
equinox
@Component protected org.eclipse.sisu.equinox.EquinoxServiceFactory equinox
-
executionEnvironment
@Parameter(defaultValue="JavaSE-1.7") protected String executionEnvironment
-
p2
protected org.eclipse.tycho.p2.resolver.facade.P2Resolver p2
-
resolutionContext
protected org.eclipse.tycho.p2.target.facade.TargetPlatformConfigurationStub resolutionContext
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-
getFileToBeUpdated
protected abstract File getFileToBeUpdated()
-
doUpdate
protected abstract void doUpdate() throws IOException, URISyntaxException
- Throws:
IOException
URISyntaxException
-
-