Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for setBaseDirectory (0.21 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  2. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. 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)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

            Path pom = determinePom(context);
            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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  5. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            request.setInteractiveMode(context.interactive);
            request.setShowErrors(options.showErrors().orElse(false));
            request.setBaseDirectory(context.invokerRequest.topDirectory().toFile());
            request.setSystemProperties(toProperties(context.invokerRequest.systemProperties()));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
Back to top