Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for PathScope (0.04 sec)

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

                this.verbose = verbose;
                return this;
            }
    
            @Nonnull
            public DependencyResolverRequestBuilder pathScope(@Nullable PathScope pathScope) {
                this.pathScope = pathScope;
                return this;
            }
    
            /**
             * Filters the types of paths to include in the result.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:30:49 UTC 2025
    - 23K bytes
    - Viewed (0)
  2. api/maven-api-core/src/test/java/org/apache/maven/api/services/RequestImplementationTest.java

                    .requestType(DependencyResolverRequest.RequestType.COLLECT)
                    .pathScope(PathScope.MAIN_COMPILE)
                    .build();
    
            DependencyResolverRequest request2 = builder.session(session)
                    .requestType(DependencyResolverRequest.RequestType.COLLECT)
                    .pathScope(PathScope.MAIN_COMPILE)
                    .build();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  3. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

            Node root = session.collectDependencies(artifact, PathScope.MAIN_RUNTIME);
            assertNotNull(root);
    
            DependencyResolverResult result =
                    session.getService(DependencyResolver.class).resolve(session, project, PathScope.MAIN_RUNTIME);
            assertNotNull(result);
            List<Dependency> deps = new ArrayList<>(result.getDependencies().keySet());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * @param scope the {link PathScope} to collect dependencies, must not be {@code null}
         * @return root node of the dependency graph for the given artifact
         *
         * @see org.apache.maven.api.services.DependencyResolver#collect(Session, Artifact, PathScope)
         * @throws org.apache.maven.api.services.DependencyResolverException if the dependency collection failed
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                }
                field.setAccessible(true);
                String pathScope = resolution.getPathScope();
                Object result = null;
                if (pathScope != null && !pathScope.isEmpty()) {
                    // resolution
                    PathScope ps = sessionV4.getService(PathScopeRegistry.class).require(pathScope);
                    DependencyResolverResult res =
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 09 16:35:21 UTC 2025
    - 46.4K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomBuilderTest.java

    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.ArrayList;
    import java.util.List;
    
    import org.apache.maven.api.DependencyCoordinates;
    import org.apache.maven.api.Node;
    import org.apache.maven.api.PathScope;
    import org.apache.maven.api.Session;
    import org.apache.maven.api.SessionData;
    import org.apache.maven.api.model.Model;
    import org.apache.maven.api.model.Scm;
    import org.apache.maven.api.services.DependencyResolver;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 06 18:32:25 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

    import java.util.stream.Collectors;
    
    import org.apache.maven.api.ArtifactCoordinates;
    import org.apache.maven.api.DependencyScope;
    import org.apache.maven.api.Node;
    import org.apache.maven.api.PathScope;
    import org.apache.maven.api.SessionData;
    import org.apache.maven.api.feature.Features;
    import org.apache.maven.api.model.Dependency;
    import org.apache.maven.api.model.DistributionManagement;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 27 07:40:26 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  9. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ExtensibleEnumProvider.java

         * <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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/DependencyScope.java

     * For a given dependency, the scope is directly derived from the
     * {@link org.apache.maven.api.model.Dependency#getScope()} and will be used when using {@link PathScope}
     * and the {@link org.apache.maven.api.services.DependencyResolver}.
     *
     * @since 4.0.0
     * @see org.apache.maven.api.model.Dependency#getScope()
     * @see org.apache.maven.api.services.DependencyResolver
     */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 19 14:33:26 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top