Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 51 for setScope (0.13 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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 Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Dec 13 22:19:12 GMT 2024
    - 12.4K bytes
    - Click Count (0)
  2. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 25 12:03:50 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java

    import static java.util.Objects.requireNonNull;
    
    /**
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface DependencyCoordinatesFactoryRequest extends ArtifactCoordinatesFactoryRequest {
    
        String getScope();
    
        boolean isOptional();
    
        @Nonnull
        Collection<Exclusion> getExclusions();
    
        @Nonnull
        static DependencyCoordinatesFactoryRequest build(
                @Nonnull Session session,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  4. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

        }
    
        /**
         * check ut.simple:artifact:1.0 dependencies
         */
        private void checkUtSimpleArtifactDependencies(Dependency dep1, Dependency dep2) {
            assertEquals("compile", dep1.getScope());
            assertFalse(dep1.isOptional(), "Expected " + dep1 + ".isOptional() to return false");
            assertEquals(0, dep1.getExclusions().size());
            Artifact depArtifact = dep1.getArtifact();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/DependencyCoordinates.java

        Type getType();
    
        /**
         * {@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.
         */
        @Nonnull
        DependencyScope getScope();
    
        /**
         * Returns whether the dependency is optional, mandatory, or of unspecified obligation.
         *
         * @return {@code Boolean.TRUE} and {@code Boolean.FALSE} if optional, or {@code null} if unspecified
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 05 14:29:21 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t05/ProjectInheritanceTest.java

                Artifact artifact = (Artifact) aSet;
                System.out.println("Artifact: " + artifact.getDependencyConflictId() + " " + artifact.getVersion()
                        + " Scope: " + artifact.getScope());
                assertTrue(
                        artifact.getVersion().equals("1.0"), "Incorrect version for " + artifact.getDependencyConflictId());
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ScopeArtifactFilter.java

        private final String scope;
    
        public ScopeArtifactFilter(String scope) {
            this.scope = scope;
    
            addScopeInternal(scope);
        }
    
        public String getScope() {
            return scope;
        }
    
        @Override
        public int hashCode() {
            int hash = 17;
    
            hash = hash * 31 + (scope != null ? scope.hashCode() : 0);
    
            return hash;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

                currentElement.addAnnotationTypeName(child.getNameAsString());
            }
        }
    
        private String extractName(ClassOrInterfaceType type) {
            if (type.getScope().isPresent()) {
                return extractName(type.getScope().get()) + "." + type.getNameAsString();
            }
            return type.getNameAsString();
        }
    
        private String getJavadocComment(NodeWithJavadoc<?> node) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Aug 19 15:07:24 GMT 2024
    - 11.8K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/Maven3CompatDependenciesValidator.java

                if ("org.apache.maven".equals(dependency.getArtifact().getGroupId())
                        && "maven-compat".equals(dependency.getArtifact().getArtifactId())
                        && !DependencyScope.TEST.is(dependency.getScope())) {
                    pluginValidationManager.reportPluginValidationIssue(
                            PluginValidationManager.IssueLocality.EXTERNAL,
                            session,
                            pluginArtifact,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactScopeEnum.java

            return scope == null ? DEFAULT_SCOPE : scope;
        }
    
        /**
         *
         * @return unsafe String representation of this scope.
         */
        public String getScope() {
            if (id == 1) {
                return Artifact.SCOPE_COMPILE;
            } else if (id == 2) {
                return Artifact.SCOPE_TEST;
    
            } else if (id == 3) {
                return Artifact.SCOPE_RUNTIME;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
Back to Top