Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for projectScope (0.2 sec)

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

     * @since 4.0.0
     */
    @Experimental
    @Immutable
    @SuppressWarnings("checkstyle:InterfaceIsType")
    public interface ProjectScope extends ExtensibleEnum {
    
        /**
         * Main scope.
         */
        ProjectScope MAIN = projectScope("main");
    
        /**
         * Test scope.
         */
        ProjectScope TEST = projectScope("test");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Feb 05 09:42:51 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

        }
    
        @Override
        public List<Path> getCompileSourceRoots(Project project, ProjectScope scope) {
            MavenProject prj = getMavenProject(nonNull(project, "project"));
            List<String> roots;
            if (nonNull(scope, "scope") == ProjectScope.MAIN) {
                roots = prj.getCompileSourceRoots();
            } else if (scope == ProjectScope.TEST) {
                roots = prj.getTestCompileSourceRoots();
            } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectScopeRegistry.java

     * under the License.
     */
    package org.apache.maven.api.services;
    
    import org.apache.maven.api.ProjectScope;
    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * Manager for {@link ProjectScope}.
     *
     * @since 4.0.0
     */
    @Experimental
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/ExtensibleEnums.java

            private final ProjectScope projectScope;
            private final Set<DependencyScope> dependencyScopes;
    
            DefaultPathScope(String id, ProjectScope projectScope, DependencyScope... dependencyScopes) {
                super(id);
                this.projectScope = Objects.requireNonNull(projectScope);
                this.dependencyScopes =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Jul 10 20:52:34 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ProjectScopeProvider.java

     */
    package org.apache.maven.api.spi;
    
    import org.apache.maven.api.ProjectScope;
    import org.apache.maven.api.annotations.Consumer;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.di.Named;
    
    /**
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    @Named
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Sep 10 17:18:47 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/PathScope.java

    @Immutable
    public interface PathScope extends ExtensibleEnum {
    
        // TODO: what if I simply want all dependencies ?
        @Nonnull
        ProjectScope projectScope();
    
        @Nonnull
        Set<DependencyScope> dependencyScopes();
    
        PathScope MAIN_COMPILE = pathScope(
                "main-compile",
                ProjectScope.MAIN,
                DependencyScope.COMPILE_ONLY,
                DependencyScope.COMPILE,
                DependencyScope.PROVIDED);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Jul 10 20:52:34 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

        /**
         * Get the list of resources for the given project and scope
         *
         * @param project the project
         * @param scope the scope, i.e. usually main or test
         * @return the list of resources
         */
        List<Resource> getResources(@Nonnull Project project, @Nonnull ProjectScope scope);
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 24 11:52:48 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. 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);
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 36.4K bytes
    - Viewed (0)
Back to top