Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for getScopes (0.15 sec)

  1. 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);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. istioctl/pkg/admin/istiodconfig.go

    type resetState struct {
    	client *ControlzClient
    }
    
    func (rs *resetState) run(_ io.Writer) error {
    	const (
    		defaultOutputLevel     = "info"
    		defaultStackTraceLevel = "none"
    	)
    	allScopes, err := rs.client.GetScopes()
    	if err != nil {
    		return fmt.Errorf("could not get all scopes: %v", err)
    	}
    	var defaultScopes []*ScopeInfo
    	for _, scope := range allScopes {
    		defaultScopes = append(defaultScopes, &ScopeInfo{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/AbstractScopeArtifactFilter.java

            if (Artifact.SCOPE_COMPILE.equals(artifact.getScope())) {
                return compileScope;
            } else if (Artifact.SCOPE_RUNTIME.equals(artifact.getScope())) {
                return runtimeScope;
            } else if (Artifact.SCOPE_TEST.equals(artifact.getScope())) {
                return testScope;
            } else if (Artifact.SCOPE_PROVIDED.equals(artifact.getScope())) {
                return providedScope;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java

        public void manageArtifactScope(Artifact artifact, Artifact replacement) {
            // only show msg if a change is actually taking place
            if (!replacement.getScope().equals(artifact.getScope())) {
                String msg = indent + artifact + " (applying artifactScope: " + replacement.getScope() + ")";
                logger.debug(msg);
            }
        }
    
        public void manageArtifactSystemPath(Artifact artifact, Artifact replacement) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java

            System.out.println("b = " + artifact.getScope());
            assertEquals("test", artifact.getScope(), "Check scope");
            artifact = getArtifact(project, "maven-test-test", "scope-default");
            assertEquals("test", artifact.getScope(), "Check scope");
            artifact = getArtifact(project, "maven-test-test", "scope-runtime");
            assertEquals("test", artifact.getScope(), "Check scope");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/artifact/factory/DefaultArtifactFactoryTest.java

            assertEquals("system", artifact.getScope());
            assertEquals("system", artifact2.getScope());
            assertEquals("system", artifact3.getScope());
            assertEquals("system", artifact4.getScope());
            assertEquals("system", artifact5.getScope());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. 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)
  8. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t10/ProjectInheritanceTest.java

            System.out.println(a.getScope());
            assertTrue(a.getScope().equals("test"), "Incorrect scope for " + a.getDependencyConflictId());
    
            // transitive dep, overridden b depMgmt
            assertTrue(b.getScope().equals("runtime"), "Incorrect scope for " + b.getDependencyConflictId());
    
            // direct dep, overrides depMgmt
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphEdge.java

                return objectsEqual(version, e.version)
                        && ArtifactScopeEnum.checkScope(scope)
                                .getScope()
                                .equals(ArtifactScopeEnum.checkScope(e.scope).getScope())
                        && depth == e.depth;
            }
            return false;
        }
    
        // ----------------------------------------------------------------------------
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. 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)
Back to top