- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for dependencyScopes (0.09 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/ExtensibleEnums.java
private final ProjectScope projectScope; private final Set<DependencyScope> dependencyScopes; DefaultPathScope(String id, ProjectScope projectScope, DependencyScope... dependencyScopes) { super(id); this.projectScope = Objects.requireNonNull(projectScope); this.dependencyScopes =
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Jul 10 20:52:34 UTC 2024 - 3.2K 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 Nov 03 03:35:11 UTC 2024 - 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
private static final Map<String, DependencyScope> IDS = Collections.unmodifiableMap( Stream.of(DependencyScope.values()).collect(Collectors.toMap(s -> s.id, s -> s))); public static DependencyScope forId(String id) { return IDS.get(id); } private final String id; private final boolean transitive; DependencyScope(String id, boolean transitive) { this.id = id;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 3.7K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/scopes/Maven4ScopeManagerConfiguration.java
} @Override public Collection<org.eclipse.aether.scope.DependencyScope> buildDependencyScopes( InternalScopeManager internalScopeManager) { ArrayList<org.eclipse.aether.scope.DependencyScope> result = new ArrayList<>(); result.add(internalScopeManager.createDependencyScope( DependencyScope.COMPILE.id(), DependencyScope.COMPILE.isTransitive(), all()));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.2K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/scopes/Maven3ScopeManagerConfiguration.java
Collection<DependencyScope> allDependencyScopes = internalScopeManager.getDependencyScopeUniverse(); Collection<DependencyScope> nonTransitiveDependencyScopes = allDependencyScopes.stream().filter(s -> !s.isTransitive()).collect(Collectors.toSet()); DependencyScope system = internalScopeManager.getDependencyScope(DS_SYSTEM).orElse(null);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.7K 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 Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Sep 28 09:03:24 UTC 2024 - 6.2K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSessionBuilderSupplier.java
} protected DependencySelector getDependencySelector() { return new AndDependencySelector( ScopeDependencySelector.legacy( null, Arrays.asList(DependencyScope.TEST.id(), DependencyScope.PROVIDED.id())), OptionalDependencySelector.fromDirect(), new ExclusionDependencySelector()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java
import java.util.Collections; import java.util.List; import java.util.Optional; import org.apache.maven.RepositoryUtils; import org.apache.maven.api.DependencyCoordinates; import org.apache.maven.api.DependencyScope; import org.apache.maven.api.Exclusion; import org.apache.maven.api.Packaging; import org.apache.maven.api.ProducedArtifact; import org.apache.maven.api.Project; import org.apache.maven.api.Type;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.5K 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 Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Dependency.java
* If 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. * Contrarily to {@link DependencyCoordinates}, the obligation of a {@code Dependency} is always present.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Sep 28 09:03:24 UTC 2024 - 2.8K bytes - Viewed (0)