Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for ProjectScope (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java

         * {@return in which context the source files will be used}
         * Not to be confused with dependency scope.
         * The default value is {@code "main"}.
         *
         * @see ProjectScope#MAIN
         */
        default ProjectScope scope() {
            return ProjectScope.MAIN;
        }
    
        /**
         * {@return the language of the source files}
         * The default value is {@code "java"}.
         *
         * @see Language#JAVA_FAMILY
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/project/ResourceIncludeTest.java

            // Add multiple resource source roots
            project.addSourceRoot(
                    new DefaultSourceRoot(ProjectScope.MAIN, Language.RESOURCES, Path.of("src/main/resources2")));
            project.addSourceRoot(
                    new DefaultSourceRoot(ProjectScope.MAIN, Language.RESOURCES, Path.of("src/main/resources3")));
    
            // Verify initial order
            List<Resource> resources = project.getResources();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         * @param directory the directory to add if not already present in the source
         *
         * @see #getEnabledSourceRoots(Project, ProjectScope, Language)
         */
        void addSourceRoot(
                @Nonnull Project project, @Nonnull ProjectScope scope, @Nonnull Language language, @Nonnull Path directory);
    
        /**
         * Returns an immutable list of project remote repositories (directly specified or inherited).
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jan 30 23:29:13 GMT 2025
    - 12K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

         * @see Build#getDirectory()
         */
        @Nonnull
        default Path getOutputDirectory(@Nullable ProjectScope scope) {
            String dir;
            Build build = getBuild();
            if (scope == ProjectScope.MAIN) {
                dir = build.getOutputDirectory();
            } else if (scope == ProjectScope.TEST) {
                dir = build.getTestOutputDirectory();
            } else {
                dir = build.getDirectory();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        Packaging requirePackaging(@Nonnull String id);
    
        /**
         * Obtain the {@link ProjectScope} from the specified {@code id}.
         * <p>
         * Shortcut for {@code getService(ProjectScopeRegistry.class).require(...)}.
         *
         * @see org.apache.maven.api.services.ProjectScopeRegistry#require(String)
         */
        @Nonnull
        ProjectScope requireProjectScope(@Nonnull String id);
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 36.5K bytes
    - Click Count (0)
Back to Top