Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getTestCompileSourceRoots (2.38 sec)

  1. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

        }
    
        public void addTestCompileSourceRoot(String path) {
            addPath(getTestCompileSourceRoots(), path);
        }
    
        public List<String> getCompileSourceRoots() {
            return compileSourceRoots;
        }
    
        public List<String> getTestCompileSourceRoots() {
            return testCompileSourceRoots;
        }
    
        // TODO let the scope handler deal with this
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

            List<String> roots;
            if (nonNull(scope, "scope") == ProjectScope.MAIN) {
                roots = prj.getCompileSourceRoots();
            } else if (scope == ProjectScope.TEST) {
                roots = prj.getTestCompileSourceRoots();
            } else {
                throw new IllegalArgumentException("Unsupported scope " + scope);
            }
            return roots.stream()
                    .map(Paths::get)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 7.3K bytes
    - Viewed (0)
Back to top