Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for ArtifactScopeEnum (1.46 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactScopeEnum.java

     *
     *
     */
    @Deprecated
    public enum ArtifactScopeEnum {
        compile(1),
        test(2),
        runtime(3),
        provided(4),
        system(5),
        runtime_plus_system(6);
    
        public static final ArtifactScopeEnum DEFAULT_SCOPE = compile;
    
        private int id;
    
        // Constructor
        ArtifactScopeEnum(int id) {
            this.id = id;
        }
    
        int getId() {
            return id;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java

        }
    
        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;
        }
    
        public void setScope(String scope) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataTreeNode.java

        // ------------------------------------------------------------------------
        public MetadataTreeNode(ArtifactMetadata md, MetadataTreeNode parent, boolean resolved, ArtifactScopeEnum scope) {
            if (md != null) {
                md.setArtifactScope(ArtifactScopeEnum.checkScope(scope));
                md.setResolved(resolved);
            }
    
            this.md = md;
            this.parent = parent;
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionResult.java

                return conflictResolver.resolveConflicts(getGraph(), ArtifactScopeEnum.compile);
            } else if (requestType.equals(MetadataResolutionRequestTypeEnum.classpathRuntime)) {
                return conflictResolver.resolveConflicts(getGraph(), ArtifactScopeEnum.runtime);
            } else if (requestType.equals(MetadataResolutionRequestTypeEnum.classpathTest)) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java

            graph.addEdge(v1, v3, new MetadataGraphEdge("1.2", true, null, null, 4, 2));
    
            // v3-->v4
            graph.addEdge(v3, v4, new MetadataGraphEdge("1.1", true, ArtifactScopeEnum.runtime, null, 2, 2));
            graph.addEdge(v3, v4, new MetadataGraphEdge("1.2", true, ArtifactScopeEnum.test, null, 2, 2));
        }
    
        // ------------------------------------------------------------------------------------------
        @Test
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathContainer.java

        public ClasspathContainer(ArtifactScopeEnum scope) {
            this.scope = ArtifactScopeEnum.checkScope(scope);
        }
    
        // -------------------------------------------------------------------------------------------
        public ClasspathContainer(List<ArtifactMetadata> classpath, ArtifactScopeEnum scope) {
            this(scope);
            this.classpath = classpath;
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphEdge.java

     */
    package org.apache.maven.repository.metadata;
    
    import org.apache.maven.artifact.ArtifactScopeEnum;
    
    /**
     * metadata graph edge - combination of version, scope and depth define
     * an edge in the graph
     *
     *
     */
    @Deprecated
    public class MetadataGraphEdge {
        String version;
        ArtifactScopeEnum scope;
        int depth = -1;
        int pomOrder = -1;
        boolean resolved = true;
        String artifactUri;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphVertex.java

                        if (v == 0) {
                            if (compareScope) {
                                String s1 = ArtifactScopeEnum.checkScope(md.artifactScope)
                                        .getScope();
                                String s2 = ArtifactScopeEnum.checkScope(vmd.artifactScope)
                                        .getScope();
                                return s1.compareTo(s2);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolverTest.java

            graph.addEdge(v1, v3, new MetadataGraphEdge("1.2", true, null, null, 4, 2));
    
            // v3-->v4
            graph.addEdge(v3, v4, new MetadataGraphEdge("1.1", true, ArtifactScopeEnum.runtime, null, 2, 1));
            graph.addEdge(v3, v4, new MetadataGraphEdge("1.2", true, ArtifactScopeEnum.provided, null, 2, 2));
        }
    
        // ------------------------------------------------------------------------------------------
        @Test
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

            try {
                // edge case - single vertex graph
                if (vertices.size() == 1) {
                    return new MetadataGraph(entry);
                }
    
                final ArtifactScopeEnum requestedScope = ArtifactScopeEnum.checkScope(scope);
    
                MetadataGraph res = new MetadataGraph(vertices.size());
                res.setVersionedVertices(false);
                res.setScopedVertices(false);
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 7.4K bytes
    - Viewed (0)
Back to top