Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for findTool (0.05 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultToolchainManager.java

            }
    
            @Override
            public String getType() {
                return toolchain.getType();
            }
    
            @Override
            public String findTool(String toolName) {
                return toolchain.findTool(toolName);
            }
    
            @Override
            public boolean matchesRequirements(Map<String, String> requirements) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Toolchain.java

         * Gets the platform tool executable.
         *
         * @param toolName the tool platform independent tool name
         * @return file representing the tool executable, or null if the tool cannot be found
         */
        String findTool(String toolName);
    
        /**
         * Let the toolchain decide if it matches requirements defined
         * in the toolchain plugin configuration.
         *
         * @param requirements key value pair, may not be {@code null}
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/root/RootLocator.java

        @Nonnull
        default Path findMandatoryRoot(Path basedir) {
            Path rootDirectory = findRoot(basedir);
            if (rootDirectory == null) {
                throw new IllegalStateException(getNoRootMessage());
            }
            return rootDirectory;
        }
    
        @Nullable
        default Path findRoot(Path basedir) {
            Path rootDirectory = basedir;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/Utils.java

                case ERROR -> Logger.LEVEL_ERROR;
            };
        }
    
        @Nullable
        public static Path findRoot(Path topDirectory) {
            requireNonNull(topDirectory, "topDirectory");
            Path rootDirectory =
                    ServiceLoader.load(RootLocator.class).iterator().next().findRoot(topDirectory);
            if (rootDirectory != null) {
                return getCanonicalPath(rootDirectory);
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top