Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for requireDependencyScope (0.09 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/Session.java

         * @throws IllegalArgumentException if the given identifier is not a known scope
         *
         * @see org.apache.maven.api.DependencyScope#forId(String)
         */
        @Nonnull
        DependencyScope requireDependencyScope(@Nonnull String id);
    
        /**
         * Obtain the {@link PathScope} from the specified {@code id}.
         * <p>
         * Shortcut for {@code getService(PathScopeRegistry.class).require(...)}.
         *
    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)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

                    String scope = dependency.getScope();
                    if (scope == null) {
                        scope = "";
                    }
                    return session.requireDependencyScope(scope);
                }
    
                @Override
                public Boolean getOptional() {
                    return dependency.isOptional();
                }
    
                @Nonnull
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 24 22:23:23 GMT 2025
    - 8.7K bytes
    - Click Count (0)
Back to Top