Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for CliUtils (0.11 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CliUtils.java

    import static java.util.Objects.requireNonNull;
    
    /**
     * Various utilities, mostly to bridge "old" and "new" stuff, like Properties vs Maps, File vs Paths, etc.
     */
    public final class CliUtils {
        private CliUtils() {}
    
        @Nonnull
        public static String stripLeadingAndTrailingQuotes(String str) {
            requireNonNull(str, "str");
            final int length = str.length();
            if (length > 1
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 13 18:30:29 UTC 2025
    - 5K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

    import static org.apache.maven.cling.invoker.CliUtils.createInterpolator;
    import static org.apache.maven.cling.invoker.CliUtils.getCanonicalPath;
    import static org.apache.maven.cling.invoker.CliUtils.or;
    import static org.apache.maven.cling.invoker.CliUtils.prefix;
    import static org.apache.maven.cling.invoker.CliUtils.stripLeadingAndTrailingQuotes;
    import static org.apache.maven.cling.invoker.CliUtils.toMap;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:39:11 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CWD.java

     */
    public final class CWD implements Supplier<Path> {
        /**
         * Creates instance out of {@link Path}.
         */
        public static CWD create(Path path) {
            return new CWD(CliUtils.getCanonicalPath(path));
        }
    
        private Path directory;
    
        private CWD(Path directory) {
            this.directory = directory;
        }
    
        @Nonnull
        @Override
        public Path get() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Mar 24 14:09:05 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupContext.java

            this.invokerRequest = requireNonNull(invokerRequest);
            this.cwd = CWD.create(invokerRequest.cwd());
            this.installationDirectory = CliUtils.getCanonicalPath(invokerRequest.installationDirectory());
            this.userDirectory = CliUtils.getCanonicalPath(invokerRequest.userHomeDirectory());
            this.containerCapsuleManaged = containerCapsuleManaged;
            this.options = options;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsule.java

    import org.apache.maven.internal.impl.DefaultLookup;
    import org.codehaus.plexus.DefaultPlexusContainer;
    
    import static java.util.Objects.requireNonNull;
    import static org.apache.maven.cling.invoker.CliUtils.toPlexusLoggingLevel;
    
    /**
     * Container capsule backed by Plexus Container.
     */
    public class PlexusContainerCapsule implements ContainerCapsule {
        private final ClassLoader previousClassLoader;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Mar 24 14:09:05 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

    import org.codehaus.plexus.logging.LoggerManager;
    import org.slf4j.ILoggerFactory;
    
    import static java.util.Objects.requireNonNull;
    import static org.apache.maven.cling.invoker.CliUtils.toPlexusLoggingLevel;
    
    /**
     * Container capsule backed by Plexus Container.
     *
     * @param <C> The context type.
     */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

    import org.apache.maven.jline.MessageUtils;
    
    import static java.util.Objects.requireNonNull;
    import static org.apache.maven.cling.invoker.CliUtils.createInterpolator;
    import static org.apache.maven.cling.invoker.CliUtils.toMap;
    
    public class CommonsCliOptions implements Options {
        public static CommonsCliOptions parse(String source, String[] args) throws ParseException {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Oct 08 07:36:42 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

    import org.apache.maven.api.services.model.ModelProcessor;
    import org.apache.maven.api.toolchain.PersistedToolchains;
    import org.apache.maven.cling.event.ExecutionEventLogger;
    import org.apache.maven.cling.invoker.CliUtils;
    import org.apache.maven.cling.invoker.LookupContext;
    import org.apache.maven.cling.invoker.LookupInvoker;
    import org.apache.maven.cling.transfer.ConsoleMavenTransferListener;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 11 17:20:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

    import org.slf4j.LoggerFactory;
    import org.slf4j.spi.LocationAwareLogger;
    
    import static java.util.Objects.requireNonNull;
    import static org.apache.maven.cling.invoker.CliUtils.toMavenExecutionRequestLoggingLevel;
    import static org.apache.maven.cling.invoker.CliUtils.toProperties;
    
    /**
     * Lookup invoker implementation, that boots up DI container.
     *
     * @param <C> The context type.
     */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 28 13:01:07 UTC 2025
    - 43.2K bytes
    - Viewed (0)
Back to top