Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for PathScope (0.05 sec)

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

                DependencyScope.COMPILE,
                DependencyScope.PROVIDED);
    
        PathScope MAIN_RUNTIME =
                pathScope("main-runtime", ProjectScope.MAIN, DependencyScope.COMPILE, DependencyScope.RUNTIME);
    
        PathScope TEST_COMPILE = pathScope(
                "test-compile",
                ProjectScope.TEST,
                DependencyScope.COMPILE,
                DependencyScope.PROVIDED,
                DependencyScope.TEST_ONLY,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 10 20:52:34 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolver.java

         * @throws IllegalArgumentException if an argument is null or invalid
         *
         * @see DependencyResolver#collect(Session, Project, PathScope)
         * @see DependencyResolver#collect(Session, DependencyCoordinates, PathScope)
         * @see DependencyResolver#collect(Session, Artifact, PathScope)
         */
        @Nonnull
        default DependencyResolverResult collect(@Nonnull DependencyResolverRequest request) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Oct 16 14:15:37 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Resolution.java

     * or resolution request is performed is controlled by the {@link #pathScope()}
     * field, the injected field type and the {@link #requestType()}.
     * <p>
     * If the {@code requestType} is not set explicitly, it will be inferred
     * from the {@code pathScope} and the injected field type. If the type
     * is {@link org.apache.maven.api.Node Node} and {@code pathScope == ""},
     * then the dependencies will be <i>collected</i>.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. 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)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/PathScopeRegistry.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.services;
    
    import org.apache.maven.api.PathScope;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Feb 05 09:42:51 UTC 2024
    - 968 bytes
    - Viewed (0)
  10. 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)
Back to top