Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for RootDirectory (0.11 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingRequest.java

            return this;
        }
    
        @Override
        public Path getRootDirectory() {
            return rootDirectory;
        }
    
        @Override
        public ModelBuildingRequest setRootDirectory(Path rootDirectory) {
            this.rootDirectory = rootDirectory;
            return this;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

        @Test
        void testRootDirectory() throws Exception {
            Path rootDirectory = Paths.get("myRootDirectory");
    
            Model model = Model.newBuilder()
                    .version("3.8.1")
                    .artifactId("foo")
                    .repositories(Collections.singletonList(Repository.newBuilder()
                            .url("file:${project.rootDirectory}/temp-repo")
                            .build()))
                    .build();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            Files.writeString(mavenUserProps, "${includes} = ?${session.rootDirectory}/.mvn/maven.properties\n");
            Path rootDirectory = fs.getPath("C:\\myRootDirectory");
            Path topDirectory = rootDirectory.resolve("myTopDirectory");
            Path mvn = rootDirectory.resolve(".mvn");
            Files.createDirectories(mvn);
            Files.writeString(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/AbstractStringBasedModelInterpolator.java

                        public Object getValue(String expression) {
                            if ("rootDirectory".equals(expression)) {
                                Path root = rootLocator.findMandatoryRoot(projectDir);
                                return root.toFile().getPath();
                            } else if (expression.startsWith("rootDirectory.")) {
                                Path root = rootLocator.findMandatoryRoot(projectDir);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

                // project present, but we could not determine rootDirectory: extra work needed
                if (context.invokerRequest.rootDirectory().isEmpty()) {
                    Path rootDirectory = Utils.findMandatoryRoot(context.invokerRequest.topDirectory());
                    request.setMultiModuleProjectDirectory(rootDirectory.toFile());
                    request.setRootDirectory(rootDirectory);
                }
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  6. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

        @Override
        public Path getRootDirectory() {
            if (rootDirectory == null) {
                throw new IllegalStateException(RootLocator.UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE);
            }
            return rootDirectory;
        }
    
        @Override
        public MavenExecutionRequest setRootDirectory(Path rootDirectory) {
            this.rootDirectory = rootDirectory;
            return this;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

            @Nullable
            public Path rootDirectory;
    
            public List<CoreExtension> extensions;
            public Options options;
    
            public Map<String, String> extraInterpolationSource() {
                Map<String, String> extra = new HashMap<>();
                extra.put("session.topDirectory", topDirectory.toString());
                if (rootDirectory != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            request.setTopDirectory(context.invokerRequest.topDirectory());
            if (context.invokerRequest.rootDirectory().isPresent()) {
                request.setMultiModuleProjectDirectory(
                        context.invokerRequest.rootDirectory().get().toFile());
                request.setRootDirectory(context.invokerRequest.rootDirectory().get());
            }
    
            request.addPluginGroup("org.apache.maven.plugins");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

            if (cliRequest.getRootDirectory() != null) {
                props = new Properties();
                props.putAll(cliRequest.getUserProperties());
                props.put("session.rootDirectory", cliRequest.getRootDirectory().toString());
            }
            settingsRequest.setUserProperties(props);
    
            if (request.getEventSpyDispatcher() != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top