Class VerifyIntegrityRepositoryMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.eclipse.tycho.core.maven.AbstractP2Mojo
-
- org.eclipse.tycho.plugins.p2.repository.VerifyIntegrityRepositoryMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo,org.codehaus.plexus.logging.LogEnabled
@Mojo(name="verify-repository", defaultPhase=VERIFY) public class VerifyIntegrityRepositoryMojo extends AbstractP2Mojo implements org.codehaus.plexus.logging.LogEnabledChecks the consistency of the aggregated p2 repository.
-
-
Field Summary
Fields Modifier and Type Field Description private org.codehaus.plexus.logging.Loggerloggerprivate EquinoxServiceFactoryp2
-
Constructor Summary
Constructors Constructor Description VerifyIntegrityRepositoryMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidenableLogging(org.codehaus.plexus.logging.Logger logger)voidexecute()-
Methods inherited from class org.eclipse.tycho.core.maven.AbstractP2Mojo
getBuildContext, getBuildDirectory, getEnvironments, getProject, getProjectIdentities, getQualifier, getReactorProject, getSession
-
-
-
-
Field Detail
-
logger
private org.codehaus.plexus.logging.Logger logger
-
p2
@Component private EquinoxServiceFactory p2
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Specified by:
executein interfaceorg.apache.maven.plugin.Mojo- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
enableLogging
public void enableLogging(org.codehaus.plexus.logging.Logger logger)
- Specified by:
enableLoggingin interfaceorg.codehaus.plexus.logging.LogEnabled
-
-