Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addCompileSourceRoot (0.09 sec)

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

        }
    
        @Override
        public void addCompileSourceRoot(Project project, ProjectScope scope, Path sourceRoot) {
            MavenProject prj = getMavenProject(nonNull(project, "project"));
            String root = nonNull(sourceRoot, "sourceRoot").toAbsolutePath().toString();
            if (nonNull(scope, "scope") == ProjectScope.MAIN) {
                prj.addCompileSourceRoot(root);
            } else if (scope == ProjectScope.TEST) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         * if not already present.
         *
         * @param project the project
         * @param scope the scope, i.e. usually main or test
         * @param sourceRoot the new source root
         */
        void addCompileSourceRoot(@Nonnull Project project, @Nonnull ProjectScope scope, @Nonnull Path sourceRoot);
    
        /**
         * Get the list of resources for the given project and scope
         *
         * @param project the project
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 24 11:52:48 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top