Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 15 of 15 for projectScope (0.08 seconds)

  1. 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 Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jan 30 23:29:13 GMT 2025
    - 12K bytes
    - Click Count (0)
  2. 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 Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  3. 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();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  4. 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 Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  5. 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
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 2.1K bytes
    - Click Count (0)
Back to Top