Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getArtifactScope (0.1 sec)

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

        public String getCheckedType() {
            return type == null ? "jar" : type;
        }
    
        public void setType(String type) {
            this.type = type;
        }
    
        public ArtifactScopeEnum getArtifactScope() {
            return artifactScope == null ? ArtifactScopeEnum.DEFAULT_SCOPE : artifactScope;
        }
    
        public void setArtifactScope(ArtifactScopeEnum artifactScope) {
            this.artifactScope = artifactScope;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathContainer.java

            MetadataTreeNode tree = null;
            MetadataTreeNode parent = null;
    
            for (ArtifactMetadata md : classpath) {
                MetadataTreeNode node = new MetadataTreeNode(md, parent, md.isResolved(), md.getArtifactScope());
                if (tree == null) {
                    tree = node;
                }
    
                if (parent != null) {
                    parent.setNChildren(1);
                    parent.addChild(0, node);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            Artifact artifact = getArtifact("c", res.getArtifacts());
            // local wins now, and irrelevant if not local as test/provided aren't transitive
            // assertEquals( Artifact.SCOPE_COMPILE, artifact.getArtifactScope(), "Check artifactScope" );
            assertEquals(Artifact.SCOPE_TEST, artifact.getScope(), "Check artifactScope");
        }
    
        @Test
        void testResolveRuntimeScopeOverTestScope()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphVertex.java

            if (compareVersion) {
                hashString.append(md.version).append('|');
            }
    
            if (compareScope) {
                hashString.append(md.getArtifactScope()).append('|');
            }
    
            return hashString.toString().hashCode();
    
            // BASE64Encoder b64 = new BASE64Encoder();
            // return b64.encode( hashString.toString().getBytes() ).hashCode();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top