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.LogEnabled
Checks the consistency of the aggregated p2 repository.
-
-
Field Summary
Fields Modifier and Type Field Description private org.codehaus.plexus.logging.Logger
logger
private EquinoxServiceFactory
p2
-
Constructor Summary
Constructors Constructor Description VerifyIntegrityRepositoryMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
enableLogging(org.codehaus.plexus.logging.Logger logger)
void
execute()
-
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:
execute
in interfaceorg.apache.maven.plugin.Mojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-
enableLogging
public void enableLogging(org.codehaus.plexus.logging.Logger logger)
- Specified by:
enableLogging
in interfaceorg.codehaus.plexus.logging.LogEnabled
-
-