Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 42 for rootDirectory (0.21 sec)

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

            user.put("session.topDirectory", invokerRequest.topDirectory().toString());
            if (invokerRequest.rootDirectory().isPresent()) {
                user.put(
                        "session.rootDirectory",
                        invokerRequest.rootDirectory().get().toString());
            }
            this.protoSession = ProtoSession.newBuilder()
                    .withSystemProperties(invokerRequest.systemProperties())
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/BaseParserTest.java

        }
    
        @Test
        void specials() {
            InvokerRequest invokerRequest = subject.parseInvocation(ParserRequest.mvn(
                            Arrays.asList("-Dfoo=${session.rootDirectory}", "-X"), mock(MessageBuilderFactory.class))
                    .cwd(Path.of(System.getProperty("userDir")))
                    .userHome(Path.of(System.getProperty("userHome")))
                    .build());
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenParser.java

                    throw new IllegalArgumentException("Specified file does not exists (" + file + ")");
                }
            }
            // maven.config; if exists
            Path mavenConfig = context.rootDirectory != null ? context.rootDirectory.resolve(".mvn/maven.config") : null;
            if (mavenConfig != null && Files.isRegularFile(mavenConfig)) {
                result.add(parseMavenConfigOptions(mavenConfig));
            }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 14 12:35:44 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/site/apt/index.apt

    <<<pom.baseUri>>> (<deprecated>) | the directory containing the <<<pom.xml>>> file as URI | <<<$\{project.baseUri\}>>> |
    *----+------+------+
    | <<<project.rootDirectory>>> | the project's root directory (containing a <<<.mvn>>> directory or with the <<<root="true">>> xml attribute) | <<<$\{project.rootDirectory\}>>> |
    *----+------+------+
    | <<<build.timestamp>>>\
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 03 08:42:52 UTC 2025
    - 13.2K bytes
    - Viewed (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
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 13 18:30:29 UTC 2025
    - 5K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/project/collector/MultiModuleCollectionStrategy.java

        }
    
        private File getRootProject(MavenExecutionRequest request) {
            Path rootDirectory = request.getRootDirectory();
            if (request.getPom().getParentFile().toPath().equals(rootDirectory)) {
                return request.getPom();
            } else {
                Path rootProjectPom = modelProcessor.locateExistingPom(rootDirectory);
                if (rootProjectPom == null) {
                    LOGGER.info(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. 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);
                }
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 11 17:20:46 UTC 2025
    - 28.2K bytes
    - Viewed (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) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:39:11 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  9. 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();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  10. impl/maven-cli/src/test/resources/mavenHome/conf/maven-system.properties

    # user properties at the very beginning of Maven's boot process.
    #
    maven.property = yes it is
    
    maven.installation.conf = ${maven.home}/conf
    maven.user.conf         = ${user.home}/.m2
    maven.project.conf      = ${session.rootDirectory}/.mvn
    
    # Comma-separated list of files to include.
    # Each item may be enclosed in quotes to gracefully include spaces. Items are trimmed before being loaded.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top