Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 30 for rootDirectory (0.44 seconds)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/ProtoSession.java

                return this;
            }
    
            public Builder withRootDirectory(@Nullable Path rootDirectory) {
                this.rootDirectory = rootDirectory;
                return this;
            }
    
            public ProtoSession build() {
                return new Impl(userProperties, systemProperties, startTime, topDirectory, rootDirectory);
            }
    
            private static class Impl implements ProtoSession {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseInvokerRequest.java

            this.userProperties = requireNonNull(userProperties);
            this.systemProperties = requireNonNull(systemProperties);
            this.topDirectory = requireNonNull(topDirectory);
            this.rootDirectory = rootDirectory;
            this.coreExtensions = coreExtensions;
            this.ciInfo = ciInfo;
            this.options = options;
        }
    
        @Override
        public ParserRequest parserRequest() {
            return parserRequest;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderRequest.java

            public XmlReaderRequestBuilder path(Path path) {
                this.path = path;
                return this;
            }
    
            public XmlReaderRequestBuilder rootDirectory(Path rootDirectory) {
                this.rootDirectory = rootDirectory;
                return this;
            }
    
            public XmlReaderRequestBuilder url(URL url) {
                this.url = url;
                return this;
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Aug 29 12:46:27 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

                // project present, but we could not determine rootDirectory: extra work needed
                if (context.invokerRequest.rootDirectory().isEmpty()) {
                    Path rootDirectory = CliUtils.findMandatoryRoot(context.invokerRequest.topDirectory());
                    request.setMultiModuleProjectDirectory(rootDirectory.toFile());
                    request.setRootDirectory(rootDirectory);
                }
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CliUtils.java

        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);
            }
            return null;
        }
    
        @Nonnull
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 13 18:30:29 GMT 2025
    - 5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

            byte[] buffer = new byte[100];
            buffer[0] = 1; // replaceIfExists = true
            // Skip 7 reserved bytes (1-7)
            // Skip 8 bytes for RootDirectory (8-15)
            SMBUtil.writeInt4(nameBytes.length, buffer, 16);
            System.arraycopy(nameBytes, 0, buffer, 20, nameBytes.length);
    
            FileRenameInformation2 info = new FileRenameInformation2();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  7. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            Files.writeString(mavenUserProps, "${includes} = ?${session.rootDirectory}/.mvn/maven-user.properties\n");
            Path rootDirectory = fs.getPath("C:\\myRootDirectory");
            Path topDirectory = rootDirectory.resolve("myTopDirectory");
            Path mvn = rootDirectory.resolve(".mvn");
            Files.createDirectories(mvn);
            Files.writeString(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

                Map<String, String> extra = new HashMap<>();
                extra.put("session.topDirectory", topDirectory.toString());
                if (rootDirectory != null) {
                    extra.put("session.rootDirectory", rootDirectory.toString());
                }
                return extra;
            }
        }
    
        @Override
        public InvokerRequest parseInvocation(ParserRequest parserRequest) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:39:11 GMT 2025
    - 25.5K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/fscc/FileRenameInformation2.java

        public int encode(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            dst[dstIndex] = (byte) (this.replaceIfExists ? 1 : 0);
            dstIndex += 8; // 7 Reserved
            dstIndex += 8; // RootDirectory = 0
    
            final byte[] nameBytes = this.fileName.getBytes(StandardCharsets.UTF_16LE);
    
            SMBUtil.writeInt4(nameBytes.length, dst, dstIndex);
            dstIndex += 4;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  10. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

         * from outside a checkout).
         *
         * @return the root directory path, if present
         */
        @Nonnull
        Optional<Path> rootDirectory();
    
        /**
         * Returns the input stream for the Maven execution, if running in embedded mode.
         *
         * @return an {@link Optional} containing the input stream, or empty if not applicable
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 6.7K bytes
    - Click Count (0)
Back to Top