Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 69 for getScope (0.05 seconds)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java

         *
         * <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>
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 05 14:29:21 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  2. cmd/signature-v4-parser.go

    type credentialHeader struct {
    	accessKey string
    	scope     struct {
    		date    time.Time
    		region  string
    		service string
    		request string
    	}
    }
    
    // Return scope string.
    func (c credentialHeader) getScope() string {
    	return strings.Join([]string{
    		c.scope.date.Format(yyyymmdd),
    		c.scope.region,
    		c.scope.service,
    		c.scope.request,
    	}, SlashSeparator)
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:35 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                    d.getArtifactId(),
                    versionRange,
                    d.getType(),
                    d.getClassifier(),
                    d.getScope(),
                    d.isOptional());
    
            if (Artifact.SCOPE_SYSTEM.equals(d.getScope()) && d.getSystemPath() != null) {
                artifact.setFile(new File(d.getSystemPath()));
            }
    
            if (!d.getExclusions().isEmpty()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 31.2K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                    d.getArtifactId(),
                    versionRange,
                    d.getType(),
                    d.getClassifier(),
                    d.getScope(),
                    d.isOptional());
    
            if (Artifact.SCOPE_SYSTEM.equals(d.getScope()) && d.getSystemPath() != null) {
                artifact.setFile(new File(d.getSystemPath()));
            }
    
            if (!d.getExclusions().isEmpty()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 33.5K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                throws ArtifactResolutionException, ArtifactNotFoundException {
            if (artifact == null) {
                return;
            }
    
            if (Artifact.SCOPE_SYSTEM.equals(artifact.getScope())) {
                File systemFile = artifact.getFile();
    
                if (systemFile == null) {
                    throw new ArtifactNotFoundException("System artifact: " + artifact + " has no file attached", artifact);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 25K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java

                        dependency.clearManagementKey();
                    }
                    // Scope
                    org = dependency.getScope();
                    val = interpolate(org);
                    if (org != val) {
                        dependency.setScope(val);
                    }
                    // SystemPath
                    org = dependency.getSystemPath();
                    val = interpolate(org);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 43.1K bytes
    - Click Count (0)
  7. cmd/test-utils_test.go

    	if accessKeyID == "" || secretAccessKey == "" {
    		return errors.New("Presign cannot be generated without access and secret keys")
    	}
    
    	region := globalSite.Region()
    	date := UTCNow()
    	scope := getScope(date, region)
    	credential := fmt.Sprintf("%s/%s", accessKeyID, scope)
    
    	// Set URL query.
    	query := req.URL.Query()
    	query.Set("X-Amz-Algorithm", signV4Algorithm)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 77K bytes
    - Click Count (0)
  8. compat/maven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java

                Dependency target, Dependency source, boolean sourceDominant, Map<Object, Object> context) {
            String src = source.getScope();
            if (src != null) {
                if (sourceDominant || target.getScope() == null) {
                    target.setScope(src);
                    target.setLocation("scope", source.getLocation("scope"));
                }
            }
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 11:21:39 GMT 2025
    - 99.2K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            for (Iterator<Dependency> it = depMgmt.getDependencies().iterator(); it.hasNext(); ) {
                Dependency dependency = it.next();
    
                if (!"pom".equals(dependency.getType()) || !"import".equals(dependency.getScope())) {
                    continue;
                }
    
                it.remove();
    
                String groupId = dependency.getGroupId();
                String artifactId = dependency.getArtifactId();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Mar 30 23:08:08 GMT 2025
    - 55.3K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/CumulativeScopeArtifactFilter.java

            this.scopes = new HashSet<>();
    
            if (filters != null) {
                for (CumulativeScopeArtifactFilter filter : filters) {
                    addScopes(filter.getScopes());
                }
            }
        }
    
        private void addScopes(Collection<String> scopes) {
            if (scopes != null) {
                for (String scope : scopes) {
                    addScope(scope);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top