Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 58 for GetScope (0.07 sec)

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

        /**
         * {@return the time at which the dependency will be used}
         * If 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.
         * Contrarily to {@link DependencyCoordinates}, the obligation of a {@code Dependency} is always present.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphVertex.java

                                String s1 = ArtifactScopeEnum.checkScope(md.artifactScope)
                                        .getScope();
                                String s2 = ArtifactScopeEnum.checkScope(vmd.artifactScope)
                                        .getScope();
                                return s1.compareTo(s2);
                            } else {
                                return 0;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/MavenArtifactMetadata.java

        }
    
        public Object getDatum() {
            return datum;
        }
    
        public void setDatum(Object datum) {
            this.datum = datum;
        }
    
        public String getScope() {
            return scope;
        }
    
        public void setScope(String scope) {
            this.scope = scope;
        }
    
        @Override
        public String toString() {
            return getGroupId() + ":" + getArtifactId() + ":" + getVersion() + ":"
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. 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());
            assertEquals(0, dep1.getExclusions().size());
            Artifact depArtifact = dep1.getArtifact();
            assertEquals("ut.simple", depArtifact.getGroupId());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. 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}
         * If 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 the obligation, or {@code null} if unspecified
         */
        @Nullable
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/DependencyScope.java

     * For a given dependency, the scope is directly derived from the
     * {@link org.apache.maven.api.model.Dependency#getScope()} and will be used when using {@link PathScope}
     * and the {@link org.apache.maven.api.services.DependencyResolver}.
     *
     * @since 4.0.0
     * @see org.apache.maven.api.model.Dependency#getScope()
     * @see org.apache.maven.api.services.DependencyResolver
     */
    @Experimental
    @Immutable
    public enum DependencyScope {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. 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)
  10. 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());
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top