Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getSourceDirectory (0.07 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

            Build build = model.getBuild();
    
            if (build != null) {
                build.setDirectory(alignToBaseDirectory(build.getDirectory(), basedir));
    
                build.setSourceDirectory(alignToBaseDirectory(build.getSourceDirectory(), basedir));
    
                build.setTestSourceDirectory(alignToBaseDirectory(build.getTestSourceDirectory(), basedir));
    
                for (Resource resource : build.getResources()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelPathTranslator.java

            if (build != null) {
                newBuild = Build.newBuilder(build)
                        .directory(alignToBaseDirectory(build.getDirectory(), basedir))
                        .sourceDirectory(alignToBaseDirectory(build.getSourceDirectory(), basedir))
                        .testSourceDirectory(alignToBaseDirectory(build.getTestSourceDirectory(), basedir))
                        .scriptSourceDirectory(alignToBaseDirectory(build.getScriptSourceDirectory(), basedir))
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. 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");
    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