Class ExportMojo

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

    @Mojo(name="export",
          requiresProject=false)
    public class ExportMojo
    extends AbstractScmMojo
    Get a fresh exported copy of the latest source from the configured scm url.
    Author:
    Emmanuel Venisse
    • Constructor Detail

      • ExportMojo

        @Inject
        public ExportMojo​(ScmManager manager,
                          org.apache.maven.settings.crypto.SettingsDecrypter settingsDecrypter)
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException
        Specified by:
        execute in interface org.apache.maven.plugin.Mojo
        Overrides:
        execute in class AbstractScmMojo
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • export

        protected void export()
                       throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException