Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 62 for setScope (0.09 sec)

  1. 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;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. 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;
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.7K bytes
    - Viewed (0)
  3. 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;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. 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");
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

            }
    
            DefaultArtifact clone = new DefaultArtifact(
                    artifact.getGroupId(),
                    artifact.getArtifactId(),
                    range,
                    artifact.getScope(),
                    artifact.getType(),
                    artifact.getClassifier(),
                    artifact.getArtifactHandler(),
                    artifact.isOptional());
            clone.setRelease(artifact.isRelease());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                    "no name with type 0x" + Hexdump.toHexString(addr.getNameType(), 2)
                            + ( ( ( addr.getName().getScope() == null ) || ( addr.getName().getScope().isEmpty() ) ) ? " with no scope"
                                    : " with scope " + addr.getName().getScope() )
                            + " for host " + addr.getHostAddress());
            }
        }
    
    
        /**
         * 
         * @param tc
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java

                    });
    
                    for (MetadataGraphEdge e : sortedExits) {
                        MetadataGraphVertex targetNode = e.getTarget();
                        targetNode.getMd().setArtifactScope(e.getScope());
                        targetNode.getMd().setWhy(e.getSource().getMd().toString());
                        visit(targetNode);
                    }
                }
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

                String classifier,
                String extension) {
            super(
                    source.getGroupId(),
                    source.getArtifactId(),
                    source.getVersionRange(),
                    source.getScope(),
                    extension,
                    classifier,
                    new TransformedArtifactHandler(
                            classifier, extension, source.getArtifactHandler().getPackaging()));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

            Map<String, Dependency> index = new HashMap<>();
    
            for (Dependency dependency : dependencies) {
                String key = dependency.getManagementKey();
    
                if ("import".equals(dependency.getScope())) {
                    if (!"pom".equals(dependency.getType())) {
                        addViolation(
                                problems,
                                Severity.WARNING,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  10. 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>
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top