- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 14 for PathScope (0.06 seconds)
-
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,Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 10 20:52:34 GMT 2024 - 2.9K bytes - Click Count (0) -
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) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Oct 16 14:15:37 GMT 2024 - 9.4K bytes - Click Count (0) -
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();
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 4.8K bytes - Click Count (0) -
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.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 10 07:30:49 GMT 2025 - 23K bytes - Click Count (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PathScopeProvider.java
* <pre> * public class CustomPathScopeProvider implements PathScopeProvider { * public Collection<PathScope> 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 Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Apr 03 13:33:59 GMT 2025 - 2.1K bytes - Click Count (0) -
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>.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Jun 11 07:23:04 GMT 2024 - 3.1K bytes - Click Count (0) -
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());
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 10.2K bytes - Click Count (0) -
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 failedCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jul 03 14:18:26 GMT 2025 - 36.5K bytes - Click Count (0) -
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 =Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 09 16:35:21 GMT 2025 - 46.4K bytes - Click Count (0) -
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;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Nov 06 18:32:25 GMT 2025 - 7.2K bytes - Click Count (0)