Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ProjectScope (1.84 sec)

  1. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ProjectScopeProvider.java

     * beyond the standard {@link ProjectScope#MAIN} and {@link ProjectScope#TEST} scopes.
     * Implementations of this interface will be discovered through the Java ServiceLoader mechanism
     * and their provided project scopes will be available throughout the Maven build process.
     * <p>
     * Example usage:
     * <pre>
     * public class CustomProjectScopeProvider implements ProjectScopeProvider {
     *     public Collection&lt;ProjectScope&gt; provides() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/ExtensibleEnums.java

         * @param projectScope the project scope associated with this path scope
         * @param dependencyScopes the dependency scopes associated with this path scope
         * @return a new PathScope instance
         */
        static PathScope pathScope(String id, ProjectScope projectScope, DependencyScope... dependencyScopes) {
            return new DefaultPathScope(id, projectScope, dependencyScopes);
        }
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. 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
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PathScopeProvider.java

     * <pre>
     * public class CustomPathScopeProvider implements PathScopeProvider {
     *     public Collection&lt;PathScope&gt; provides() {
     *         return Collections.singleton(pathScope("integration-test",
     *                 ProjectScope.TEST, DependencyScope.TEST));
     *     }
     * }
     * </pre>
     *
     * @see org.apache.maven.api.PathScope
     * @see org.apache.maven.api.spi.ExtensibleEnumProvider
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ExtensibleEnumProvider.java

         * that this provider wants to contribute.
         * <p>
         * The values returned by this method should be created using the appropriate factory methods
         * for the specific enum type, such as {@code language()}, {@code projectScope()}, or
         * {@code pathScope()}.
         *
         * @return a non-null collection of enum instances to register
         */
        @Nonnull
        Collection<T> provides();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 36.5K bytes
    - Viewed (0)
Back to top