- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for dependencyScopes (0.07 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/ExtensibleEnums.java
* @param dependencyScopes the dependency scopes associated with this path scope * @return a new PathScope instance */ static PathScope pathScope(String id, ProjectScope projectScope, DependencyScope... dependencyScopes) { return new DefaultPathScope(id, projectScope, dependencyScopes); } /**
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 5.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/PathScope.java
DependencyScope.COMPILE_ONLY, 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,
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jul 10 20:52:34 UTC 2024 - 2.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/DependencyScope.java
*/ TEST_RUNTIME("test-runtime", false), /** * System scope. */ SYSTEM("system", false); private static final Map<String, DependencyScope> IDS = Collections.unmodifiableMap( Stream.of(DependencyScope.values()).collect(Collectors.toMap(s -> s.id, s -> s))); /** * {@return the dependency scope for the given identifier, or {@code null} if none}.
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Mar 19 14:33:26 UTC 2025 - 4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java
* the {@code "Automatic-Module-Name"} attribute of the {@code META-INF/MANIFEST.MF} file if present. * * <p>A typical usage is to invoke this method for all dependencies having a * {@link DependencyScope#TEST TEST} or {@link DependencyScope#TEST_ONLY TEST_ONLY} * {@linkplain Dependency#getScope() scope}. An {@code --add-reads} option may need * to be generated for compiling and running the test classes that use such dependencies.</p>
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Mar 05 14:29:21 UTC 2025 - 6.3K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java
session.setDependencyManager(depManager); DependencySelector depFilter = new AndDependencySelector( ScopeDependencySelector.legacy( null, Arrays.asList(DependencyScope.TEST.id(), DependencyScope.PROVIDED.id())), OptionalDependencySelector.fromDirect(), new ExclusionDependencySelector()); session.setDependencySelector(depFilter);
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 13.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/DependencyCoordinates.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Mar 05 14:29:21 UTC 2025 - 2.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Dependency.java
* It may be, for example, at compile time only, at run time or at test time. * * @see DependencyCoordinates#getScope() */ @Nonnull DependencyScope getScope(); /** * Returns whether the dependency is optional or mandatory. * Unlike {@link DependencyCoordinates}, the obligation of a {@code Dependency} is always present.
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jun 26 07:56:58 UTC 2025 - 2.8K bytes - Viewed (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/PathScopeProvider.java
* 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 @Named
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Apr 03 13:33:59 UTC 2025 - 2.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
*/ @Nonnull ProjectScope requireProjectScope(@Nonnull String id); /** * Obtain the {@link DependencyScope} from the specified {@code id}. * <p> * Shortcut for {@code DependencyScope.forId(...)} with a verification that the given identifier exists. * * @param id the identifier of the scope (case-sensitive)
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jul 03 14:18:26 UTC 2025 - 36.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/package-info.java
* collection process, part of the graph computed from one or more {@code DependencyCoordinates}.</p> * * <p>{@link org.apache.maven.api.DependencyScope} defines when/how a given dependency will be used by the * project. This includes compile-time only, runtime, test time, and various other combinations.</p> * * <h3>Resolution</h3> *
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Mar 05 14:29:21 UTC 2025 - 7.7K bytes - Viewed (0)