Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for findRoot (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. istioctl/pkg/describe/describe.go

    	for _, port := range svc.Spec.Ports {
    		if port.Protocol != "TCP" {
    			// Ignore UDP ports, which are not supported by Istio
    			continue
    		}
    		// Get port number
    		nport, err := pilotcontroller.FindPort(pod, &port)
    		if err == nil {
    			protocol := findProtocolForPort(&port)
    			fmt.Fprintf(writer, "   Port: %s %d/%s targets pod port %d\n", port.Name, port.Port, protocol, nport)
    		} else {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
Back to top