Class UpdateLocalIndexMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="update-local-index",
          threadSafe=true)
    public class UpdateLocalIndexMojo
    extends org.apache.maven.plugin.AbstractMojo
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.Object LOCK  
      private org.apache.maven.project.MavenProject project  
      private EquinoxServiceFactory serviceFactory  
      • Fields inherited from interface org.apache.maven.plugin.Mojo

        ROLE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void addGavAndSave​(GAV gav, TychoRepositoryIndex index)  
      void execute()  
      • Methods inherited from class org.apache.maven.plugin.AbstractMojo

        getLog, getPluginContext, setLog, setPluginContext
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOCK

        private static final java.lang.Object LOCK
      • project

        @Parameter(property="project",
                   readonly=true,
                   required=true)
        private org.apache.maven.project.MavenProject project
    • Constructor Detail

      • UpdateLocalIndexMojo

        public UpdateLocalIndexMojo()
    • 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
      • addGavAndSave

        private void addGavAndSave​(GAV gav,
                                   TychoRepositoryIndex index)
                            throws java.io.IOException
        Throws:
        java.io.IOException