Class ResolveDependenciesMojo

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

    @Mojo(name="resolve-dependencies",
          threadSafe=true,
          requiresOnline=true,
          aggregator=true)
    public class ResolveDependenciesMojo
    extends AbstractGoOfflineMojo
    Mojo used to download all dependencies of a project or reactor to the local repository.

    This includes:

    • Direct and transitive dependencies declared in POMs
    • All plugins used for the build and their transitive dependencies
    • Dependencies of plugins declared in POMs
    • DynamicDependencies configured in the go-offline-maven-plugin configuration
    Author:
    Andreas Janning andreas.janning@qaware.de
    • Field Summary

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

        ROLE
    • Constructor Detail

      • ResolveDependenciesMojo

        public ResolveDependenciesMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException