Class InstallProjectStoreMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.bonitasoft.plugin.install.InstallProjectStoreMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="install", defaultPhase=NONE) public class InstallProjectStoreMojo extends org.apache.maven.plugin.AbstractMojo
This mojo looks for unknown dependencies in the current project and look for them in a project local dependency store (.store folder by default). Install missing dependencies found in the local store in the local repository.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.apache.maven.artifact.repository.ArtifactRepository
    Local Repository.

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
    InstallProjectStoreMojo(org.apache.maven.lifecycle.internal.ProjectArtifactFactory artifactFactory, org.apache.maven.model.io.ModelReader modelReader, org.apache.maven.model.io.ModelWriter modelWriter)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    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 Details

    • localRepository

      @Parameter(defaultValue="${localRepository}", readonly=true, required=true) protected org.apache.maven.artifact.repository.ArtifactRepository localRepository
      Local Repository.
  • Constructor Details

    • InstallProjectStoreMojo

      @Inject public InstallProjectStoreMojo(org.apache.maven.lifecycle.internal.ProjectArtifactFactory artifactFactory, org.apache.maven.model.io.ModelReader modelReader, org.apache.maven.model.io.ModelWriter modelWriter)
  • Method Details

    • 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