Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for setBaseDirectory (0.09 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

            copy.setUserToolchainsFile(original.getUserToolchainsFile());
            copy.setInstallationToolchainsFile(original.getInstallationToolchainsFile());
            copy.setBaseDirectory((original.getBaseDirectory() != null) ? new File(original.getBaseDirectory()) : null);
            copy.setGoals(original.getGoals());
            copy.setRecursive(original.isRecursive());
            copy.setPom(original.getPom());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Dec 12 11:02:17 UTC 2024
    - 32.1K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

            MavenExecutionRequest request = new DefaultMavenExecutionRequest()
                    .setSystemProperties(properties)
                    .setGoals(Collections.emptyList())
                    .setBaseDirectory(new File(""))
                    .setLocalRepository(repo);
    
            DefaultRepositorySystemSession repositorySession =
                    new DefaultRepositorySystemSession(h -> false); // no close handle
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 26 19:31:34 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

            }
        }
    
        private void baseDirectory(MavenExecutionRequest request) {
            if (request.getBaseDirectory() == null && request.getPom() != null) {
                request.setBaseDirectory(request.getPom().getAbsoluteFile().getParentFile());
            }
        }
    
        /*if_not[MAVEN4]*/
    
        @Override
        @Deprecated
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        // Base directory
    
        /**
         * @deprecated use {@link #setTopDirectory(Path)} instead
         */
        @Deprecated
        MavenExecutionRequest setBaseDirectory(File basedir);
    
        /**
         * @deprecated use {@link #getTopDirectory()} instead
         */
        @Deprecated
        String getBaseDirectory();
    
        // Timing (remove this)
        @Deprecated
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Dec 12 11:02:17 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

            MavenExecutionRequest request = new DefaultMavenExecutionRequest()
                    .setSystemProperties(properties)
                    .setGoals(Collections.emptyList())
                    .setBaseDirectory(new File(""))
                    .setLocalRepository(repo);
    
            return new MavenSession(container, request, new DefaultMavenExecutionResult(), Collections.emptyList());
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 26 19:31:34 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

            this.request.setUserProperties(userProperties);
            this.request.setLocalRepository(localRepository);
            this.request.setGoals(goals);
            this.request.setBaseDirectory((executionRootDir != null) ? new File(executionRootDir) : null);
            this.request.setStartTime(startTime);
            this.result = null;
            this.repositorySystemSession = null;
        }
    
        @Deprecated
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

            Path pom = determinePom(context, lookup);
            if (pom != null) {
                request.setPom(pom.toFile());
                if (pom.getParent() != null) {
                    request.setBaseDirectory(pom.getParent().toFile());
                }
    
                // project present, but we could not determine rootDirectory: extra work needed
                if (context.invokerRequest.rootDirectory().isEmpty()) {
    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. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            enableOnPresentOption(commandLine, CLIManager.UPDATE_SNAPSHOTS, request::setUpdateSnapshots);
            request.setGlobalChecksumPolicy(determineGlobalCheckPolicy(commandLine));
            request.setBaseDirectory(baseDirectory);
            request.setSystemProperties(cliRequest.systemProperties);
            request.setUserProperties(cliRequest.userProperties);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 27 13:24:03 UTC 2025
    - 78.1K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            request.setInteractiveMode(context.interactive);
            request.setShowErrors(context.options().showErrors().orElse(false));
            request.setBaseDirectory(context.invokerRequest.topDirectory().toFile());
            request.setSystemProperties(toProperties(context.protoSession.getSystemProperties()));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 28 13:01:07 UTC 2025
    - 43.2K bytes
    - Viewed (0)
Back to top