Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 65 for getScopes (0.56 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphEdge.java

            if (o instanceof MetadataGraphEdge e) {
                return objectsEqual(version, e.version)
                        && ArtifactScopeEnum.checkScope(scope)
                                .getScope()
                                .equals(ArtifactScopeEnum.checkScope(e.scope).getScope())
                        && depth == e.depth;
            }
            return false;
        }
    
        // ----------------------------------------------------------------------------
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

            }
    
            if ((artifact.getScope() != null)
                    && (!node.isChildOfRootNode() || node.getArtifact().getScope() == null)) {
                fireEvent(ResolutionListener.MANAGE_ARTIFACT_SCOPE, listeners, node, artifact);
                node.getArtifact().setScope(artifact.getScope());
            }
    
            if (Artifact.SCOPE_SYSTEM.equals(node.getArtifact().getScope())
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

                            dependency = dependency.withVersion(managedDependency.getVersion());
                        }
                        if (dependency.getScope() == null && managedDependency.getScope() != null) {
                            dependency = dependency.withScope(managedDependency.getScope());
                        }
                        if (dependency.getOptional() == null && managedDependency.getOptional() != null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 04 19:49:40 GMT 2026
    - 22.3K bytes
    - Click Count (0)
  4. tests/test_security_scopes_dont_propagate.py

        dep2: Annotated[list[str], Security(security2, scopes=["scope2"])],
    ):
        return {"dep1": dep1, "dep2": dep2}
    
    
    app = FastAPI()
    
    
    @app.get("/scopes")
    def get_scopes(
        dep3: Annotated[dict[str, Any], Security(dep3, scopes=["scope3"])],
    ):
        return dep3
    
    
    client = TestClient(app)
    
    
    def test_security_scopes_dont_propagate():
        response = client.get("/scopes")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 973 bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            // and we want artifact resolution to only return the system scoped artifact itself.
            //
            if (artifact.getScope() != null && artifact.getScope().equals(Artifact.SCOPE_SYSTEM)) {
                return new ResolutionGroup(null, null, null);
            }
    
            ResolutionGroup cached = cache.get(
                    artifact,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 25 12:03:50 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

                result = 31 * result + a.getVersion().hashCode();
            }
            result = 31 * result + (a.getClassifier() != null ? a.getClassifier().hashCode() : 0);
            result = 31 * result + (a.getScope() != null ? a.getScope().hashCode() : 0);
            result = 31 * result
                    + (a.getDependencyFilter() != null ? a.getDependencyFilter().hashCode() : 0);
            result = 31 * result + (a.isOptional() ? 1 : 0);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            assertEquals(DirectoryCacheScope.IMMEDIATE_CHILDREN, directoryLeaseManager.getCacheEntry(dir1).getScope());
            assertEquals(DirectoryCacheScope.METADATA_ONLY, directoryLeaseManager.getCacheEntry(dir2).getScope());
            assertEquals(DirectoryCacheScope.RECURSIVE_TREE, directoryLeaseManager.getCacheEntry(dir3).getScope());
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathContainer.java

                parent = node;
            }
            return tree;
        }
    
        public void setClasspath(List<ArtifactMetadata> classpath) {
            this.classpath = classpath;
        }
    
        public ArtifactScopeEnum getScope() {
            return scope;
        }
    
        public void setScope(ArtifactScopeEnum scope) {
            this.scope = scope;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Dependency.java

        /**
         * {@return the time at which the dependency will be used}.
         * 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.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jun 26 07:56:58 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  10. cmd/signature-v4.go

    		rawQuery,
    		getCanonicalHeaders(extractedSignedHeaders),
    		getSignedHeaders(extractedSignedHeaders),
    		payload,
    	}, "\n")
    	return canonicalRequest
    }
    
    // getScope generate a string of a specific date, an AWS region, and a service.
    func getScope(t time.Time, region string) string {
    	scope := strings.Join([]string{
    		t.Format(yyyymmdd),
    		region,
    		string(serviceS3),
    		"aws4_request",
    	}, SlashSeparator)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Dec 13 22:19:12 GMT 2024
    - 12.4K bytes
    - Click Count (0)
Back to Top