Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for findTool (0.09 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)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

                }
            }
            return getCanonicalPath(topDirectory);
        }
    
        @Nullable
        protected Path getRootDirectory(LocalContext context) throws ParserException {
            return Utils.findRoot(context.topDirectory);
        }
    
        protected Map<String, String> populateSystemProperties(LocalContext context) throws ParserException {
            Properties systemProperties = new Properties();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

        }
    
        @Test
        public void findRootProjectWithAttribute() {
            Path test = Paths.get("src/test/projects/root-attribute");
            assertEquals(test, new DefaultRootLocator().findRoot(test.resolve("child")));
        }
    
        @Test
        public void testPropertiesInterpolation() throws Exception {
            FileSystem fs = Jimfs.newFileSystem(Configuration.windows());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  7. api/go1.21.txt

    pkg io/fs, func FormatFileInfo(FileInfo) string #54451
    pkg log/slog, const KindAny = 0 #56345
    pkg log/slog, const KindAny Kind #56345
    pkg log/slog, const KindBool = 1 #56345
    pkg log/slog, const KindBool Kind #56345
    pkg log/slog, const KindDuration = 2 #56345
    pkg log/slog, const KindDuration Kind #56345
    pkg log/slog, const KindFloat64 = 3 #56345
    pkg log/slog, const KindFloat64 Kind #56345
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            RootLocator rootLocator =
                    ServiceLoader.load(RootLocator.class).iterator().next();
            cliRequest.rootDirectory = rootLocator.findRoot(topDirectory);
    
            //
            // Make sure the Maven home directory is an absolute path to save us from confusion with say drive-relative
            // Windows paths.
            //
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
Back to top