Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for setScope (0.07 sec)

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

            // scoped graph is versioned by definition
            if (scopedVertices) {
                versionedVertices = true;
            }
        }
    
        public ArtifactScopeEnum getScope() {
            return scope;
        }
    
        public void setScope(ArtifactScopeEnum scope) {
            this.scope = scope;
        }
    
        // ------------------------------------------------------------------------
        public boolean isEmpty() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. compat/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
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  3. 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())
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

                    Exclusion exclusion) {
                Dependency d = new Dependency();
                d.setGroupId(groupId);
                d.setArtifactId(artifactId);
                d.setVersion(version);
                d.setScope(scope);
    
                if (systemPath != null && scope.equals(Artifact.SCOPE_SYSTEM)) {
                    d.setSystemPath(systemPath);
                }
    
                if (exclusion != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

            if (dependency == null) {
                return null;
            }
    
            org.apache.maven.artifact.Artifact result = toArtifact(dependency.getArtifact());
            result.setScope(dependency.getScope());
            result.setOptional(dependency.isOptional());
    
            return result;
        }
    
        public static org.apache.maven.artifact.Artifact toArtifact(Artifact artifact) {
            if (artifact == null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

                    Artifact artifact;
                    if (d.getScope().equals(Artifact.SCOPE_TEST) || d.getScope().equals(Artifact.SCOPE_PROVIDED)) {
                        /* don't call createDependencyArtifact as it'll ignore test and provided scopes */
                        artifact = artifactFactory.createArtifact(
                                d.getGroupId(), d.getArtifactId(), d.getVersion(), d.getScope(), d.getType());
                    } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  7. 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,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  8. 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);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. 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)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                    dependency.getArtifactId(),
                    dependency.getVersion(),
                    dependency.getScope(),
                    dependency.getType(),
                    dependency.getClassifier(),
                    new TestArtifactHandler(dependency.getType()));
    
            if (Artifact.SCOPE_SYSTEM.equals(dependency.getScope())) {
                artifact.setFile(new File(dependency.getSystemPath()));
                artifact.setResolved(true);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top