Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getDirectory (0.1 sec)

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

                            .filter(project -> Objects.equals(root.toFile(), project.getBasedir()))
                            .findFirst()
                            .map(project -> project.getBuild().getDirectory())
                            .map(Paths::get)
                            .orElseGet(() -> root.resolve("target"))
                            .resolve(PROJECT_LOCAL_REPO);
                } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

            List<Resource> outResources = out.getBuild().getResources();
            Iterator<Resource> resIt = outResources.iterator();
    
            assertEquals(model.getBuild().getSourceDirectory(), resIt.next().getDirectory());
        }
    
        @Test
        public void shouldInterpolateUnprefixedBasedirExpression() throws Exception {
            File basedir = new File("/test/path");
            Model model = Model.newBuilder()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.2K bytes
    - Viewed (0)
Back to top