- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 162 for scope (0.17 sec)
-
maven-compat/src/main/java/org/apache/maven/artifact/ArtifactScopeEnum.java
* Helper method to simplify null processing * * @param scope a scope or {@code null} * @return the provided scope or DEFAULT_SCOPE */ public static ArtifactScopeEnum checkScope(ArtifactScopeEnum scope) { return scope == null ? DEFAULT_SCOPE : scope; } /** * * @return unsafe String representation of this scope. */ public String getScope() { if (id == 1) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 11:28:54 GMT 2023 - 3.2K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionResult.java
return classpathTransformation.transform(dirtyGraph, scope, false); } // ---------------------------------------------------------------------------- public MetadataTreeNode getClasspathTree(ArtifactScopeEnum scope) throws MetadataGraphTransformationException, MetadataResolutionException { ClasspathContainer cpc = getClasspath(scope); if (cpc == null) { return null;
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 11:28:54 GMT 2023 - 5.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/PathScope.java
import org.apache.maven.api.annotations.Immutable; import org.apache.maven.api.annotations.Nonnull; import static org.apache.maven.api.ExtensibleEnums.pathScope; /** * Path scope. * A path scope is used to determine the kind of build or class path that will be built when resolving * dependencies using the {@link org.apache.maven.api.services.DependencyResolver} service. * <p>
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2.9K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java
new ProjectBuilder( project ).addDependency( "org.apache.maven.its", "b", "0.1", Artifact.SCOPE_RUNTIME, exclusion ); Set<Artifact> artifactDependencies = resolver.resolve( project, Collections.singleton( Artifact.SCOPE_COMPILE ), session ); assertEquals( 0, artifactDependencies.size() );
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 4.2K bytes - Viewed (0) -
maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java
} @Override public void setDependencyTrail(List<String> dependencyTrail) { this.dependencyTrail = dependencyTrail; } @Override public void setScope(String scope) { this.scope = scope; } @Override public VersionRange getVersionRange() { return versionRange; } @Override public void setVersionRange(VersionRange versionRange) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Feb 09 19:20:54 GMT 2024 - 14.5K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java
if (inheritedScope == null) { desiredScope = scope; } else if (Artifact.SCOPE_TEST.equals(scope) || Artifact.SCOPE_PROVIDED.equals(scope)) { return null; } else if (Artifact.SCOPE_COMPILE.equals(scope) && Artifact.SCOPE_COMPILE.equals(inheritedScope)) { // added to retain compile artifactScope. Remove if you want compile inherited as runtime
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Sat Feb 17 18:40:11 GMT 2024 - 32.6K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java
import org.apache.maven.execution.MavenSession; import org.apache.maven.execution.scope.internal.MojoExecutionScope; import org.apache.maven.repository.internal.MavenSessionBuilderSupplier; import org.apache.maven.rtinfo.RuntimeInformation; import org.apache.maven.session.scope.internal.SessionScope; import org.apache.maven.toolchain.DefaultToolchainManagerPrivate;
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Apr 25 14:13:36 GMT 2024 - 9.9K bytes - Viewed (2) -
maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java
public ClasspathContainer transform(MetadataGraph dirtyGraph, ArtifactScopeEnum scope, boolean resolve) throws MetadataGraphTransformationException { try { if (dirtyGraph == null || dirtyGraph.isEmpty()) { return null; } MetadataGraph cleanGraph = conflictResolver.resolveConflicts(dirtyGraph, scope); if (cleanGraph == null || cleanGraph.isEmpty()) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 11:28:54 GMT 2023 - 6.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeModule.java
protected final MojoExecutionScope scope; public MojoExecutionScopeModule(MojoExecutionScope scope) { this.scope = scope; } @Override protected void configure() { bindScope(MojoExecutionScoped.class, scope); // bindScope(org.apache.maven.api.di.MojoExecutionScoped.class, scope); bind(MojoExecutionScope.class).toInstance(scope); bind(MavenProject.class)
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Feb 05 09:45:47 GMT 2024 - 2.2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolver.java
} private static DependencyFilter getScopeDependencyFilter(PathScope scope) { Set<String> scopes = scope.dependencyScopes().stream().map(DependencyScope::id).collect(Collectors.toSet()); return (n, p) -> { org.eclipse.aether.graph.Dependency d = n.getDependency(); return d == null || scopes.contains(d.getScope()); }; } /**
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 4.6K bytes - Viewed (0)