Class MavenCli


  • public class MavenCli
    extends Object
    Author:
    Jason van Zyl
    • Field Detail

      • USER_HOME

        public static final String USER_HOME
      • USER_MAVEN_CONFIGURATION_HOME

        public static final File USER_MAVEN_CONFIGURATION_HOME
      • DEFAULT_USER_TOOLCHAINS_FILE

        public static final File DEFAULT_USER_TOOLCHAINS_FILE
      • DEFAULT_GLOBAL_TOOLCHAINS_FILE

        public static final File DEFAULT_GLOBAL_TOOLCHAINS_FILE
    • Constructor Detail

      • MavenCli

        public MavenCli()
      • MavenCli

        public MavenCli​(org.codehaus.plexus.classworlds.ClassWorld classWorld)
    • Method Detail

      • main

        public static void main​(String[] args)
      • main

        public static int main​(String[] args,
                               org.codehaus.plexus.classworlds.ClassWorld classWorld)
      • doMain

        public static int doMain​(String[] args,
                                 org.codehaus.plexus.classworlds.ClassWorld classWorld)
      • doMain

        public int doMain​(CliRequest cliRequest)
      • isAcceptableRootDirectory

        protected boolean isAcceptableRootDirectory​(Path path)
      • searchAcceptableRootDirectory

        protected Path searchAcceptableRootDirectory​(Path path)
      • createInterpolator

        protected static org.codehaus.plexus.interpolation.StringSearchInterpolator createInterpolator​(CliRequest cliRequest,
                                                                                                       Properties... properties)
      • getConsoleTransferListener

        protected org.eclipse.aether.transfer.TransferListener getConsoleTransferListener​(boolean printResourceNames)
      • getBatchTransferListener

        protected org.eclipse.aether.transfer.TransferListener getBatchTransferListener()
      • customizeContainer

        protected void customizeContainer​(org.codehaus.plexus.PlexusContainer container)
      • createModelProcessor

        protected ModelProcessor createModelProcessor​(org.codehaus.plexus.PlexusContainer container)
                                               throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
        Throws:
        org.codehaus.plexus.component.repository.exception.ComponentLookupException