Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 65 for getScopes (0.05 seconds)

  1. 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 Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 05 14:29:21 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

                    return session.requireType(type);
                }
    
                @Nonnull
                @Override
                public DependencyScope getScope() {
                    String scope = dependency.getScope();
                    if (scope == null) {
                        scope = "";
                    }
                    return session.requireDependencyScope(scope);
                }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 24 22:23:23 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  3. 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 Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

        /** {@inheritDoc} */
        @Override
        public void setVersion(String version) {
            artifact.setVersion(version);
        }
    
        /** {@inheritDoc} */
        @Override
        public String getScope() {
            return artifact.getScope();
        }
    
        /** {@inheritDoc} */
        @Override
        public String getType() {
            return artifact.getType();
        }
    
        /** {@inheritDoc} */
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  5. src/main/java/jcifs/netbios/Name.java

        /**
         * @return the name
         */
        @Override
        public String getName() {
            return this.name;
        }
    
        /**
         * @return scope id
         */
        @Override
        public String getScope() {
            return this.scope;
        }
    
        /**
         *
         * @return the name type
         */
        @Override
        public int getNameType() {
            return this.hexCode;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/MavenArtifactMetadata.java

            this.type = type;
        }
    
        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() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  7. 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 Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t11/ProjectInheritanceTest.java

            MavenProject project1 = getProjectWithDependencies(pom1);
    
            assertEquals(pom0Basedir, project1.getParent().getBasedir());
            assertNull(
                    project1.getArtifact().getScope(),
                    "dependencyManagement has overwritten the scope of the currently building child project");
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  9. 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 Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

        String getGroupId();
    
        String getArtifactId();
    
        String getVersion();
    
        void setVersion(String version);
    
        String getScope();
    
        String getType();
    
        String getClassifier();
    
        boolean hasClassifier();
    
        File getFile();
    
        void setFile(File destination);
    
        String getBaseVersion();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
Back to Top